diff --git a/clients/client-accessanalyzer/src/endpoints.ts b/clients/client-accessanalyzer/src/endpoints.ts index 8a7f44a40ddb4..b6df9a040b4f5 100644 --- a/clients/client-accessanalyzer/src/endpoints.ts +++ b/clients/client-accessanalyzer/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "access-analyzer.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "access-analyzer-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "access-analyzer.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "access-analyzer-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-account/src/endpoints.ts b/clients/client-account/src/endpoints.ts index b6aeaa257e7f4..53371d440b753 100644 --- a/clients/client-account/src/endpoints.ts +++ b/clients/client-account/src/endpoints.ts @@ -100,6 +100,10 @@ const partitionHash: PartitionHash = { hostname: "account.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "account-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -110,6 +114,10 @@ const partitionHash: PartitionHash = { hostname: "account.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "account-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-acm-pca/src/endpoints.ts b/clients/client-acm-pca/src/endpoints.ts index 33bfa6eaf6368..01a36730f6fdb 100644 --- a/clients/client-acm-pca/src/endpoints.ts +++ b/clients/client-acm-pca/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "acm-pca.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "acm-pca-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "acm-pca.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "acm-pca-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-acm/src/endpoints.ts b/clients/client-acm/src/endpoints.ts index 410e2de2c4557..2928c2f103c0f 100644 --- a/clients/client-acm/src/endpoints.ts +++ b/clients/client-acm/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "acm.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "acm-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "acm.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "acm-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-alexa-for-business/src/endpoints.ts b/clients/client-alexa-for-business/src/endpoints.ts index f7cf538e5ff8b..ca011526d7916 100644 --- a/clients/client-alexa-for-business/src/endpoints.ts +++ b/clients/client-alexa-for-business/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "a4b.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "a4b-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "a4b.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "a4b-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-amp/src/endpoints.ts b/clients/client-amp/src/endpoints.ts index 0148864ecce6b..b6c2de169c9c0 100644 --- a/clients/client-amp/src/endpoints.ts +++ b/clients/client-amp/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "aps.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "aps-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "aps.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "aps-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-amplify/src/endpoints.ts b/clients/client-amplify/src/endpoints.ts index 1f4ef6d07d586..d5255c75171df 100644 --- a/clients/client-amplify/src/endpoints.ts +++ b/clients/client-amplify/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "amplify.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "amplify-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "amplify.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "amplify-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-amplifybackend/src/endpoints.ts b/clients/client-amplifybackend/src/endpoints.ts index 94d3af5fea34e..87a2fdf8c0d39 100644 --- a/clients/client-amplifybackend/src/endpoints.ts +++ b/clients/client-amplifybackend/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "amplifybackend.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "amplifybackend-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "amplifybackend.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "amplifybackend-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-api-gateway/src/endpoints.ts b/clients/client-api-gateway/src/endpoints.ts index cbb56c1dabbad..b1fd36857c963 100644 --- a/clients/client-api-gateway/src/endpoints.ts +++ b/clients/client-api-gateway/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "apigateway.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "apigateway-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "apigateway.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "apigateway-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-apigatewaymanagementapi/src/endpoints.ts b/clients/client-apigatewaymanagementapi/src/endpoints.ts index 2089a92d373fa..265b2f5826553 100644 --- a/clients/client-apigatewaymanagementapi/src/endpoints.ts +++ b/clients/client-apigatewaymanagementapi/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "execute-api.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "execute-api-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "execute-api.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "execute-api-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-apigatewayv2/src/endpoints.ts b/clients/client-apigatewayv2/src/endpoints.ts index cbb56c1dabbad..b1fd36857c963 100644 --- a/clients/client-apigatewayv2/src/endpoints.ts +++ b/clients/client-apigatewayv2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "apigateway.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "apigateway-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "apigateway.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "apigateway-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-app-mesh/src/endpoints.ts b/clients/client-app-mesh/src/endpoints.ts index 3e95275914af2..9ff019b55eeb4 100644 --- a/clients/client-app-mesh/src/endpoints.ts +++ b/clients/client-app-mesh/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "appmesh.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "appmesh-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "appmesh.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "appmesh-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-appconfig/src/endpoints.ts b/clients/client-appconfig/src/endpoints.ts index 2d665fd5e36cf..6f747c5bce871 100644 --- a/clients/client-appconfig/src/endpoints.ts +++ b/clients/client-appconfig/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "appconfig.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "appconfig-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "appconfig.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "appconfig-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-appflow/src/endpoints.ts b/clients/client-appflow/src/endpoints.ts index cf2246534886d..9304b6a8933fa 100644 --- a/clients/client-appflow/src/endpoints.ts +++ b/clients/client-appflow/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "appflow.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "appflow-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "appflow.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "appflow-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-appintegrations/src/endpoints.ts b/clients/client-appintegrations/src/endpoints.ts index 85773cbd7a345..20a9bbec08039 100644 --- a/clients/client-appintegrations/src/endpoints.ts +++ b/clients/client-appintegrations/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "app-integrations.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "app-integrations-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "app-integrations.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "app-integrations-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-application-auto-scaling/src/endpoints.ts b/clients/client-application-auto-scaling/src/endpoints.ts index 66db4fad79c87..3e6b3de3ed6c1 100644 --- a/clients/client-application-auto-scaling/src/endpoints.ts +++ b/clients/client-application-auto-scaling/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "application-autoscaling.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "application-autoscaling-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "application-autoscaling.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "application-autoscaling-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-application-discovery-service/src/endpoints.ts b/clients/client-application-discovery-service/src/endpoints.ts index 68a66ed019dd8..a16eafe235309 100644 --- a/clients/client-application-discovery-service/src/endpoints.ts +++ b/clients/client-application-discovery-service/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "discovery.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "discovery-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "discovery.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "discovery-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-application-insights/src/endpoints.ts b/clients/client-application-insights/src/endpoints.ts index 8e292d1b3243e..12337f49796d0 100644 --- a/clients/client-application-insights/src/endpoints.ts +++ b/clients/client-application-insights/src/endpoints.ts @@ -97,6 +97,10 @@ const partitionHash: PartitionHash = { hostname: "applicationinsights.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "applicationinsights-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -107,6 +111,10 @@ const partitionHash: PartitionHash = { hostname: "applicationinsights.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "applicationinsights-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-applicationcostprofiler/src/endpoints.ts b/clients/client-applicationcostprofiler/src/endpoints.ts index 2a565f4bfe3b3..e27aeb4486c77 100644 --- a/clients/client-applicationcostprofiler/src/endpoints.ts +++ b/clients/client-applicationcostprofiler/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "application-cost-profiler.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "application-cost-profiler-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "application-cost-profiler.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "application-cost-profiler-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-apprunner/src/endpoints.ts b/clients/client-apprunner/src/endpoints.ts index 74bd24accde71..d3a8dbc4fae90 100644 --- a/clients/client-apprunner/src/endpoints.ts +++ b/clients/client-apprunner/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "apprunner.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "apprunner-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "apprunner.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "apprunner-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-appstream/src/endpoints.ts b/clients/client-appstream/src/endpoints.ts index 66a35e16414a0..bc91b82eac37f 100644 --- a/clients/client-appstream/src/endpoints.ts +++ b/clients/client-appstream/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "appstream2.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "appstream2-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "appstream2.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "appstream2-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-appsync/src/endpoints.ts b/clients/client-appsync/src/endpoints.ts index db2adfa8e1e68..e5b91eadf6ed6 100644 --- a/clients/client-appsync/src/endpoints.ts +++ b/clients/client-appsync/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "appsync.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "appsync-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "appsync.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "appsync-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-athena/src/endpoints.ts b/clients/client-athena/src/endpoints.ts index 49709e3b82246..dd3bbdfd76eaf 100644 --- a/clients/client-athena/src/endpoints.ts +++ b/clients/client-athena/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "athena.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "athena-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "athena.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "athena-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-auditmanager/src/endpoints.ts b/clients/client-auditmanager/src/endpoints.ts index 41a9869905249..559f97315d701 100644 --- a/clients/client-auditmanager/src/endpoints.ts +++ b/clients/client-auditmanager/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "auditmanager.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "auditmanager-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "auditmanager.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "auditmanager-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-auto-scaling-plans/src/endpoints.ts b/clients/client-auto-scaling-plans/src/endpoints.ts index c8b11a3d177dd..0f92883351914 100644 --- a/clients/client-auto-scaling-plans/src/endpoints.ts +++ b/clients/client-auto-scaling-plans/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "autoscaling-plans.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "autoscaling-plans-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "autoscaling-plans.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "autoscaling-plans-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-auto-scaling/src/endpoints.ts b/clients/client-auto-scaling/src/endpoints.ts index 8cfe4234819ac..ae9eb15616637 100644 --- a/clients/client-auto-scaling/src/endpoints.ts +++ b/clients/client-auto-scaling/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "autoscaling.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "autoscaling-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "autoscaling.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "autoscaling-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-backup/src/endpoints.ts b/clients/client-backup/src/endpoints.ts index 9501a09e1bded..5082b4f7d2708 100644 --- a/clients/client-backup/src/endpoints.ts +++ b/clients/client-backup/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "backup.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "backup-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "backup.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "backup-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-backup/src/models/models_0.ts b/clients/client-backup/src/models/models_0.ts index b8329180cde97..fc74ac2ee800f 100644 --- a/clients/client-backup/src/models/models_0.ts +++ b/clients/client-backup/src/models/models_0.ts @@ -661,6 +661,36 @@ export namespace BackupPlanTemplatesListMember { }); } +export interface ConditionParameter { + ConditionKey?: string; + ConditionValue?: string; +} + +export namespace ConditionParameter { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ConditionParameter): any => ({ + ...obj, + }); +} + +export interface Conditions { + StringEquals?: ConditionParameter[]; + StringNotEquals?: ConditionParameter[]; + StringLike?: ConditionParameter[]; + StringNotLike?: ConditionParameter[]; +} + +export namespace Conditions { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Conditions): any => ({ + ...obj, + }); +} + export enum ConditionType { STRINGEQUALS = "STRINGEQUALS", } @@ -727,6 +757,9 @@ export interface BackupSelection { * Assigns the backup plan to every resource with at least one matching tag.

*/ ListOfTags?: Condition[]; + + NotResources?: string[]; + Conditions?: Conditions; } export namespace BackupSelection { diff --git a/clients/client-backup/src/protocols/Aws_restJson1.ts b/clients/client-backup/src/protocols/Aws_restJson1.ts index 10cc4534a7812..15123e4e10c8c 100644 --- a/clients/client-backup/src/protocols/Aws_restJson1.ts +++ b/clients/client-backup/src/protocols/Aws_restJson1.ts @@ -194,6 +194,8 @@ import { BackupVaultListMember, CalculatedLifecycle, Condition, + ConditionParameter, + Conditions, ConflictException, ControlInputParameter, ControlScope, @@ -8465,9 +8467,13 @@ const serializeAws_restJson1BackupRulesInput = (input: BackupRuleInput[], contex const serializeAws_restJson1BackupSelection = (input: BackupSelection, context: __SerdeContext): any => { return { + ...(input.Conditions !== undefined && + input.Conditions !== null && { Conditions: serializeAws_restJson1Conditions(input.Conditions, context) }), ...(input.IamRoleArn !== undefined && input.IamRoleArn !== null && { IamRoleArn: input.IamRoleArn }), ...(input.ListOfTags !== undefined && input.ListOfTags !== null && { ListOfTags: serializeAws_restJson1ListOfTags(input.ListOfTags, context) }), + ...(input.NotResources !== undefined && + input.NotResources !== null && { NotResources: serializeAws_restJson1ResourceArns(input.NotResources, context) }), ...(input.Resources !== undefined && input.Resources !== null && { Resources: serializeAws_restJson1ResourceArns(input.Resources, context) }), ...(input.SelectionName !== undefined && input.SelectionName !== null && { SelectionName: input.SelectionName }), @@ -8508,6 +8514,46 @@ const serializeAws_restJson1Condition = (input: Condition, context: __SerdeConte }; }; +const serializeAws_restJson1ConditionParameter = (input: ConditionParameter, context: __SerdeContext): any => { + return { + ...(input.ConditionKey !== undefined && input.ConditionKey !== null && { ConditionKey: input.ConditionKey }), + ...(input.ConditionValue !== undefined && + input.ConditionValue !== null && { ConditionValue: input.ConditionValue }), + }; +}; + +const serializeAws_restJson1ConditionParameters = (input: ConditionParameter[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1ConditionParameter(entry, context); + }); +}; + +const serializeAws_restJson1Conditions = (input: Conditions, context: __SerdeContext): any => { + return { + ...(input.StringEquals !== undefined && + input.StringEquals !== null && { + StringEquals: serializeAws_restJson1ConditionParameters(input.StringEquals, context), + }), + ...(input.StringLike !== undefined && + input.StringLike !== null && { + StringLike: serializeAws_restJson1ConditionParameters(input.StringLike, context), + }), + ...(input.StringNotEquals !== undefined && + input.StringNotEquals !== null && { + StringNotEquals: serializeAws_restJson1ConditionParameters(input.StringNotEquals, context), + }), + ...(input.StringNotLike !== undefined && + input.StringNotLike !== null && { + StringNotLike: serializeAws_restJson1ConditionParameters(input.StringNotLike, context), + }), + }; +}; + const serializeAws_restJson1ControlInputParameter = (input: ControlInputParameter, context: __SerdeContext): any => { return { ...(input.ParameterName !== undefined && input.ParameterName !== null && { ParameterName: input.ParameterName }), @@ -8961,11 +9007,19 @@ const deserializeAws_restJson1BackupRules = (output: any, context: __SerdeContex const deserializeAws_restJson1BackupSelection = (output: any, context: __SerdeContext): BackupSelection => { return { + Conditions: + output.Conditions !== undefined && output.Conditions !== null + ? deserializeAws_restJson1Conditions(output.Conditions, context) + : undefined, IamRoleArn: __expectString(output.IamRoleArn), ListOfTags: output.ListOfTags !== undefined && output.ListOfTags !== null ? deserializeAws_restJson1ListOfTags(output.ListOfTags, context) : undefined, + NotResources: + output.NotResources !== undefined && output.NotResources !== null + ? deserializeAws_restJson1ResourceArns(output.NotResources, context) + : undefined, Resources: output.Resources !== undefined && output.Resources !== null ? deserializeAws_restJson1ResourceArns(output.Resources, context) @@ -9083,6 +9137,45 @@ const deserializeAws_restJson1Condition = (output: any, context: __SerdeContext) } as any; }; +const deserializeAws_restJson1ConditionParameter = (output: any, context: __SerdeContext): ConditionParameter => { + return { + ConditionKey: __expectString(output.ConditionKey), + ConditionValue: __expectString(output.ConditionValue), + } as any; +}; + +const deserializeAws_restJson1ConditionParameters = (output: any, context: __SerdeContext): ConditionParameter[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ConditionParameter(entry, context); + }); +}; + +const deserializeAws_restJson1Conditions = (output: any, context: __SerdeContext): Conditions => { + return { + StringEquals: + output.StringEquals !== undefined && output.StringEquals !== null + ? deserializeAws_restJson1ConditionParameters(output.StringEquals, context) + : undefined, + StringLike: + output.StringLike !== undefined && output.StringLike !== null + ? deserializeAws_restJson1ConditionParameters(output.StringLike, context) + : undefined, + StringNotEquals: + output.StringNotEquals !== undefined && output.StringNotEquals !== null + ? deserializeAws_restJson1ConditionParameters(output.StringNotEquals, context) + : undefined, + StringNotLike: + output.StringNotLike !== undefined && output.StringNotLike !== null + ? deserializeAws_restJson1ConditionParameters(output.StringNotLike, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1ControlInputParameter = (output: any, context: __SerdeContext): ControlInputParameter => { return { ParameterName: __expectString(output.ParameterName), diff --git a/clients/client-batch/README.md b/clients/client-batch/README.md index bc4fec2b6a657..7597affc7804f 100644 --- a/clients/client-batch/README.md +++ b/clients/client-batch/README.md @@ -9,7 +9,7 @@ AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native. Batch -

Using Batch, you can run batch computing workloads on the Cloud. Batch computing is a common means for +

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of this computing workload to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these @@ -18,7 +18,7 @@ helping you to eliminate capacity constraints, reduce compute costs, and deliver

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus -your time and energy on analyzing results and solving your specific problems.

+your time and energy on analyzing results and solving your specific problems.

## Installing diff --git a/clients/client-batch/src/Batch.ts b/clients/client-batch/src/Batch.ts index f8993f9f76af0..31e2b43015ad4 100644 --- a/clients/client-batch/src/Batch.ts +++ b/clients/client-batch/src/Batch.ts @@ -12,6 +12,11 @@ import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput, } from "./commands/CreateJobQueueCommand"; +import { + CreateSchedulingPolicyCommand, + CreateSchedulingPolicyCommandInput, + CreateSchedulingPolicyCommandOutput, +} from "./commands/CreateSchedulingPolicyCommand"; import { DeleteComputeEnvironmentCommand, DeleteComputeEnvironmentCommandInput, @@ -22,6 +27,11 @@ import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput, } from "./commands/DeleteJobQueueCommand"; +import { + DeleteSchedulingPolicyCommand, + DeleteSchedulingPolicyCommandInput, + DeleteSchedulingPolicyCommandOutput, +} from "./commands/DeleteSchedulingPolicyCommand"; import { DeregisterJobDefinitionCommand, DeregisterJobDefinitionCommandInput, @@ -47,7 +57,17 @@ import { DescribeJobsCommandInput, DescribeJobsCommandOutput, } from "./commands/DescribeJobsCommand"; +import { + DescribeSchedulingPoliciesCommand, + DescribeSchedulingPoliciesCommandInput, + DescribeSchedulingPoliciesCommandOutput, +} from "./commands/DescribeSchedulingPoliciesCommand"; import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; +import { + ListSchedulingPoliciesCommand, + ListSchedulingPoliciesCommandInput, + ListSchedulingPoliciesCommandOutput, +} from "./commands/ListSchedulingPoliciesCommand"; import { ListTagsForResourceCommand, ListTagsForResourceCommandInput, @@ -80,10 +100,15 @@ import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput, } from "./commands/UpdateJobQueueCommand"; +import { + UpdateSchedulingPolicyCommand, + UpdateSchedulingPolicyCommandInput, + UpdateSchedulingPolicyCommandOutput, +} from "./commands/UpdateSchedulingPolicyCommand"; /** * Batch - *

Using Batch, you can run batch computing workloads on the Cloud. Batch computing is a common means for + *

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for * developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of * this computing workload to remove the undifferentiated heavy lifting of configuring and managing required * infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these @@ -92,7 +117,7 @@ import { *

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically * provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific * workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus - * your time and energy on analyzing results and solving your specific problems.

+ * your time and energy on analyzing results and solving your specific problems.

*/ export class Batch extends BatchClient { /** @@ -132,18 +157,18 @@ export class Batch extends BatchClient { * within the environment. This is based on the compute resource specification that you define or the launch template that you * specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot * Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can - * optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a - * specified percentage of the On-Demand price.

+ * optionally set a maximum price so that Spot Instances only launch + * when + * the Spot Instance price is less than a specified percentage of the On-Demand price.

* *

Multi-node parallel jobs aren't supported on Spot Instances.

*
*

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility * with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that - * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance - * AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you - * can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with - * it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS - * container instance in the Amazon Elastic Container Service Developer Guide.

+ * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the + * Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch + * your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the + * Amazon Elastic Container Service Developer Guide.

* *

Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it * doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible @@ -232,6 +257,39 @@ export class Batch extends BatchClient { } } + /** + *

Creates an Batch scheduling + * policy.

+ */ + public createSchedulingPolicy( + args: CreateSchedulingPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createSchedulingPolicy( + args: CreateSchedulingPolicyCommandInput, + cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void + ): void; + public createSchedulingPolicy( + args: CreateSchedulingPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void + ): void; + public createSchedulingPolicy( + args: CreateSchedulingPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSchedulingPolicyCommandOutput) => void), + cb?: (err: any, data?: CreateSchedulingPolicyCommandOutput) => void + ): Promise | void { + const command = new CreateSchedulingPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Deletes an Batch compute environment.

*

Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. Compute environments that use Fargate resources must terminate all @@ -302,6 +360,40 @@ export class Batch extends BatchClient { } } + /** + *

Deletes the specified scheduling + * policy.

+ *

You can't delete a scheduling policy that is used in any job queues.

+ */ + public deleteSchedulingPolicy( + args: DeleteSchedulingPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteSchedulingPolicy( + args: DeleteSchedulingPolicyCommandInput, + cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void + ): void; + public deleteSchedulingPolicy( + args: DeleteSchedulingPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void + ): void; + public deleteSchedulingPolicy( + args: DeleteSchedulingPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSchedulingPolicyCommandOutput) => void), + cb?: (err: any, data?: DeleteSchedulingPolicyCommandOutput) => void + ): Promise | void { + const command = new DeleteSchedulingPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Deregisters an Batch job definition. Job definitions are permanently deleted after 180 days.

*/ @@ -463,6 +555,39 @@ export class Batch extends BatchClient { } } + /** + *

Describes one or more of your scheduling + * policies.

+ */ + public describeSchedulingPolicies( + args: DescribeSchedulingPoliciesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeSchedulingPolicies( + args: DescribeSchedulingPoliciesCommandInput, + cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void + ): void; + public describeSchedulingPolicies( + args: DescribeSchedulingPoliciesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void + ): void; + public describeSchedulingPolicies( + args: DescribeSchedulingPoliciesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void), + cb?: (err: any, data?: DescribeSchedulingPoliciesCommandOutput) => void + ): Promise | void { + const command = new DescribeSchedulingPoliciesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

Returns a list of Batch jobs.

*

You must specify only one of the following items:

@@ -504,8 +629,41 @@ export class Batch extends BatchClient { } /** - *

Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ *

Returns a list of Batch scheduling + * policies.

+ */ + public listSchedulingPolicies( + args: ListSchedulingPoliciesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listSchedulingPolicies( + args: ListSchedulingPoliciesCommandInput, + cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void + ): void; + public listSchedulingPolicies( + args: ListSchedulingPoliciesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void + ): void; + public listSchedulingPolicies( + args: ListSchedulingPoliciesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSchedulingPoliciesCommandOutput) => void), + cb?: (err: any, data?: ListSchedulingPoliciesCommandOutput) => void + ): Promise | void { + const command = new ListSchedulingPoliciesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

*/ public listTagsForResource( args: ListTagsForResourceCommandInput, @@ -571,10 +729,15 @@ export class Batch extends BatchClient { /** *

Submits an Batch job from a job definition. Parameters that are specified during SubmitJob * override parameters defined in the job definition. vCPU and memory requirements that are specified in the - * ResourceRequirements objects in the job definition are the exception. They can't be overridden this way + * resourceRequirements objects in the job definition are the exception. They can't be overridden this way * using the memory and vcpus parameters. Rather, you must specify updates to job definition * parameters in a ResourceRequirements object that's included in the containerOverrides * parameter.

+ * + * + *

Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time.

+ *
+ * * *

Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14 * days, Fargate resources might become unavailable and job might be terminated.

@@ -606,8 +769,8 @@ export class Batch extends BatchClient { /** *

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that - * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

*/ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; @@ -758,4 +921,37 @@ export class Batch extends BatchClient { return this.send(command, optionsOrCb); } } + + /** + *

Updates a scheduling + * policy.

+ */ + public updateSchedulingPolicy( + args: UpdateSchedulingPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateSchedulingPolicy( + args: UpdateSchedulingPolicyCommandInput, + cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void + ): void; + public updateSchedulingPolicy( + args: UpdateSchedulingPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void + ): void; + public updateSchedulingPolicy( + args: UpdateSchedulingPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSchedulingPolicyCommandOutput) => void), + cb?: (err: any, data?: UpdateSchedulingPolicyCommandOutput) => void + ): Promise | void { + const command = new UpdateSchedulingPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } } diff --git a/clients/client-batch/src/BatchClient.ts b/clients/client-batch/src/BatchClient.ts index 840600681ba96..37687f20714c6 100644 --- a/clients/client-batch/src/BatchClient.ts +++ b/clients/client-batch/src/BatchClient.ts @@ -55,11 +55,19 @@ import { CreateComputeEnvironmentCommandOutput, } from "./commands/CreateComputeEnvironmentCommand"; import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "./commands/CreateJobQueueCommand"; +import { + CreateSchedulingPolicyCommandInput, + CreateSchedulingPolicyCommandOutput, +} from "./commands/CreateSchedulingPolicyCommand"; import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, } from "./commands/DeleteComputeEnvironmentCommand"; import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "./commands/DeleteJobQueueCommand"; +import { + DeleteSchedulingPolicyCommandInput, + DeleteSchedulingPolicyCommandOutput, +} from "./commands/DeleteSchedulingPolicyCommand"; import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput, @@ -74,7 +82,15 @@ import { } from "./commands/DescribeJobDefinitionsCommand"; import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "./commands/DescribeJobQueuesCommand"; import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "./commands/DescribeJobsCommand"; +import { + DescribeSchedulingPoliciesCommandInput, + DescribeSchedulingPoliciesCommandOutput, +} from "./commands/DescribeSchedulingPoliciesCommand"; import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; +import { + ListSchedulingPoliciesCommandInput, + ListSchedulingPoliciesCommandOutput, +} from "./commands/ListSchedulingPoliciesCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, @@ -92,20 +108,28 @@ import { UpdateComputeEnvironmentCommandOutput, } from "./commands/UpdateComputeEnvironmentCommand"; import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "./commands/UpdateJobQueueCommand"; +import { + UpdateSchedulingPolicyCommandInput, + UpdateSchedulingPolicyCommandOutput, +} from "./commands/UpdateSchedulingPolicyCommand"; import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; export type ServiceInputTypes = | CancelJobCommandInput | CreateComputeEnvironmentCommandInput | CreateJobQueueCommandInput + | CreateSchedulingPolicyCommandInput | DeleteComputeEnvironmentCommandInput | DeleteJobQueueCommandInput + | DeleteSchedulingPolicyCommandInput | DeregisterJobDefinitionCommandInput | DescribeComputeEnvironmentsCommandInput | DescribeJobDefinitionsCommandInput | DescribeJobQueuesCommandInput | DescribeJobsCommandInput + | DescribeSchedulingPoliciesCommandInput | ListJobsCommandInput + | ListSchedulingPoliciesCommandInput | ListTagsForResourceCommandInput | RegisterJobDefinitionCommandInput | SubmitJobCommandInput @@ -113,20 +137,25 @@ export type ServiceInputTypes = | TerminateJobCommandInput | UntagResourceCommandInput | UpdateComputeEnvironmentCommandInput - | UpdateJobQueueCommandInput; + | UpdateJobQueueCommandInput + | UpdateSchedulingPolicyCommandInput; export type ServiceOutputTypes = | CancelJobCommandOutput | CreateComputeEnvironmentCommandOutput | CreateJobQueueCommandOutput + | CreateSchedulingPolicyCommandOutput | DeleteComputeEnvironmentCommandOutput | DeleteJobQueueCommandOutput + | DeleteSchedulingPolicyCommandOutput | DeregisterJobDefinitionCommandOutput | DescribeComputeEnvironmentsCommandOutput | DescribeJobDefinitionsCommandOutput | DescribeJobQueuesCommandOutput | DescribeJobsCommandOutput + | DescribeSchedulingPoliciesCommandOutput | ListJobsCommandOutput + | ListSchedulingPoliciesCommandOutput | ListTagsForResourceCommandOutput | RegisterJobDefinitionCommandOutput | SubmitJobCommandOutput @@ -134,7 +163,8 @@ export type ServiceOutputTypes = | TerminateJobCommandOutput | UntagResourceCommandOutput | UpdateComputeEnvironmentCommandOutput - | UpdateJobQueueCommandOutput; + | UpdateJobQueueCommandOutput + | UpdateSchedulingPolicyCommandOutput; export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { /** @@ -286,7 +316,7 @@ export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType /** * Batch - *

Using Batch, you can run batch computing workloads on the Cloud. Batch computing is a common means for + *

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for * developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of * this computing workload to remove the undifferentiated heavy lifting of configuring and managing required * infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these @@ -295,7 +325,7 @@ export interface BatchClientResolvedConfig extends BatchClientResolvedConfigType *

As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically * provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific * workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus - * your time and energy on analyzing results and solving your specific problems.

+ * your time and energy on analyzing results and solving your specific problems.

*/ export class BatchClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-batch/src/commands/CreateComputeEnvironmentCommand.ts b/clients/client-batch/src/commands/CreateComputeEnvironmentCommand.ts index 398d677b6b0b3..32957a76fd630 100644 --- a/clients/client-batch/src/commands/CreateComputeEnvironmentCommand.ts +++ b/clients/client-batch/src/commands/CreateComputeEnvironmentCommand.ts @@ -29,18 +29,18 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi * within the environment. This is based on the compute resource specification that you define or the launch template that you * specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot * Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can - * optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a - * specified percentage of the On-Demand price.

+ * optionally set a maximum price so that Spot Instances only launch + * when + * the Spot Instance price is less than a specified percentage of the On-Demand price.

* *

Multi-node parallel jobs aren't supported on Spot Instances.

*
*

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility * with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that - * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance - * AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you - * can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with - * it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS - * container instance in the Amazon Elastic Container Service Developer Guide.

+ * each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the + * Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch + * your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the + * Amazon Elastic Container Service Developer Guide.

* *

Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it * doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible diff --git a/clients/client-batch/src/commands/CreateSchedulingPolicyCommand.ts b/clients/client-batch/src/commands/CreateSchedulingPolicyCommand.ts new file mode 100644 index 0000000000000..30ad6f1502333 --- /dev/null +++ b/clients/client-batch/src/commands/CreateSchedulingPolicyCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient"; +import { CreateSchedulingPolicyRequest, CreateSchedulingPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateSchedulingPolicyCommand, + serializeAws_restJson1CreateSchedulingPolicyCommand, +} from "../protocols/Aws_restJson1"; + +export interface CreateSchedulingPolicyCommandInput extends CreateSchedulingPolicyRequest {} +export interface CreateSchedulingPolicyCommandOutput extends CreateSchedulingPolicyResponse, __MetadataBearer {} + +/** + *

Creates an Batch scheduling + * policy.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { BatchClient, CreateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import + * // const { BatchClient, CreateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import + * const client = new BatchClient(config); + * const command = new CreateSchedulingPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateSchedulingPolicyCommandInput} for command's `input` shape. + * @see {@link CreateSchedulingPolicyCommandOutput} for command's `response` shape. + * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape. + * + */ +export class CreateSchedulingPolicyCommand extends $Command< + CreateSchedulingPolicyCommandInput, + CreateSchedulingPolicyCommandOutput, + BatchClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateSchedulingPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: BatchClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "BatchClient"; + const commandName = "CreateSchedulingPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateSchedulingPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateSchedulingPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateSchedulingPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateSchedulingPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateSchedulingPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-batch/src/commands/DeleteSchedulingPolicyCommand.ts b/clients/client-batch/src/commands/DeleteSchedulingPolicyCommand.ts new file mode 100644 index 0000000000000..cd3171b100f74 --- /dev/null +++ b/clients/client-batch/src/commands/DeleteSchedulingPolicyCommand.ts @@ -0,0 +1,97 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient"; +import { DeleteSchedulingPolicyRequest, DeleteSchedulingPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteSchedulingPolicyCommand, + serializeAws_restJson1DeleteSchedulingPolicyCommand, +} from "../protocols/Aws_restJson1"; + +export interface DeleteSchedulingPolicyCommandInput extends DeleteSchedulingPolicyRequest {} +export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPolicyResponse, __MetadataBearer {} + +/** + *

Deletes the specified scheduling + * policy.

+ *

You can't delete a scheduling policy that is used in any job queues.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { BatchClient, DeleteSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import + * // const { BatchClient, DeleteSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import + * const client = new BatchClient(config); + * const command = new DeleteSchedulingPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteSchedulingPolicyCommandInput} for command's `input` shape. + * @see {@link DeleteSchedulingPolicyCommandOutput} for command's `response` shape. + * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape. + * + */ +export class DeleteSchedulingPolicyCommand extends $Command< + DeleteSchedulingPolicyCommandInput, + DeleteSchedulingPolicyCommandOutput, + BatchClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteSchedulingPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: BatchClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "BatchClient"; + const commandName = "DeleteSchedulingPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteSchedulingPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteSchedulingPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteSchedulingPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteSchedulingPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteSchedulingPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-batch/src/commands/DescribeSchedulingPoliciesCommand.ts b/clients/client-batch/src/commands/DescribeSchedulingPoliciesCommand.ts new file mode 100644 index 0000000000000..512a27cdf671f --- /dev/null +++ b/clients/client-batch/src/commands/DescribeSchedulingPoliciesCommand.ts @@ -0,0 +1,99 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient"; +import { DescribeSchedulingPoliciesRequest, DescribeSchedulingPoliciesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeSchedulingPoliciesCommand, + serializeAws_restJson1DescribeSchedulingPoliciesCommand, +} from "../protocols/Aws_restJson1"; + +export interface DescribeSchedulingPoliciesCommandInput extends DescribeSchedulingPoliciesRequest {} +export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedulingPoliciesResponse, __MetadataBearer {} + +/** + *

Describes one or more of your scheduling + * policies.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { BatchClient, DescribeSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import + * // const { BatchClient, DescribeSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import + * const client = new BatchClient(config); + * const command = new DescribeSchedulingPoliciesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeSchedulingPoliciesCommandInput} for command's `input` shape. + * @see {@link DescribeSchedulingPoliciesCommandOutput} for command's `response` shape. + * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape. + * + */ +export class DescribeSchedulingPoliciesCommand extends $Command< + DescribeSchedulingPoliciesCommandInput, + DescribeSchedulingPoliciesCommandOutput, + BatchClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeSchedulingPoliciesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: BatchClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "BatchClient"; + const commandName = "DescribeSchedulingPoliciesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeSchedulingPoliciesRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeSchedulingPoliciesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeSchedulingPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeSchedulingPoliciesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1DescribeSchedulingPoliciesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-batch/src/commands/ListSchedulingPoliciesCommand.ts b/clients/client-batch/src/commands/ListSchedulingPoliciesCommand.ts new file mode 100644 index 0000000000000..88f5e11165893 --- /dev/null +++ b/clients/client-batch/src/commands/ListSchedulingPoliciesCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient"; +import { ListSchedulingPoliciesRequest, ListSchedulingPoliciesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListSchedulingPoliciesCommand, + serializeAws_restJson1ListSchedulingPoliciesCommand, +} from "../protocols/Aws_restJson1"; + +export interface ListSchedulingPoliciesCommandInput extends ListSchedulingPoliciesRequest {} +export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPoliciesResponse, __MetadataBearer {} + +/** + *

Returns a list of Batch scheduling + * policies.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { BatchClient, ListSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import + * // const { BatchClient, ListSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import + * const client = new BatchClient(config); + * const command = new ListSchedulingPoliciesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListSchedulingPoliciesCommandInput} for command's `input` shape. + * @see {@link ListSchedulingPoliciesCommandOutput} for command's `response` shape. + * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape. + * + */ +export class ListSchedulingPoliciesCommand extends $Command< + ListSchedulingPoliciesCommandInput, + ListSchedulingPoliciesCommandOutput, + BatchClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListSchedulingPoliciesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: BatchClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "BatchClient"; + const commandName = "ListSchedulingPoliciesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListSchedulingPoliciesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListSchedulingPoliciesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListSchedulingPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListSchedulingPoliciesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListSchedulingPoliciesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-batch/src/commands/ListTagsForResourceCommand.ts b/clients/client-batch/src/commands/ListTagsForResourceCommand.ts index fcf941c4135f6..404d77c6a0af1 100644 --- a/clients/client-batch/src/commands/ListTagsForResourceCommand.ts +++ b/clients/client-batch/src/commands/ListTagsForResourceCommand.ts @@ -22,8 +22,8 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} /** - *

Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ *

Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-batch/src/commands/SubmitJobCommand.ts b/clients/client-batch/src/commands/SubmitJobCommand.ts index ae2149e5b81c0..e7c4d636cf76e 100644 --- a/clients/client-batch/src/commands/SubmitJobCommand.ts +++ b/clients/client-batch/src/commands/SubmitJobCommand.ts @@ -24,10 +24,15 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea /** *

Submits an Batch job from a job definition. Parameters that are specified during SubmitJob * override parameters defined in the job definition. vCPU and memory requirements that are specified in the - * ResourceRequirements objects in the job definition are the exception. They can't be overridden this way + * resourceRequirements objects in the job definition are the exception. They can't be overridden this way * using the memory and vcpus parameters. Rather, you must specify updates to job definition * parameters in a ResourceRequirements object that's included in the containerOverrides * parameter.

+ * + * + *

Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time.

+ *
+ * * *

Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14 * days, Fargate resources might become unavailable and job might be terminated.

diff --git a/clients/client-batch/src/commands/TagResourceCommand.ts b/clients/client-batch/src/commands/TagResourceCommand.ts index 9ae0d956aa7d9..93c9f6f69be0f 100644 --- a/clients/client-batch/src/commands/TagResourceCommand.ts +++ b/clients/client-batch/src/commands/TagResourceCommand.ts @@ -24,8 +24,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat /** *

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a * resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that - * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ * are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-batch/src/commands/UpdateSchedulingPolicyCommand.ts b/clients/client-batch/src/commands/UpdateSchedulingPolicyCommand.ts new file mode 100644 index 0000000000000..48e0054ed5836 --- /dev/null +++ b/clients/client-batch/src/commands/UpdateSchedulingPolicyCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { BatchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BatchClient"; +import { UpdateSchedulingPolicyRequest, UpdateSchedulingPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateSchedulingPolicyCommand, + serializeAws_restJson1UpdateSchedulingPolicyCommand, +} from "../protocols/Aws_restJson1"; + +export interface UpdateSchedulingPolicyCommandInput extends UpdateSchedulingPolicyRequest {} +export interface UpdateSchedulingPolicyCommandOutput extends UpdateSchedulingPolicyResponse, __MetadataBearer {} + +/** + *

Updates a scheduling + * policy.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { BatchClient, UpdateSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import + * // const { BatchClient, UpdateSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import + * const client = new BatchClient(config); + * const command = new UpdateSchedulingPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateSchedulingPolicyCommandInput} for command's `input` shape. + * @see {@link UpdateSchedulingPolicyCommandOutput} for command's `response` shape. + * @see {@link BatchClientResolvedConfig | config} for BatchClient's `config` shape. + * + */ +export class UpdateSchedulingPolicyCommand extends $Command< + UpdateSchedulingPolicyCommandInput, + UpdateSchedulingPolicyCommandOutput, + BatchClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateSchedulingPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: BatchClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "BatchClient"; + const commandName = "UpdateSchedulingPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateSchedulingPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateSchedulingPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateSchedulingPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateSchedulingPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateSchedulingPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-batch/src/commands/index.ts b/clients/client-batch/src/commands/index.ts index d12b9fbcd2fe6..926a70e98528b 100644 --- a/clients/client-batch/src/commands/index.ts +++ b/clients/client-batch/src/commands/index.ts @@ -1,14 +1,18 @@ export * from "./CancelJobCommand"; export * from "./CreateComputeEnvironmentCommand"; export * from "./CreateJobQueueCommand"; +export * from "./CreateSchedulingPolicyCommand"; export * from "./DeleteComputeEnvironmentCommand"; export * from "./DeleteJobQueueCommand"; +export * from "./DeleteSchedulingPolicyCommand"; export * from "./DeregisterJobDefinitionCommand"; export * from "./DescribeComputeEnvironmentsCommand"; export * from "./DescribeJobDefinitionsCommand"; export * from "./DescribeJobQueuesCommand"; export * from "./DescribeJobsCommand"; +export * from "./DescribeSchedulingPoliciesCommand"; export * from "./ListJobsCommand"; +export * from "./ListSchedulingPoliciesCommand"; export * from "./ListTagsForResourceCommand"; export * from "./RegisterJobDefinitionCommand"; export * from "./SubmitJobCommand"; @@ -17,3 +21,4 @@ export * from "./TerminateJobCommand"; export * from "./UntagResourceCommand"; export * from "./UpdateComputeEnvironmentCommand"; export * from "./UpdateJobQueueCommand"; +export * from "./UpdateSchedulingPolicyCommand"; diff --git a/clients/client-batch/src/endpoints.ts b/clients/client-batch/src/endpoints.ts index a6e61ea6b3852..116ae40016612 100644 --- a/clients/client-batch/src/endpoints.ts +++ b/clients/client-batch/src/endpoints.ts @@ -147,6 +147,10 @@ const partitionHash: PartitionHash = { hostname: "batch.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "batch-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -157,6 +161,10 @@ const partitionHash: PartitionHash = { hostname: "batch.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "batch-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-batch/src/models/models_0.ts b/clients/client-batch/src/models/models_0.ts index 653fd2fa647ad..db5097500c1f1 100644 --- a/clients/client-batch/src/models/models_0.ts +++ b/clients/client-batch/src/models/models_0.ts @@ -280,10 +280,7 @@ export enum CRAllocationStrategy { /** *

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If - * Ec2Configuration isn't specified, the default is currently ECS_AL1 (Amazon Linux) for - * non-GPU, non AWSGraviton instances. Starting on March 31, 2021, this default will be changing to ECS_AL2 - * (Amazon Linux - * 2).

+ * Ec2Configuration isn't specified, the default is ECS_AL2 (Amazon Linux 2).

* *

This object isn't applicable to jobs that are running on Fargate resources.

*
@@ -291,15 +288,14 @@ export enum CRAllocationStrategy { export interface Ec2Configuration { /** *

The image type to match with the instance type to select an AMI. If the imageIdOverride parameter - * isn't specified, then a recent Amazon ECS-optimized AMI (ECS_AL1) is - * used. Starting on March 31, 2021, this default will be changing to ECS_AL2 (Amazon Linux 2).

+ * isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI + * (ECS_AL2) is used.

*
*
ECS_AL2
*
*

* Amazon Linux - * 2− Default for all Amazon Web Services Graviton-based instance families (for example, C6g, - * M6g, R6g, and T4g) and can be used for all non-GPU instance types.

+ * 2− Default for all non-GPU instance families.

*
*
ECS_AL2_NVIDIA
*
@@ -311,10 +307,8 @@ export interface Ec2Configuration { *
ECS_AL1
*
*

- * Amazon - * Linux−Default for all non-GPU, non Amazon Web Services Graviton instance families. Amazon Linux is reaching the - * end-of-life of standard support. For more information, see Amazon - * Linux AMI.

+ * Amazon Linux. + * Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.

*
*
*/ @@ -562,10 +556,10 @@ export interface ComputeResource { /** *

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch, * these take the form of "String1": "String2", where String1 is the tag key and String2 is the tag value−for - * example, { "Name": "Batch Instance - C4OnDemand" }. This is helpful for recognizing your Batch instances in the - * Amazon EC2 console. These tags can't be updated or removed after the compute environment is created.Aany changes to these - * tags require that you create a new compute environment and remove the old compute environment. These tags aren't seen - * when using the Batch ListTagsForResource API operation.

+ * example, { "Name": "Batch Instance - C4OnDemand" }. This is helpful for recognizing your Batch + * instances in the Amazon EC2 console. These tags can't be updated or removed after the compute environment is created. Any + * changes to these tags require that you create a new compute environment and remove the old compute environment. These + * tags aren't seen when using the Batch ListTagsForResource API operation.

* *

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be * specified.

@@ -631,7 +625,10 @@ export interface ComputeResource { /** *

Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment. - * If Ec2Configuration isn't specified, the default is ECS_AL1.

+ * If Ec2Configuration isn't specified, the default is ECS_AL2.

+ * + *

One or two values can be provided.

+ * * *

This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be * specified.

@@ -689,6 +686,18 @@ export interface CreateComputeEnvironmentRequest { */ state?: CEState | string; + /** + *

The maximum number of vCPUs for an + * unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new + * share identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity will be + * reserved.

+ * + * + *

This parameter is only supported when the type parameter is set to UNMANAGED/

+ *
+ */ + unmanagedvCpus?: number; + /** *

Details about the compute resources managed by the compute environment. This parameter is required for managed * compute environments. For more information, see Compute Environments in the Batch User Guide.

@@ -721,7 +730,7 @@ export interface CreateComputeEnvironmentRequest { /** *

The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag * consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General - * Reference.

+ * Reference.

*

These tags can be updated or removed using the TagResource and UntagResource API operations. These tags don't * propagate to the underlying compute resources.

*/ @@ -816,6 +825,18 @@ export interface CreateJobQueueRequest { */ state?: JQState | string; + /** + *

Amazon Resource Name (ARN) of the fair share scheduling + * policy. If this parameter is specified, the job queue will use a fair share scheduling policy. If this parameter is + * not specified, the job queue will use a first in, first out (FIFO) scheduling policy. Once a job queue is created, + * the fair share scheduling policy can be replaced but not removed. The format is + * aws:Partition:batch:Region:Account:scheduling-policy/Name + * . + * For example, + * aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

+ */ + schedulingPolicyArn?: string; + /** *

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the * priority parameter) are evaluated first when associated with the same compute environment. Priority is @@ -877,6 +898,151 @@ export namespace CreateJobQueueResponse { }); } +/** + *

Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that are + * not included have a default weight of 1.0.

+ */ +export interface ShareAttributes { + /** + *

A fair share identifier or fair share identifier prefix. If the string ends with '*' then this entry specifies + * the weight factor to use for fair share identifiers that begin with that prefix. The list of fair share identifiers + * in a fair share policy cannot overlap. For example you cannot have one that specifies a shareIdentifier + * of UserA* and another that specifies a shareIdentifier of UserA-1.

+ *

There can be no more than 500 fair share identifiers active in a job queue.

+ *

The string is limited to 255 alphanumeric characters, optionally followed by '*'.

+ */ + shareIdentifier: string | undefined; + + /** + *

The weight factor for the fair share + * identifier. The default value is 1.0. A lower value has a higher priority for compute resources. For example, jobs + * using a share identifier with a weight factor of 0.125 (1/8) will get 8 times the compute resources of jobs using a + * share identifier with a weight factor of 1.

+ *

The smallest supported value is 0.0001 and the largest supported value is 999.9999.

+ */ + weightFactor?: number; +} + +export namespace ShareAttributes { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ShareAttributes): any => ({ + ...obj, + }); +} + +/** + *

The fair share policy for a scheduling + * policy.

+ */ +export interface FairsharePolicy { + /** + *

The time period to use to calculate a + * fair share percentage for each fair share identifier in use, in seconds. A value of zero (0) indicates that only + * current usage should be measured; if there are four evenly weighted fair share identifiers then each can only use up + * to 25% of the available CPU resources, even if some of the fair share identifiers have no currently running jobs. The + * decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value + * is 604800 (1 week).

+ */ + shareDecaySeconds?: number; + + /** + *

A value used to reserve some of the + * available maximum vCPU for fair share identifiers that have not yet been used.

+ *

The reserved ratio is + * (computeReservation/100)^ActiveFairShares + * where + * + * ActiveFairShares + * is the number of active fair share identifiers.

+ *

For example, a computeReservation value of 50 indicates that Batch should reserve 50% of the + * maximum available vCPU if there is only one fair share identifier, 25% if there are two fair share identifiers, and + * 12.5% if there are three fair share identifiers. A computeReservation value of 25 indicates that Batch + * should reserve 25% of the maximum available vCPU if there is only one fair share identifier, 6.25% if there are two + * fair share identifiers, and 1.56% if there are three fair share identifiers.

+ * + *

The minimum value is 0 and the maximum value is 99.

+ */ + computeReservation?: number; + + /** + *

Array of SharedIdentifier + * objects that contain the weights for the fair + * share identifiers for the fair share policy. + * Fair share identifiers that + * are not included have a default weight of 1.0.

+ */ + shareDistribution?: ShareAttributes[]; +} + +export namespace FairsharePolicy { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FairsharePolicy): any => ({ + ...obj, + }); +} + +export interface CreateSchedulingPolicyRequest { + /** + *

The name of the scheduling + * policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

+ */ + name: string | undefined; + + /** + *

The fair share policy of the scheduling + * policy.

+ */ + fairsharePolicy?: FairsharePolicy; + + /** + *

The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag + * consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General + * Reference.

+ *

These tags can be updated or removed using the TagResource and UntagResource API operations.

+ */ + tags?: { [key: string]: string }; +} + +export namespace CreateSchedulingPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateSchedulingPolicyRequest): any => ({ + ...obj, + }); +} + +export interface CreateSchedulingPolicyResponse { + /** + *

The name of the scheduling + * policy.

+ */ + name: string | undefined; + + /** + *

The Amazon Resource Name (ARN) of the scheduling policy. + * The format is + * aws:Partition:batch:Region:Account:scheduling-policy/Name + * . + * For example, + * aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

+ */ + arn: string | undefined; +} + +export namespace CreateSchedulingPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateSchedulingPolicyResponse): any => ({ + ...obj, + }); +} + /** *

Contains the parameters for DeleteComputeEnvironment.

*/ @@ -937,6 +1103,34 @@ export namespace DeleteJobQueueResponse { }); } +export interface DeleteSchedulingPolicyRequest { + /** + *

The Amazon Resource Name (ARN) of the scheduling policy to + * delete.

+ */ + arn: string | undefined; +} + +export namespace DeleteSchedulingPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteSchedulingPolicyRequest): any => ({ + ...obj, + }); +} + +export interface DeleteSchedulingPolicyResponse {} + +export namespace DeleteSchedulingPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteSchedulingPolicyResponse): any => ({ + ...obj, + }); +} + export interface DeregisterJobDefinitionRequest { /** *

The name and revision (name:revision) or full Amazon Resource Name (ARN) of the job definition to deregister.

@@ -1030,6 +1224,11 @@ export interface ComputeEnvironmentDetail { */ computeEnvironmentArn: string | undefined; + /** + *

The maximum number of VCPUs expected to be used for an unmanaged compute environment.

+ */ + unmanagedvCpus?: number; + /** *

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.

*/ @@ -1101,8 +1300,8 @@ export interface DescribeComputeEnvironmentsResponse { /** *

The nextToken value to include in a future DescribeComputeEnvironments request. When - * the results of a DescribeJobDefinitions request exceed maxResults, this value can be used - * to retrieve the next page of results. This value is null when there are no more results to + * the results of a DescribeComputeEnvironments request exceed maxResults, this value can be + * used to retrieve the next page of results. This value is null when there are no more results to * return.

*/ nextToken?: string; @@ -1701,8 +1900,9 @@ export interface ResourceRequirement { * resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be * specified for each node at least once.

*

For jobs that are running on Fargate resources, then value must match one of the supported - * values and the MEMORY values must be one of the values supported for that VCPU value. The supported - * values are 0.25, 0.5, 1, 2, and 4

+ * values and the MEMORY values must be one of the values supported for that + * VCPU + * value. The supported values are 0.25, 0.5, 1, 2, and 4

*
*
value = 0.25
*
@@ -1804,9 +2004,9 @@ export interface EFSAuthorizationConfig { /** *

Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. - * If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this - * parameter is omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS Access Points in - * the Batch User Guide. EFS IAM authorization requires that TransitEncryption be + * If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this parameter is + * omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS Access Points in the + * Batch User Guide. EFS IAM authorization requires that TransitEncryption be * ENABLED and that a JobRoleArn is specified.

*/ iam?: EFSAuthorizationConfigIAM | string; @@ -1987,38 +2187,26 @@ export interface ContainerProperties { /** * @deprecated * - *

The number of vCPUs reserved for the job. Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to - * CpuShares in the Create a container section of the Docker Remote API and the - * --cpu-shares option to docker run. The number of vCPUs must - * be specified but can be specified in several places. You must specify it at least once for each node.

- *

This parameter is supported on EC2 resources but isn't supported for jobs that run on Fargate resources. For - * these resources, use resourceRequirement instead. You can use this parameter or - * resourceRequirements structure but not both.

- * - *

This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. For - * jobs that run on Fargate resources, you must specify the vCPU requirement for the job using - * resourceRequirements.

- *
+ *

This parameter is deprecated, use resourceRequirements to specify the vCPU requirements for the job + * definition. It's not supported for jobs that run on Fargate resources. For jobs run on EC2 resources, it specifies + * the number of vCPUs reserved for the job.

+ * + *

Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to CpuShares in the + * Create a container section of the Docker Remote API and the --cpu-shares option to + * docker run. The number of vCPUs must be specified but can be specified + * in several places. You must specify it at least once for each node.

*/ vcpus?: number; /** * @deprecated * - *

This parameter indicates the memory hard limit (in MiB) for a container. If your container attempts to exceed - * the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The - * memory hard limit can be specified in several places. It must be specified for each node at least once.

- *

This parameter maps to Memory in the Create a container section of the - * Docker Remote API and the --memory option to docker - * run.

- *

This parameter is supported on EC2 resources but isn't supported on Fargate resources. For Fargate - * resources, you should specify the memory requirement using resourceRequirement. You can also do this for - * EC2 resources.

- * - *

If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a - * particular instance type, see Memory - * Management in the Batch User Guide.

- *
+ *

This parameter is deprecated, use + * resourceRequirements to specify the memory requirements for the job definition. It's not supported for + * jobs that run on Fargate resources. For jobs run on EC2 resources, it specifies the memory hard + * limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must + * specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several + * places. It must be specified for each node at least once.

*/ memory?: number; @@ -2254,8 +2442,11 @@ export interface EvaluateOnExit { /** *

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up * to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including - * spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact - * match.

+ * spaces or tabs). + * It can optionally end with an + * asterisk (*) so that only the start of the string needs to be an exact match.

+ * + *

The string can be between 1 and 512 characters in length.

*/ onStatusReason?: string; @@ -2264,6 +2455,8 @@ export interface EvaluateOnExit { * 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces * and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact * match.

+ * + *

The string can be between 1 and 512 characters in length.

*/ onReason?: string; @@ -2271,6 +2464,8 @@ export interface EvaluateOnExit { *

Contains a glob pattern to match against the decimal representation of the ExitCode returned for a * job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an * asterisk (*) so that only the start of the string needs to be an exact match.

+ * + *

The string can be between 1 and 512 characters in length.

*/ onExitCode?: string; @@ -2362,12 +2557,20 @@ export interface JobDefinition { status?: string; /** - *

The type of job definition. If the job is run on Fargate resources, then multinode isn't - * supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the - * Batch User Guide.

+ *

The type of job definition, either + * container or multinode. If the job is run on Fargate resources, then + * multinode isn't supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition + * in the Batch User Guide.

*/ type: string | undefined; + /** + *

The scheduling priority of the job + * definition. This will only affect jobs in job queues with a fair share policy. Jobs with a higher scheduling priority + * will be scheduled before jobs with a lower scheduling priority.

+ */ + schedulingPriority?: number; + /** *

Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are * specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding @@ -2524,6 +2727,15 @@ export interface JobQueueDetail { */ state: JQState | string | undefined; + /** + *

Amazon Resource Name (ARN) of the scheduling policy. The format is + * aws:Partition:batch:Region:Account:scheduling-policy/Name + * . + * For example, + * aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

+ */ + schedulingPolicyArn?: string; + /** *

The status of the job queue (for example, CREATING or VALID).

*/ @@ -2620,7 +2832,7 @@ export interface ContainerDetail { /** *

The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU * requirement for the job using resourceRequirements, but you can't specify the vCPU requirements in both - * the vcpus and resourceRequirement object. This parameter maps to CpuShares in + * the vcpus and resourceRequirements object. This parameter maps to CpuShares in * the Create a container section of the Docker Remote API and the --cpu-shares option to * docker run. Each vCPU is equivalent to 1,024 CPU shares. You must * specify at least one vCPU. This is required but can be specified in several places. It must be specified for each @@ -2633,7 +2845,7 @@ export interface ContainerDetail { vcpus?: number; /** - *

For jobs run on EC2 resources that didn't specify memory requirements using ResourceRequirement, + *

For jobs run on EC2 resources that didn't specify memory requirements using resourceRequirements, * the number of MiB of memory reserved for the job. For other jobs, including all run on Fargate resources, see * resourceRequirements.

*/ @@ -2650,7 +2862,9 @@ export interface ContainerDetail { jobRoleArn?: string; /** - *

The Amazon Resource Name (ARN) of the execution role that Batch can assume. For more information, see Batch execution IAM role in the + *

The Amazon Resource Name (ARN) of the + * execution + * role that Batch can assume. For more information, see Batch execution IAM role in the * Batch User Guide.

*/ executionRoleArn?: string; @@ -2908,6 +3122,17 @@ export interface JobDetail { */ status: JobStatus | string | undefined; + /** + *

The share identifier for the job.

+ */ + shareIdentifier?: string; + + /** + *

The scheduling policy of the job definition. This will only affect jobs in job queues with a fair share policy. + * Jobs with a higher scheduling priority will be scheduled before jobs with a lower scheduling priority.

+ */ + schedulingPriority?: number; + /** *

A list of job attempts associated with this job.

*/ @@ -3033,6 +3258,82 @@ export namespace DescribeJobsResponse { }); } +export interface DescribeSchedulingPoliciesRequest { + /** + *

A list of up to 100 scheduling policy + * Amazon Resource Name (ARN) entries.

+ */ + arns: string[] | undefined; +} + +export namespace DescribeSchedulingPoliciesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSchedulingPoliciesRequest): any => ({ + ...obj, + }); +} + +/** + *

An object representing a scheduling + * policy.

+ */ +export interface SchedulingPolicyDetail { + /** + *

The name of the scheduling + * policy.

+ */ + name: string | undefined; + + /** + *

Amazon Resource Name (ARN) of the scheduling policy. An example would be + * arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority + * + *

+ */ + arn: string | undefined; + + /** + *

The fair share policy for the scheduling + * policy.

+ */ + fairsharePolicy?: FairsharePolicy; + + /** + *

The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag + * consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General + * Reference.

+ */ + tags?: { [key: string]: string }; +} + +export namespace SchedulingPolicyDetail { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SchedulingPolicyDetail): any => ({ + ...obj, + }); +} + +export interface DescribeSchedulingPoliciesResponse { + /** + *

The list of scheduling + * policies.

+ */ + schedulingPolicies?: SchedulingPolicyDetail[]; +} + +export namespace DescribeSchedulingPoliciesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSchedulingPoliciesResponse): any => ({ + ...obj, + }); +} + /** *

A filter name and value pair that's used to return a more specific list of results from a ListJobs * API operation.

@@ -3319,10 +3620,88 @@ export namespace ListJobsResponse { }); } +export interface ListSchedulingPoliciesRequest { + /** + *

The maximum number of results returned by ListSchedulingPolicies in paginated output. When this + * parameter is used, ListSchedulingPolicies only returns maxResults results in a single page + * and a nextToken response element. The remaining results of the initial request can be seen by sending + * another ListSchedulingPolicies request with the returned nextToken value. This value can be + * between 1 and 100. If this parameter isn't used, then + * ListSchedulingPolicies returns up to 100 results and a nextToken value + * if applicable.

+ */ + maxResults?: number; + + /** + *

The nextToken value returned from a previous paginated ListSchedulingPolicies request + * where maxResults was used and the results exceeded the value of that parameter. Pagination continues + * from the end of the previous results that returned the nextToken value. This value is null + * when there are no more results to return.

+ * + *

This token should be treated as an opaque identifier that's only used to + * retrieve the next items in a list and not for other programmatic purposes.

+ *
+ */ + nextToken?: string; +} + +export namespace ListSchedulingPoliciesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListSchedulingPoliciesRequest): any => ({ + ...obj, + }); +} + +/** + *

An object containing the details of a scheduling policy returned in a ListSchedulingPolicy + * action.

+ */ +export interface SchedulingPolicyListingDetail { + /** + *

Amazon Resource Name (ARN) of the scheduling policy.

+ */ + arn: string | undefined; +} + +export namespace SchedulingPolicyListingDetail { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SchedulingPolicyListingDetail): any => ({ + ...obj, + }); +} + +export interface ListSchedulingPoliciesResponse { + /** + *

A list of scheduling policies that match + * the request.

+ */ + schedulingPolicies?: SchedulingPolicyListingDetail[]; + + /** + *

The nextToken value to include in a future ListSchedulingPolicies request. When the + * results of a ListSchedulingPolicies request exceed maxResults, this value can be used to + * retrieve the next page of results. This value is null when there are no more results to return.

+ */ + nextToken?: string; +} + +export namespace ListSchedulingPoliciesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListSchedulingPoliciesResponse): any => ({ + ...obj, + }); +} + export interface ListTagsForResourceRequest { /** - *

The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ *

The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

*/ resourceArn: string | undefined; } @@ -3383,6 +3762,15 @@ export interface RegisterJobDefinitionRequest { */ parameters?: { [key: string]: string }; + /** + *

The scheduling priority for jobs that are + * submitted with this job definition. This will only affect jobs in job queues with a fair share policy. Jobs with a + * higher scheduling priority will be scheduled before jobs with a lower scheduling priority.

+ * + *

The minimum supported value is 0 and the maximum supported value is 9999.

+ */ + schedulingPriority?: number; + /** *

An object with various properties specific to single-node container-based jobs. If the job definition's * type parameter is container, then you must specify either containerProperties @@ -3485,34 +3873,32 @@ export interface ContainerOverrides { /** * @deprecated * - *

This parameter indicates the number of vCPUs reserved for the container.It overrides the vcpus - * parameter that's set in the job definition, but doesn't override any vCPU requirement specified in the - * resourceRequirement structure in the job definition. To override vCPU requirements that are specified - * in the ResourceRequirement structure in the job definition, ResourceRequirement must be + *

This parameter is deprecated, use + * resourceRequirements to override the vcpus parameter that's set in the + * job definition. It's not supported for jobs + * that run on Fargate resources. For jobs run on EC2 resources, it overrides the vcpus parameter set in + * the job definition, but doesn't override any vCPU requirement specified in the + * resourceRequirements structure in the job definition. To override vCPU requirements that are specified + * in the resourceRequirements structure in the job definition, resourceRequirements must be * specified in the SubmitJob request, with type set to VCPU and - * value set to the new value.

- *

This parameter maps to CpuShares in the Create a container section of the - * Docker Remote API and the --cpu-shares option to docker run. - * Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.

- * - *

This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on - * Fargate resources. For Fargate resources, you can only use resourceRequirement. For EC2 resources, - * you can use either this parameter or resourceRequirement but not both.

- *
+ * value set to the new value. For + * more information, see Can't override job definition + * resource requirements in the Batch User Guide.

*/ vcpus?: number; /** * @deprecated * - *

This parameter indicates the amount of memory (in MiB) that's reserved for the job. It overrides the + *

This parameter is deprecated, use + * resourceRequirements to override the memory requirements specified in the job definition. It's not + * supported for jobs that run on Fargate resources. For jobs run on EC2 resources, it overrides the * memory parameter set in the job definition, but doesn't override any memory requirement specified in - * the ResourceRequirement structure in the job definition. To override memory requirements that are - * specified in the ResourceRequirement structure in the job definition, ResourceRequirement + * the resourceRequirements structure in the job definition. To override memory requirements that are + * specified in the resourceRequirements structure in the job definition, resourceRequirements * must be specified in the SubmitJob request, with type set to MEMORY and - * value set to the new value.

- *

This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on Fargate - * resources. For these resources, use resourceRequirement instead.

+ * value set to the new value. For more information, see Can't override job definition + * resource requirements in the Batch User Guide.

*/ memory?: number; @@ -3645,6 +4031,22 @@ export interface SubmitJobRequest { */ jobQueue: string | undefined; + /** + *

The share identifier for the + * job.

+ */ + shareIdentifier?: string; + + /** + *

The scheduling priority for the job. This + * will only affect jobs in job queues with a fair share policy. Jobs with a higher scheduling priority will be + * scheduled before jobs with a lower scheduling priority. This will override any scheduling priority in the job + * definition.

+ * + *

The minimum supported value is 0 and the maximum supported value is 9999.

+ */ + schedulingPriorityOverride?: number; + /** *

The array properties for the submitted job, such as the size of the array. The array size can be between 2 and * 10,000. If you specify array properties for a job, it becomes an array job. For more information, see Array Jobs in the @@ -3722,7 +4124,7 @@ export interface SubmitJobRequest { /** *

The tags that you apply to the job request to help you categorize and organize your resources. Each tag consists * of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General - * Reference.

+ * Reference.

*/ tags?: { [key: string]: string }; } @@ -3764,15 +4166,15 @@ export namespace SubmitJobResponse { export interface TagResourceRequest { /** - *

The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ *

The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

*/ resourceArn: string | undefined; /** *

The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of * a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General - * Reference.

+ * Reference.

*/ tags: { [key: string]: string } | undefined; } @@ -3836,8 +4238,8 @@ export namespace TerminateJobResponse { export interface UntagResourceRequest { /** - *

The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, and job - * queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

+ *

The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues, + * and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

*/ resourceArn: string | undefined; @@ -3950,6 +4352,15 @@ export interface UpdateComputeEnvironmentRequest { */ state?: CEState | string; + /** + *

The maximum number of vCPUs expected to + * be used for an unmanaged compute environment. This parameter should not be specified for a managed compute + * environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share + * identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity will be + * reserved.

+ */ + unmanagedvCpus?: number; + /** *

Details of the compute resources managed by the compute environment. Required for a managed compute environment. * For more information, see Compute @@ -4025,6 +4436,16 @@ export interface UpdateJobQueueRequest { */ state?: JQState | string; + /** + *

Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can + * be replaced but not removed. The format is + * aws:Partition:batch:Region:Account:scheduling-policy/Name + * . + * For example, + * aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

+ */ + schedulingPolicyArn?: string; + /** *

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the * priority parameter) are evaluated first when associated with the same compute environment. Priority is @@ -4078,3 +4499,36 @@ export namespace UpdateJobQueueResponse { ...obj, }); } + +export interface UpdateSchedulingPolicyRequest { + /** + *

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

+ */ + arn: string | undefined; + + /** + *

The fair share + * policy.

+ */ + fairsharePolicy?: FairsharePolicy; +} + +export namespace UpdateSchedulingPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateSchedulingPolicyRequest): any => ({ + ...obj, + }); +} + +export interface UpdateSchedulingPolicyResponse {} + +export namespace UpdateSchedulingPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateSchedulingPolicyResponse): any => ({ + ...obj, + }); +} diff --git a/clients/client-batch/src/pagination/ListSchedulingPoliciesPaginator.ts b/clients/client-batch/src/pagination/ListSchedulingPoliciesPaginator.ts new file mode 100644 index 0000000000000..add610cc7a968 --- /dev/null +++ b/clients/client-batch/src/pagination/ListSchedulingPoliciesPaginator.ts @@ -0,0 +1,59 @@ +import { Paginator } from "@aws-sdk/types"; + +import { Batch } from "../Batch"; +import { BatchClient } from "../BatchClient"; +import { + ListSchedulingPoliciesCommand, + ListSchedulingPoliciesCommandInput, + ListSchedulingPoliciesCommandOutput, +} from "../commands/ListSchedulingPoliciesCommand"; +import { BatchPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: BatchClient, + input: ListSchedulingPoliciesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListSchedulingPoliciesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Batch, + input: ListSchedulingPoliciesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listSchedulingPolicies(input, ...args); +}; +export async function* paginateListSchedulingPolicies( + config: BatchPaginationConfiguration, + input: ListSchedulingPoliciesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListSchedulingPoliciesCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof Batch) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof BatchClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Batch | BatchClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-batch/src/pagination/index.ts b/clients/client-batch/src/pagination/index.ts index bf62d6a02cb53..b98e1528dd6b1 100644 --- a/clients/client-batch/src/pagination/index.ts +++ b/clients/client-batch/src/pagination/index.ts @@ -3,3 +3,4 @@ export * from "./DescribeJobDefinitionsPaginator"; export * from "./DescribeJobQueuesPaginator"; export * from "./Interfaces"; export * from "./ListJobsPaginator"; +export * from "./ListSchedulingPoliciesPaginator"; diff --git a/clients/client-batch/src/protocols/Aws_restJson1.ts b/clients/client-batch/src/protocols/Aws_restJson1.ts index cb46a9fdadfd7..bcb1072e1c8dc 100644 --- a/clients/client-batch/src/protocols/Aws_restJson1.ts +++ b/clients/client-batch/src/protocols/Aws_restJson1.ts @@ -7,6 +7,8 @@ import { expectObject as __expectObject, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, + limitedParseFloat32 as __limitedParseFloat32, + serializeFloat as __serializeFloat, } from "@aws-sdk/smithy-client"; import { Endpoint as __Endpoint, @@ -22,11 +24,19 @@ import { CreateComputeEnvironmentCommandOutput, } from "../commands/CreateComputeEnvironmentCommand"; import { CreateJobQueueCommandInput, CreateJobQueueCommandOutput } from "../commands/CreateJobQueueCommand"; +import { + CreateSchedulingPolicyCommandInput, + CreateSchedulingPolicyCommandOutput, +} from "../commands/CreateSchedulingPolicyCommand"; import { DeleteComputeEnvironmentCommandInput, DeleteComputeEnvironmentCommandOutput, } from "../commands/DeleteComputeEnvironmentCommand"; import { DeleteJobQueueCommandInput, DeleteJobQueueCommandOutput } from "../commands/DeleteJobQueueCommand"; +import { + DeleteSchedulingPolicyCommandInput, + DeleteSchedulingPolicyCommandOutput, +} from "../commands/DeleteSchedulingPolicyCommand"; import { DeregisterJobDefinitionCommandInput, DeregisterJobDefinitionCommandOutput, @@ -41,7 +51,15 @@ import { } from "../commands/DescribeJobDefinitionsCommand"; import { DescribeJobQueuesCommandInput, DescribeJobQueuesCommandOutput } from "../commands/DescribeJobQueuesCommand"; import { DescribeJobsCommandInput, DescribeJobsCommandOutput } from "../commands/DescribeJobsCommand"; +import { + DescribeSchedulingPoliciesCommandInput, + DescribeSchedulingPoliciesCommandOutput, +} from "../commands/DescribeSchedulingPoliciesCommand"; import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand"; +import { + ListSchedulingPoliciesCommandInput, + ListSchedulingPoliciesCommandOutput, +} from "../commands/ListSchedulingPoliciesCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, @@ -59,6 +77,10 @@ import { UpdateComputeEnvironmentCommandOutput, } from "../commands/UpdateComputeEnvironmentCommand"; import { UpdateJobQueueCommandInput, UpdateJobQueueCommandOutput } from "../commands/UpdateJobQueueCommand"; +import { + UpdateSchedulingPolicyCommandInput, + UpdateSchedulingPolicyCommandOutput, +} from "../commands/UpdateSchedulingPolicyCommand"; import { ArrayProperties, ArrayPropertiesDetail, @@ -80,6 +102,7 @@ import { EFSAuthorizationConfig, EFSVolumeConfiguration, EvaluateOnExit, + FairsharePolicy, FargatePlatformConfiguration, Host, JobDefinition, @@ -105,8 +128,11 @@ import { PlatformCapability, ResourceRequirement, RetryStrategy, + SchedulingPolicyDetail, + SchedulingPolicyListingDetail, Secret, ServerException, + ShareAttributes, Tmpfs, Ulimit, Volume, @@ -160,6 +186,8 @@ export const serializeAws_restJson1CreateComputeEnvironmentCommand = async ( ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }), ...(input.type !== undefined && input.type !== null && { type: input.type }), + ...(input.unmanagedvCpus !== undefined && + input.unmanagedvCpus !== null && { unmanagedvCpus: input.unmanagedvCpus }), }); return new __HttpRequest({ protocol, @@ -189,6 +217,8 @@ export const serializeAws_restJson1CreateJobQueueCommand = async ( }), ...(input.jobQueueName !== undefined && input.jobQueueName !== null && { jobQueueName: input.jobQueueName }), ...(input.priority !== undefined && input.priority !== null && { priority: input.priority }), + ...(input.schedulingPolicyArn !== undefined && + input.schedulingPolicyArn !== null && { schedulingPolicyArn: input.schedulingPolicyArn }), ...(input.state !== undefined && input.state !== null && { state: input.state }), ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }), @@ -204,6 +234,37 @@ export const serializeAws_restJson1CreateJobQueueCommand = async ( }); }; +export const serializeAws_restJson1CreateSchedulingPolicyCommand = async ( + input: CreateSchedulingPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/createschedulingpolicy"; + let body: any; + body = JSON.stringify({ + ...(input.fairsharePolicy !== undefined && + input.fairsharePolicy !== null && { + fairsharePolicy: serializeAws_restJson1FairsharePolicy(input.fairsharePolicy, context), + }), + ...(input.name !== undefined && input.name !== null && { name: input.name }), + ...(input.tags !== undefined && + input.tags !== null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1DeleteComputeEnvironmentCommand = async ( input: DeleteComputeEnvironmentCommandInput, context: __SerdeContext @@ -254,6 +315,31 @@ export const serializeAws_restJson1DeleteJobQueueCommand = async ( }); }; +export const serializeAws_restJson1DeleteSchedulingPolicyCommand = async ( + input: DeleteSchedulingPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/deleteschedulingpolicy"; + let body: any; + body = JSON.stringify({ + ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1DeregisterJobDefinitionCommand = async ( input: DeregisterJobDefinitionCommandInput, context: __SerdeContext @@ -394,6 +480,32 @@ export const serializeAws_restJson1DescribeJobsCommand = async ( }); }; +export const serializeAws_restJson1DescribeSchedulingPoliciesCommand = async ( + input: DescribeSchedulingPoliciesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/describeschedulingpolicies"; + let body: any; + body = JSON.stringify({ + ...(input.arns !== undefined && + input.arns !== null && { arns: serializeAws_restJson1StringList(input.arns, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1ListJobsCommand = async ( input: ListJobsCommandInput, context: __SerdeContext @@ -426,6 +538,32 @@ export const serializeAws_restJson1ListJobsCommand = async ( }); }; +export const serializeAws_restJson1ListSchedulingPoliciesCommand = async ( + input: ListSchedulingPoliciesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/listschedulingpolicies"; + let body: any; + body = JSON.stringify({ + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1ListTagsForResourceCommand = async ( input: ListTagsForResourceCommandInput, context: __SerdeContext @@ -487,6 +625,8 @@ export const serializeAws_restJson1RegisterJobDefinitionCommand = async ( input.retryStrategy !== null && { retryStrategy: serializeAws_restJson1RetryStrategy(input.retryStrategy, context), }), + ...(input.schedulingPriority !== undefined && + input.schedulingPriority !== null && { schedulingPriority: input.schedulingPriority }), ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }), ...(input.timeout !== undefined && @@ -539,6 +679,10 @@ export const serializeAws_restJson1SubmitJobCommand = async ( input.retryStrategy !== null && { retryStrategy: serializeAws_restJson1RetryStrategy(input.retryStrategy, context), }), + ...(input.schedulingPriorityOverride !== undefined && + input.schedulingPriorityOverride !== null && { schedulingPriorityOverride: input.schedulingPriorityOverride }), + ...(input.shareIdentifier !== undefined && + input.shareIdentifier !== null && { shareIdentifier: input.shareIdentifier }), ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagrisTagsMap(input.tags, context) }), ...(input.timeout !== undefined && @@ -666,6 +810,8 @@ export const serializeAws_restJson1UpdateComputeEnvironmentCommand = async ( }), ...(input.serviceRole !== undefined && input.serviceRole !== null && { serviceRole: input.serviceRole }), ...(input.state !== undefined && input.state !== null && { state: input.state }), + ...(input.unmanagedvCpus !== undefined && + input.unmanagedvCpus !== null && { unmanagedvCpus: input.unmanagedvCpus }), }); return new __HttpRequest({ protocol, @@ -695,6 +841,8 @@ export const serializeAws_restJson1UpdateJobQueueCommand = async ( }), ...(input.jobQueue !== undefined && input.jobQueue !== null && { jobQueue: input.jobQueue }), ...(input.priority !== undefined && input.priority !== null && { priority: input.priority }), + ...(input.schedulingPolicyArn !== undefined && + input.schedulingPolicyArn !== null && { schedulingPolicyArn: input.schedulingPolicyArn }), ...(input.state !== undefined && input.state !== null && { state: input.state }), }); return new __HttpRequest({ @@ -708,6 +856,35 @@ export const serializeAws_restJson1UpdateJobQueueCommand = async ( }); }; +export const serializeAws_restJson1UpdateSchedulingPolicyCommand = async ( + input: UpdateSchedulingPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/updateschedulingpolicy"; + let body: any; + body = JSON.stringify({ + ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }), + ...(input.fairsharePolicy !== undefined && + input.fairsharePolicy !== null && { + fairsharePolicy: serializeAws_restJson1FairsharePolicy(input.fairsharePolicy, context), + }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const deserializeAws_restJson1CancelJobCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -901,6 +1078,73 @@ const deserializeAws_restJson1CreateJobQueueCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1CreateSchedulingPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateSchedulingPolicyCommandError(output, context); + } + const contents: CreateSchedulingPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + arn: undefined, + name: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.arn !== undefined && data.arn !== null) { + contents.arn = __expectString(data.arn); + } + if (data.name !== undefined && data.name !== null) { + contents.name = __expectString(data.name); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateSchedulingPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ClientException": + case "com.amazonaws.batch#ClientException": + response = { + ...(await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServerException": + case "com.amazonaws.batch#ServerException": + response = { + ...(await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1DeleteComputeEnvironmentCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1019,6 +1263,65 @@ const deserializeAws_restJson1DeleteJobQueueCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1DeleteSchedulingPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteSchedulingPolicyCommandError(output, context); + } + const contents: DeleteSchedulingPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteSchedulingPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ClientException": + case "com.amazonaws.batch#ClientException": + response = { + ...(await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServerException": + case "com.amazonaws.batch#ServerException": + response = { + ...(await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1DeregisterJobDefinitionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1345,6 +1648,69 @@ const deserializeAws_restJson1DescribeJobsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1DescribeSchedulingPoliciesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeSchedulingPoliciesCommandError(output, context); + } + const contents: DescribeSchedulingPoliciesCommandOutput = { + $metadata: deserializeMetadata(output), + schedulingPolicies: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.schedulingPolicies !== undefined && data.schedulingPolicies !== null) { + contents.schedulingPolicies = deserializeAws_restJson1SchedulingPolicyDetailList(data.schedulingPolicies, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeSchedulingPoliciesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ClientException": + case "com.amazonaws.batch#ClientException": + response = { + ...(await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServerException": + case "com.amazonaws.batch#ServerException": + response = { + ...(await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1ListJobsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1412,6 +1778,76 @@ const deserializeAws_restJson1ListJobsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1ListSchedulingPoliciesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListSchedulingPoliciesCommandError(output, context); + } + const contents: ListSchedulingPoliciesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + schedulingPolicies: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.schedulingPolicies !== undefined && data.schedulingPolicies !== null) { + contents.schedulingPolicies = deserializeAws_restJson1SchedulingPolicyListingDetailList( + data.schedulingPolicies, + context + ); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListSchedulingPoliciesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ClientException": + case "com.amazonaws.batch#ClientException": + response = { + ...(await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServerException": + case "com.amazonaws.batch#ServerException": + response = { + ...(await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1ListTagsForResourceCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1928,6 +2364,65 @@ const deserializeAws_restJson1UpdateJobQueueCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1UpdateSchedulingPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateSchedulingPolicyCommandError(output, context); + } + const contents: UpdateSchedulingPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateSchedulingPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ClientException": + case "com.amazonaws.batch#ClientException": + response = { + ...(await deserializeAws_restJson1ClientExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServerException": + case "com.amazonaws.batch#ServerException": + response = { + ...(await deserializeAws_restJson1ServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + const deserializeAws_restJson1ClientExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -2226,6 +2721,19 @@ const serializeAws_restJson1EvaluateOnExitList = (input: EvaluateOnExit[], conte }); }; +const serializeAws_restJson1FairsharePolicy = (input: FairsharePolicy, context: __SerdeContext): any => { + return { + ...(input.computeReservation !== undefined && + input.computeReservation !== null && { computeReservation: input.computeReservation }), + ...(input.shareDecaySeconds !== undefined && + input.shareDecaySeconds !== null && { shareDecaySeconds: input.shareDecaySeconds }), + ...(input.shareDistribution !== undefined && + input.shareDistribution !== null && { + shareDistribution: serializeAws_restJson1ShareAttributesList(input.shareDistribution, context), + }), + }; +}; + const serializeAws_restJson1FargatePlatformConfiguration = ( input: FargatePlatformConfiguration, context: __SerdeContext @@ -2507,6 +3015,26 @@ const serializeAws_restJson1SecretList = (input: Secret[], context: __SerdeConte }); }; +const serializeAws_restJson1ShareAttributes = (input: ShareAttributes, context: __SerdeContext): any => { + return { + ...(input.shareIdentifier !== undefined && + input.shareIdentifier !== null && { shareIdentifier: input.shareIdentifier }), + ...(input.weightFactor !== undefined && + input.weightFactor !== null && { weightFactor: __serializeFloat(input.weightFactor) }), + }; +}; + +const serializeAws_restJson1ShareAttributesList = (input: ShareAttributes[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1ShareAttributes(entry, context); + }); +}; + const serializeAws_restJson1StringList = (input: string[], context: __SerdeContext): any => { return input .filter((e: any) => e != null) @@ -2700,6 +3228,7 @@ const deserializeAws_restJson1ComputeEnvironmentDetail = ( ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) : undefined, type: __expectString(output.type), + unmanagedvCpus: __expectInt32(output.unmanagedvCpus), } as any; }; @@ -3024,6 +3553,17 @@ const deserializeAws_restJson1EvaluateOnExitList = (output: any, context: __Serd }); }; +const deserializeAws_restJson1FairsharePolicy = (output: any, context: __SerdeContext): FairsharePolicy => { + return { + computeReservation: __expectInt32(output.computeReservation), + shareDecaySeconds: __expectInt32(output.shareDecaySeconds), + shareDistribution: + output.shareDistribution !== undefined && output.shareDistribution !== null + ? deserializeAws_restJson1ShareAttributesList(output.shareDistribution, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1FargatePlatformConfiguration = ( output: any, context: __SerdeContext @@ -3065,6 +3605,7 @@ const deserializeAws_restJson1JobDefinition = (output: any, context: __SerdeCont ? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context) : undefined, revision: __expectInt32(output.revision), + schedulingPriority: __expectInt32(output.schedulingPriority), status: __expectString(output.status), tags: output.tags !== undefined && output.tags !== null @@ -3152,6 +3693,8 @@ const deserializeAws_restJson1JobDetail = (output: any, context: __SerdeContext) output.retryStrategy !== undefined && output.retryStrategy !== null ? deserializeAws_restJson1RetryStrategy(output.retryStrategy, context) : undefined, + schedulingPriority: __expectInt32(output.schedulingPriority), + shareIdentifier: __expectString(output.shareIdentifier), startedAt: __expectLong(output.startedAt), status: __expectString(output.status), statusReason: __expectString(output.statusReason), @@ -3187,6 +3730,7 @@ const deserializeAws_restJson1JobQueueDetail = (output: any, context: __SerdeCon jobQueueArn: __expectString(output.jobQueueArn), jobQueueName: __expectString(output.jobQueueName), priority: __expectInt32(output.priority), + schedulingPolicyArn: __expectString(output.schedulingPolicyArn), state: __expectString(output.state), status: __expectString(output.status), statusReason: __expectString(output.statusReason), @@ -3460,6 +4004,61 @@ const deserializeAws_restJson1RetryStrategy = (output: any, context: __SerdeCont } as any; }; +const deserializeAws_restJson1SchedulingPolicyDetail = ( + output: any, + context: __SerdeContext +): SchedulingPolicyDetail => { + return { + arn: __expectString(output.arn), + fairsharePolicy: + output.fairsharePolicy !== undefined && output.fairsharePolicy !== null + ? deserializeAws_restJson1FairsharePolicy(output.fairsharePolicy, context) + : undefined, + name: __expectString(output.name), + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1TagrisTagsMap(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1SchedulingPolicyDetailList = ( + output: any, + context: __SerdeContext +): SchedulingPolicyDetail[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1SchedulingPolicyDetail(entry, context); + }); +}; + +const deserializeAws_restJson1SchedulingPolicyListingDetail = ( + output: any, + context: __SerdeContext +): SchedulingPolicyListingDetail => { + return { + arn: __expectString(output.arn), + } as any; +}; + +const deserializeAws_restJson1SchedulingPolicyListingDetailList = ( + output: any, + context: __SerdeContext +): SchedulingPolicyListingDetail[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1SchedulingPolicyListingDetail(entry, context); + }); +}; + const deserializeAws_restJson1Secret = (output: any, context: __SerdeContext): Secret => { return { name: __expectString(output.name), @@ -3478,6 +4077,24 @@ const deserializeAws_restJson1SecretList = (output: any, context: __SerdeContext }); }; +const deserializeAws_restJson1ShareAttributes = (output: any, context: __SerdeContext): ShareAttributes => { + return { + shareIdentifier: __expectString(output.shareIdentifier), + weightFactor: __limitedParseFloat32(output.weightFactor), + } as any; +}; + +const deserializeAws_restJson1ShareAttributesList = (output: any, context: __SerdeContext): ShareAttributes[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ShareAttributes(entry, context); + }); +}; + const deserializeAws_restJson1StringList = (output: any, context: __SerdeContext): string[] => { return (output || []) .filter((e: any) => e != null) diff --git a/clients/client-braket/src/endpoints.ts b/clients/client-braket/src/endpoints.ts index 061bca2afd1fc..cac6672501209 100644 --- a/clients/client-braket/src/endpoints.ts +++ b/clients/client-braket/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "braket.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "braket-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "braket.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "braket-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-budgets/src/endpoints.ts b/clients/client-budgets/src/endpoints.ts index d491870ae2eeb..a75c3054d65d5 100644 --- a/clients/client-budgets/src/endpoints.ts +++ b/clients/client-budgets/src/endpoints.ts @@ -100,6 +100,10 @@ const partitionHash: PartitionHash = { hostname: "budgets.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "budgets-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -110,6 +114,10 @@ const partitionHash: PartitionHash = { hostname: "budgets.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "budgets-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-chime-sdk-identity/src/endpoints.ts b/clients/client-chime-sdk-identity/src/endpoints.ts index 8b5c65fd71bbb..bd6de5fc6048c 100644 --- a/clients/client-chime-sdk-identity/src/endpoints.ts +++ b/clients/client-chime-sdk-identity/src/endpoints.ts @@ -92,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "identity-chime.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "identity-chime-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -102,6 +106,10 @@ const partitionHash: PartitionHash = { hostname: "identity-chime.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "identity-chime-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-chime-sdk-meetings/src/endpoints.ts b/clients/client-chime-sdk-meetings/src/endpoints.ts index b817d8f64dc6c..b34f5bb65306a 100644 --- a/clients/client-chime-sdk-meetings/src/endpoints.ts +++ b/clients/client-chime-sdk-meetings/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "meetings-chime.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "meetings-chime-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "meetings-chime.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "meetings-chime-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-chime-sdk-meetings/src/models/models_0.ts b/clients/client-chime-sdk-meetings/src/models/models_0.ts index 2e714711ae80e..2997fc70cf771 100644 --- a/clients/client-chime-sdk-meetings/src/models/models_0.ts +++ b/clients/client-chime-sdk-meetings/src/models/models_0.ts @@ -385,7 +385,7 @@ export interface CreateMeetingRequest { ClientRequestToken?: string; /** - *

The Region in which to create the meeting. Default: us-east-1.

+ *

The Region in which to create the meeting.

* *

* Available values: @@ -585,7 +585,7 @@ export interface CreateMeetingWithAttendeesRequest { ClientRequestToken?: string; /** - *

The Region in which to create the meeting. Default: us-east-1.

+ *

The Region in which to create the meeting.

*/ MediaRegion: string | undefined; diff --git a/clients/client-chime-sdk-messaging/src/endpoints.ts b/clients/client-chime-sdk-messaging/src/endpoints.ts index 8fcc2e063a883..3a42ec63a13b6 100644 --- a/clients/client-chime-sdk-messaging/src/endpoints.ts +++ b/clients/client-chime-sdk-messaging/src/endpoints.ts @@ -92,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "messaging-chime.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "messaging-chime-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -102,6 +106,10 @@ const partitionHash: PartitionHash = { hostname: "messaging-chime.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "messaging-chime-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-chime/src/endpoints.ts b/clients/client-chime/src/endpoints.ts index 5c3e34cc6d899..13d2fde15bcec 100644 --- a/clients/client-chime/src/endpoints.ts +++ b/clients/client-chime/src/endpoints.ts @@ -90,6 +90,10 @@ const partitionHash: PartitionHash = { hostname: "chime.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "chime-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -100,6 +104,10 @@ const partitionHash: PartitionHash = { hostname: "chime.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "chime-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloud9/src/endpoints.ts b/clients/client-cloud9/src/endpoints.ts index e6254e5cebb23..79fccd9484d9a 100644 --- a/clients/client-cloud9/src/endpoints.ts +++ b/clients/client-cloud9/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cloud9.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloud9-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cloud9.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloud9-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudcontrol/src/endpoints.ts b/clients/client-cloudcontrol/src/endpoints.ts index 989e30239467e..5c69b93420781 100644 --- a/clients/client-cloudcontrol/src/endpoints.ts +++ b/clients/client-cloudcontrol/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "cloudcontrolapi.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudcontrolapi-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "cloudcontrolapi.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudcontrolapi-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-clouddirectory/src/endpoints.ts b/clients/client-clouddirectory/src/endpoints.ts index e8ab4be170958..27fcfeb622fe9 100644 --- a/clients/client-clouddirectory/src/endpoints.ts +++ b/clients/client-clouddirectory/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "clouddirectory.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "clouddirectory-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "clouddirectory.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "clouddirectory-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudformation/src/endpoints.ts b/clients/client-cloudformation/src/endpoints.ts index 73f4b5df7e794..87ccdcddc5f9c 100644 --- a/clients/client-cloudformation/src/endpoints.ts +++ b/clients/client-cloudformation/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "cloudformation.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudformation-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "cloudformation.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudformation-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudfront/src/endpoints.ts b/clients/client-cloudfront/src/endpoints.ts index a736a5e730f69..3fc0c810e127c 100644 --- a/clients/client-cloudfront/src/endpoints.ts +++ b/clients/client-cloudfront/src/endpoints.ts @@ -100,6 +100,10 @@ const partitionHash: PartitionHash = { hostname: "cloudfront.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudfront-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -110,6 +114,10 @@ const partitionHash: PartitionHash = { hostname: "cloudfront.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudfront-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudhsm-v2/src/endpoints.ts b/clients/client-cloudhsm-v2/src/endpoints.ts index 594ecd3931eb0..5e8335282c6ce 100644 --- a/clients/client-cloudhsm-v2/src/endpoints.ts +++ b/clients/client-cloudhsm-v2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cloudhsmv2.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudhsmv2-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cloudhsmv2.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudhsmv2-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudhsm/src/endpoints.ts b/clients/client-cloudhsm/src/endpoints.ts index c5aefce50d89d..3bb15adb87acf 100644 --- a/clients/client-cloudhsm/src/endpoints.ts +++ b/clients/client-cloudhsm/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cloudhsm.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudhsm-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cloudhsm.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudhsm-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudsearch-domain/src/endpoints.ts b/clients/client-cloudsearch-domain/src/endpoints.ts index 52e6218991ada..443abfab7a870 100644 --- a/clients/client-cloudsearch-domain/src/endpoints.ts +++ b/clients/client-cloudsearch-domain/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cloudsearchdomain.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudsearchdomain-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cloudsearchdomain.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudsearchdomain-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudsearch/src/endpoints.ts b/clients/client-cloudsearch/src/endpoints.ts index 85279aad5c46f..05298ba35ce3a 100644 --- a/clients/client-cloudsearch/src/endpoints.ts +++ b/clients/client-cloudsearch/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cloudsearch.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudsearch-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cloudsearch.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudsearch-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudtrail/src/endpoints.ts b/clients/client-cloudtrail/src/endpoints.ts index add77a6dfe859..e41684e3bcc63 100644 --- a/clients/client-cloudtrail/src/endpoints.ts +++ b/clients/client-cloudtrail/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "cloudtrail.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cloudtrail-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "cloudtrail.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cloudtrail-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudwatch-events/src/endpoints.ts b/clients/client-cloudwatch-events/src/endpoints.ts index deb0ab8df3b95..6e6b75d81970c 100644 --- a/clients/client-cloudwatch-events/src/endpoints.ts +++ b/clients/client-cloudwatch-events/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "events.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "events-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "events.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "events-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudwatch-logs/src/endpoints.ts b/clients/client-cloudwatch-logs/src/endpoints.ts index 30e97ad9811e3..9ba7ab1dad842 100644 --- a/clients/client-cloudwatch-logs/src/endpoints.ts +++ b/clients/client-cloudwatch-logs/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "logs.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "logs-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "logs.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "logs-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cloudwatch/src/endpoints.ts b/clients/client-cloudwatch/src/endpoints.ts index e486f83f4a2e1..a6bf62ae938ba 100644 --- a/clients/client-cloudwatch/src/endpoints.ts +++ b/clients/client-cloudwatch/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "monitoring.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "monitoring-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "monitoring.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "monitoring-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codeartifact/src/endpoints.ts b/clients/client-codeartifact/src/endpoints.ts index 30f4b0076a4d4..acf0ba3446209 100644 --- a/clients/client-codeartifact/src/endpoints.ts +++ b/clients/client-codeartifact/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "codeartifact.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codeartifact-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "codeartifact.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codeartifact-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codebuild/src/endpoints.ts b/clients/client-codebuild/src/endpoints.ts index d3f6bdd8205e3..b836396bb7d35 100644 --- a/clients/client-codebuild/src/endpoints.ts +++ b/clients/client-codebuild/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "codebuild.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codebuild-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "codebuild.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codebuild-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codecommit/src/endpoints.ts b/clients/client-codecommit/src/endpoints.ts index 3c2f305f71fa3..47562436bc27e 100644 --- a/clients/client-codecommit/src/endpoints.ts +++ b/clients/client-codecommit/src/endpoints.ts @@ -169,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "codecommit.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codecommit-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -179,6 +183,10 @@ const partitionHash: PartitionHash = { hostname: "codecommit.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codecommit-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codedeploy/src/endpoints.ts b/clients/client-codedeploy/src/endpoints.ts index 3120a37d40403..a199fbc4ff966 100644 --- a/clients/client-codedeploy/src/endpoints.ts +++ b/clients/client-codedeploy/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "codedeploy.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codedeploy-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "codedeploy.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codedeploy-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codeguru-reviewer/src/endpoints.ts b/clients/client-codeguru-reviewer/src/endpoints.ts index 35a813964e69f..56dcb7086005b 100644 --- a/clients/client-codeguru-reviewer/src/endpoints.ts +++ b/clients/client-codeguru-reviewer/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "codeguru-reviewer.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codeguru-reviewer-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "codeguru-reviewer.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codeguru-reviewer-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codeguruprofiler/src/endpoints.ts b/clients/client-codeguruprofiler/src/endpoints.ts index 07b0764ff7329..9d6ed831d35ac 100644 --- a/clients/client-codeguruprofiler/src/endpoints.ts +++ b/clients/client-codeguruprofiler/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "codeguru-profiler.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codeguru-profiler-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "codeguru-profiler.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codeguru-profiler-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codepipeline/src/endpoints.ts b/clients/client-codepipeline/src/endpoints.ts index b1c852f194287..da53af5180c8e 100644 --- a/clients/client-codepipeline/src/endpoints.ts +++ b/clients/client-codepipeline/src/endpoints.ts @@ -156,6 +156,10 @@ const partitionHash: PartitionHash = { hostname: "codepipeline.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codepipeline-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -166,6 +170,10 @@ const partitionHash: PartitionHash = { hostname: "codepipeline.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codepipeline-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codestar-connections/src/endpoints.ts b/clients/client-codestar-connections/src/endpoints.ts index a5b332b1fbfa2..3e91df53562b3 100644 --- a/clients/client-codestar-connections/src/endpoints.ts +++ b/clients/client-codestar-connections/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "codestar-connections.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codestar-connections-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "codestar-connections.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codestar-connections-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codestar-notifications/src/endpoints.ts b/clients/client-codestar-notifications/src/endpoints.ts index b850aa21a4105..d8f713e30a160 100644 --- a/clients/client-codestar-notifications/src/endpoints.ts +++ b/clients/client-codestar-notifications/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "codestar-notifications.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codestar-notifications-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "codestar-notifications.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codestar-notifications-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-codestar/src/endpoints.ts b/clients/client-codestar/src/endpoints.ts index 40e60db9e6c6a..ac89007309018 100644 --- a/clients/client-codestar/src/endpoints.ts +++ b/clients/client-codestar/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "codestar.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "codestar-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "codestar.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "codestar-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cognito-identity-provider/src/endpoints.ts b/clients/client-cognito-identity-provider/src/endpoints.ts index 872b626e0e985..777a1d37fb4c5 100644 --- a/clients/client-cognito-identity-provider/src/endpoints.ts +++ b/clients/client-cognito-identity-provider/src/endpoints.ts @@ -143,6 +143,10 @@ const partitionHash: PartitionHash = { hostname: "cognito-idp.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cognito-idp-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -153,6 +157,10 @@ const partitionHash: PartitionHash = { hostname: "cognito-idp.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cognito-idp-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cognito-identity/src/endpoints.ts b/clients/client-cognito-identity/src/endpoints.ts index 074d9d559dff0..cca77de599051 100644 --- a/clients/client-cognito-identity/src/endpoints.ts +++ b/clients/client-cognito-identity/src/endpoints.ts @@ -130,6 +130,10 @@ const partitionHash: PartitionHash = { hostname: "cognito-identity.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cognito-identity-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -140,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "cognito-identity.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cognito-identity-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cognito-sync/src/endpoints.ts b/clients/client-cognito-sync/src/endpoints.ts index d1e869370a93d..f32afdd272d3f 100644 --- a/clients/client-cognito-sync/src/endpoints.ts +++ b/clients/client-cognito-sync/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cognito-sync.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cognito-sync-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cognito-sync.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cognito-sync-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-comprehend/src/endpoints.ts b/clients/client-comprehend/src/endpoints.ts index 9f6c84186007e..c4c4b3d5f6aca 100644 --- a/clients/client-comprehend/src/endpoints.ts +++ b/clients/client-comprehend/src/endpoints.ts @@ -130,6 +130,10 @@ const partitionHash: PartitionHash = { hostname: "comprehend.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "comprehend-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -140,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "comprehend.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "comprehend-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-comprehendmedical/src/endpoints.ts b/clients/client-comprehendmedical/src/endpoints.ts index 0731f7dc8e0f1..538da94ed0739 100644 --- a/clients/client-comprehendmedical/src/endpoints.ts +++ b/clients/client-comprehendmedical/src/endpoints.ts @@ -130,6 +130,10 @@ const partitionHash: PartitionHash = { hostname: "comprehendmedical.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "comprehendmedical-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -140,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "comprehendmedical.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "comprehendmedical-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-compute-optimizer/src/endpoints.ts b/clients/client-compute-optimizer/src/endpoints.ts index 73f9f3fd52e52..f7b0f2eed78c7 100644 --- a/clients/client-compute-optimizer/src/endpoints.ts +++ b/clients/client-compute-optimizer/src/endpoints.ts @@ -1,7 +1,170 @@ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver"; import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types"; -const regionHash: RegionHash = {}; +const regionHash: RegionHash = { + "ap-northeast-1": { + variants: [ + { + hostname: "compute-optimizer.ap-northeast-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "ap-northeast-1", + }, + "ap-northeast-2": { + variants: [ + { + hostname: "compute-optimizer.ap-northeast-2.amazonaws.com", + tags: [], + }, + ], + signingRegion: "ap-northeast-2", + }, + "ap-south-1": { + variants: [ + { + hostname: "compute-optimizer.ap-south-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "ap-south-1", + }, + "ap-southeast-1": { + variants: [ + { + hostname: "compute-optimizer.ap-southeast-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "ap-southeast-1", + }, + "ap-southeast-2": { + variants: [ + { + hostname: "compute-optimizer.ap-southeast-2.amazonaws.com", + tags: [], + }, + ], + signingRegion: "ap-southeast-2", + }, + "ca-central-1": { + variants: [ + { + hostname: "compute-optimizer.ca-central-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "ca-central-1", + }, + "cn-north-1": { + variants: [ + { + hostname: "compute-optimizer.cn-north-1.amazonaws.com.cn", + tags: [], + }, + ], + signingRegion: "cn-north-1", + }, + "cn-northwest-1": { + variants: [ + { + hostname: "compute-optimizer.cn-northwest-1.amazonaws.com.cn", + tags: [], + }, + ], + signingRegion: "cn-northwest-1", + }, + "eu-central-1": { + variants: [ + { + hostname: "compute-optimizer.eu-central-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "eu-central-1", + }, + "eu-north-1": { + variants: [ + { + hostname: "compute-optimizer.eu-north-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "eu-north-1", + }, + "eu-west-1": { + variants: [ + { + hostname: "compute-optimizer.eu-west-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "eu-west-1", + }, + "eu-west-2": { + variants: [ + { + hostname: "compute-optimizer.eu-west-2.amazonaws.com", + tags: [], + }, + ], + signingRegion: "eu-west-2", + }, + "eu-west-3": { + variants: [ + { + hostname: "compute-optimizer.eu-west-3.amazonaws.com", + tags: [], + }, + ], + signingRegion: "eu-west-3", + }, + "sa-east-1": { + variants: [ + { + hostname: "compute-optimizer.sa-east-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "sa-east-1", + }, + "us-east-1": { + variants: [ + { + hostname: "compute-optimizer.us-east-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "us-east-1", + }, + "us-east-2": { + variants: [ + { + hostname: "compute-optimizer.us-east-2.amazonaws.com", + tags: [], + }, + ], + signingRegion: "us-east-2", + }, + "us-west-1": { + variants: [ + { + hostname: "compute-optimizer.us-west-1.amazonaws.com", + tags: [], + }, + ], + signingRegion: "us-west-1", + }, + "us-west-2": { + variants: [ + { + hostname: "compute-optimizer.us-west-2.amazonaws.com", + tags: [], + }, + ], + signingRegion: "us-west-2", + }, +}; const partitionHash: PartitionHash = { aws: { @@ -78,6 +241,10 @@ const partitionHash: PartitionHash = { hostname: "compute-optimizer.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "compute-optimizer-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +255,10 @@ const partitionHash: PartitionHash = { hostname: "compute-optimizer.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "compute-optimizer-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-config-service/src/endpoints.ts b/clients/client-config-service/src/endpoints.ts index e99783067021e..29689060044ee 100644 --- a/clients/client-config-service/src/endpoints.ts +++ b/clients/client-config-service/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "config.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "config-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "config.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "config-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-connect-contact-lens/src/endpoints.ts b/clients/client-connect-contact-lens/src/endpoints.ts index 0936f62e838b2..77b59788b8c7a 100644 --- a/clients/client-connect-contact-lens/src/endpoints.ts +++ b/clients/client-connect-contact-lens/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "contact-lens.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "contact-lens-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "contact-lens.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "contact-lens-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-connect/src/endpoints.ts b/clients/client-connect/src/endpoints.ts index a69380cce22f0..45b700b808b94 100644 --- a/clients/client-connect/src/endpoints.ts +++ b/clients/client-connect/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "connect.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "connect-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "connect.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "connect-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-connectparticipant/src/endpoints.ts b/clients/client-connectparticipant/src/endpoints.ts index 2473ade352d9e..66994c7e368ac 100644 --- a/clients/client-connectparticipant/src/endpoints.ts +++ b/clients/client-connectparticipant/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "participant.connect.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "participant.connect-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "participant.connect.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "participant.connect-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cost-and-usage-report-service/src/endpoints.ts b/clients/client-cost-and-usage-report-service/src/endpoints.ts index 46a54cf6e9588..0fe8c22df63a2 100644 --- a/clients/client-cost-and-usage-report-service/src/endpoints.ts +++ b/clients/client-cost-and-usage-report-service/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "cur.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "cur-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "cur.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "cur-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-cost-explorer/src/endpoints.ts b/clients/client-cost-explorer/src/endpoints.ts index 11ed958f3dabb..56fc57d3354cf 100644 --- a/clients/client-cost-explorer/src/endpoints.ts +++ b/clients/client-cost-explorer/src/endpoints.ts @@ -100,6 +100,10 @@ const partitionHash: PartitionHash = { hostname: "ce.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ce-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -110,6 +114,10 @@ const partitionHash: PartitionHash = { hostname: "ce.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ce-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-customer-profiles/src/endpoints.ts b/clients/client-customer-profiles/src/endpoints.ts index 6f38e0178d36d..976063f6d1855 100644 --- a/clients/client-customer-profiles/src/endpoints.ts +++ b/clients/client-customer-profiles/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "profile.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "profile-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "profile.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "profile-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-data-pipeline/src/endpoints.ts b/clients/client-data-pipeline/src/endpoints.ts index 9081b174983d0..803dc2da143d0 100644 --- a/clients/client-data-pipeline/src/endpoints.ts +++ b/clients/client-data-pipeline/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "datapipeline.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "datapipeline-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "datapipeline.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "datapipeline-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-databrew/src/endpoints.ts b/clients/client-databrew/src/endpoints.ts index bb4339c97bff3..e9c6e8d638aa3 100644 --- a/clients/client-databrew/src/endpoints.ts +++ b/clients/client-databrew/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "databrew.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "databrew-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "databrew.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "databrew-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-dataexchange/src/endpoints.ts b/clients/client-dataexchange/src/endpoints.ts index fb6c6a213a76f..22312b0d99109 100644 --- a/clients/client-dataexchange/src/endpoints.ts +++ b/clients/client-dataexchange/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "dataexchange.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "dataexchange-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "dataexchange.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "dataexchange-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-datasync/src/endpoints.ts b/clients/client-datasync/src/endpoints.ts index d899a16363948..67ab7b51181be 100644 --- a/clients/client-datasync/src/endpoints.ts +++ b/clients/client-datasync/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "datasync.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "datasync-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "datasync.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "datasync-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-dax/src/endpoints.ts b/clients/client-dax/src/endpoints.ts index 0c3c27e227fe7..91e7df5247b70 100644 --- a/clients/client-dax/src/endpoints.ts +++ b/clients/client-dax/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "dax.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "dax-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "dax.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "dax-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-detective/src/endpoints.ts b/clients/client-detective/src/endpoints.ts index d13acbc7e8ff3..c6f6b90bbe210 100644 --- a/clients/client-detective/src/endpoints.ts +++ b/clients/client-detective/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "api.detective.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.detective-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "api.detective.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.detective-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-device-farm/src/endpoints.ts b/clients/client-device-farm/src/endpoints.ts index c777fade7c8aa..276109fa1401c 100644 --- a/clients/client-device-farm/src/endpoints.ts +++ b/clients/client-device-farm/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "devicefarm.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "devicefarm-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "devicefarm.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "devicefarm-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-devops-guru/src/endpoints.ts b/clients/client-devops-guru/src/endpoints.ts index c734afd03e1e4..be807d56b2351 100644 --- a/clients/client-devops-guru/src/endpoints.ts +++ b/clients/client-devops-guru/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "devops-guru.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "devops-guru-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "devops-guru.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "devops-guru-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-direct-connect/src/endpoints.ts b/clients/client-direct-connect/src/endpoints.ts index 817be86bf5d51..6c234d59a6c37 100644 --- a/clients/client-direct-connect/src/endpoints.ts +++ b/clients/client-direct-connect/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "directconnect.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "directconnect-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "directconnect.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "directconnect-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-directory-service/src/endpoints.ts b/clients/client-directory-service/src/endpoints.ts index 286468ab38a04..007f365f738d0 100644 --- a/clients/client-directory-service/src/endpoints.ts +++ b/clients/client-directory-service/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "ds.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ds-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "ds.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ds-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-dlm/src/endpoints.ts b/clients/client-dlm/src/endpoints.ts index 87db46ab0b391..610b29327e2aa 100644 --- a/clients/client-dlm/src/endpoints.ts +++ b/clients/client-dlm/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "dlm.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "dlm-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "dlm.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "dlm-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-docdb/src/endpoints.ts b/clients/client-docdb/src/endpoints.ts index 35511230b44d2..7cabe0efce786 100644 --- a/clients/client-docdb/src/endpoints.ts +++ b/clients/client-docdb/src/endpoints.ts @@ -178,6 +178,10 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "rds-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -188,6 +192,10 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "rds-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { @@ -206,17 +214,9 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "rds-fips.{region}.amazonaws.com", + hostname: "rds.{region}.amazonaws.com", tags: ["fips"], }, - { - hostname: "rds-fips.{region}.api.aws", - tags: ["dualstack", "fips"], - }, - { - hostname: "rds.{region}.api.aws", - tags: ["dualstack"], - }, ], }, }; diff --git a/clients/client-dynamodb-streams/src/endpoints.ts b/clients/client-dynamodb-streams/src/endpoints.ts index d59a3dd5e3e5f..24af196ff694a 100644 --- a/clients/client-dynamodb-streams/src/endpoints.ts +++ b/clients/client-dynamodb-streams/src/endpoints.ts @@ -157,6 +157,10 @@ const partitionHash: PartitionHash = { hostname: "streams.dynamodb.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "streams.dynamodb-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -167,6 +171,10 @@ const partitionHash: PartitionHash = { hostname: "streams.dynamodb.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "streams.dynamodb-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-dynamodb/README.md b/clients/client-dynamodb/README.md index 1b3eabfaef3c4..e021b8c49a067 100644 --- a/clients/client-dynamodb/README.md +++ b/clients/client-dynamodb/README.md @@ -9,22 +9,24 @@ AWS SDK for JavaScript DynamoDB Client for Node.js, Browser and React Native. Amazon DynamoDB -

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and -predictable performance with seamless scalability. DynamoDB lets you offload the -administrative burdens of operating and scaling a distributed database, so that you don't have -to worry about hardware provisioning, setup and configuration, replication, software patching, -or cluster scaling.

- -

With DynamoDB, you can create database tables that can store and retrieve any amount of -data, and serve any level of request traffic. You can scale up or scale down your tables' -throughput capacity without downtime or performance degradation, and use the AWS Management -Console to monitor resource utilization and performance metrics.

- -

DynamoDB automatically spreads the data and traffic for your tables over a sufficient -number of servers to handle your throughput and storage requirements, while maintaining -consistent and fast performance. All of your data is stored on solid state disks (SSDs) and -automatically replicated across multiple Availability Zones in an AWS region, providing -built-in high availability and data durability.

+

Amazon DynamoDB is a fully managed NoSQL database service that provides fast +and predictable performance with seamless scalability. DynamoDB lets you +offload the administrative burdens of operating and scaling a distributed database, so +that you don't have to worry about hardware provisioning, setup and configuration, +replication, software patching, or cluster scaling.

+ +

With DynamoDB, you can create database tables that can store and retrieve +any amount of data, and serve any level of request traffic. You can scale up or scale +down your tables' throughput capacity without downtime or performance degradation, and +use the Amazon Web Services Management Console to monitor resource utilization and performance +metrics.

+ +

DynamoDB automatically spreads the data and traffic for your tables over +a sufficient number of servers to handle your throughput and storage requirements, while +maintaining consistent and fast performance. All of your data is stored on solid state +disks (SSDs) and automatically replicated across multiple Availability Zones in an +Amazon Web Services Region, providing built-in high availability and data +durability.

## Installing diff --git a/clients/client-dynamodb/src/DynamoDB.ts b/clients/client-dynamodb/src/DynamoDB.ts index 171ab2029205e..c87840e009ba7 100644 --- a/clients/client-dynamodb/src/DynamoDB.ts +++ b/clients/client-dynamodb/src/DynamoDB.ts @@ -203,29 +203,33 @@ import { DynamoDBClient } from "./DynamoDBClient"; /** * Amazon DynamoDB * + *

Amazon DynamoDB is a fully managed NoSQL database service that provides fast + * and predictable performance with seamless scalability. DynamoDB lets you + * offload the administrative burdens of operating and scaling a distributed database, so + * that you don't have to worry about hardware provisioning, setup and configuration, + * replication, software patching, or cluster scaling.

* - *

Amazon DynamoDB is a fully managed NoSQL database service that provides fast and - * predictable performance with seamless scalability. DynamoDB lets you offload the - * administrative burdens of operating and scaling a distributed database, so that you don't have - * to worry about hardware provisioning, setup and configuration, replication, software patching, - * or cluster scaling.

+ *

With DynamoDB, you can create database tables that can store and retrieve + * any amount of data, and serve any level of request traffic. You can scale up or scale + * down your tables' throughput capacity without downtime or performance degradation, and + * use the Amazon Web Services Management Console to monitor resource utilization and performance + * metrics.

* - *

With DynamoDB, you can create database tables that can store and retrieve any amount of - * data, and serve any level of request traffic. You can scale up or scale down your tables' - * throughput capacity without downtime or performance degradation, and use the AWS Management - * Console to monitor resource utilization and performance metrics.

- * - *

DynamoDB automatically spreads the data and traffic for your tables over a sufficient - * number of servers to handle your throughput and storage requirements, while maintaining - * consistent and fast performance. All of your data is stored on solid state disks (SSDs) and - * automatically replicated across multiple Availability Zones in an AWS region, providing - * built-in high availability and data durability.

+ *

DynamoDB automatically spreads the data and traffic for your tables over + * a sufficient number of servers to handle your throughput and storage requirements, while + * maintaining consistent and fast performance. All of your data is stored on solid state + * disks (SSDs) and automatically replicated across multiple Availability Zones in an + * Amazon Web Services Region, providing built-in high availability and data + * durability.

*/ export class DynamoDB extends DynamoDBClient { /** - *

- * This operation allows you to perform batch reads and writes on data stored in DynamoDB, using PartiQL. - *

+ *

This operation allows you to perform batch reads or writes on data stored in DynamoDB, + * using PartiQL.

+ * + *

The entire batch must consist of either read statements or write statements, you + * cannot mix both in one batch.

+ *
*/ public batchExecuteStatement( args: BatchExecuteStatementCommandInput, @@ -257,49 +261,50 @@ export class DynamoDB extends DynamoDBClient { } /** - *

The BatchGetItem operation returns the attributes of one or more items from one or - * more tables. You identify requested items by primary key.

- *

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 + *

The BatchGetItem operation returns the attributes of one or more items + * from one or more tables. You identify requested items by primary key.

+ *

A single operation can retrieve up to 16 MB of data, which can contain as many as 100 * items. BatchGetItem returns a partial result if the response size limit is * exceeded, the table's provisioned throughput is exceeded, or an internal processing * failure occurs. If a partial result is returned, the operation returns a value for * UnprocessedKeys. You can use this value to retry the operation starting * with the next item to get.

- * + * *

If you request more than 100 items, BatchGetItem returns a * ValidationException with the message "Too many items requested for * the BatchGetItem call."

- *
- *

For example, if you ask to retrieve 100 items, but each individual item is 300 KB in + * + *

For example, if you ask to retrieve 100 items, but each individual item is 300 KB in * size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns * an appropriate UnprocessedKeys value so you can get the next page of * results. If desired, your application can include its own logic to assemble the pages of * results into one dataset.

- *

If none of the items can be processed due to insufficient + *

If none of the items can be processed due to insufficient * provisioned throughput on all of the tables in the request, then * BatchGetItem returns a * ProvisionedThroughputExceededException. If at least * one of the items is successfully processed, then * BatchGetItem completes successfully, while returning the keys of the * unread items in UnprocessedKeys.

- * - *

If DynamoDB returns any unprocessed items, you should retry the batch operation on those - * items. However, we strongly recommend that you use an exponential backoff algorithm. - * If you retry the batch operation immediately, the underlying read or write requests can - * still fail due to throttling on the individual tables. If you delay the batch operation - * using exponential backoff, the individual requests in the batch are much more likely to - * succeed.

- *

For more information, see Batch - * Operations and Error Handling in the Amazon DynamoDB Developer Guide.

- * - *

By default, BatchGetItem performs eventually consistent reads on every table in the - * request. If you want strongly consistent reads instead, you can set ConsistentRead to - * true for any or all tables.

- *

In order to minimize response latency, BatchGetItem retrieves items in parallel.

- *

When designing your application, keep in mind that DynamoDB does not return items in any - * particular order. To help parse the response by item, include the primary key values for the - * items in your request in the ProjectionExpression parameter.

- *

If a requested item does not exist, it is not returned in the result. Requests for + * + *

If DynamoDB returns any unprocessed items, you should retry the batch operation on + * those items. However, we strongly recommend that you use an exponential + * backoff algorithm. If you retry the batch operation immediately, the + * underlying read or write requests can still fail due to throttling on the individual + * tables. If you delay the batch operation using exponential backoff, the individual + * requests in the batch are much more likely to succeed.

+ *

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB + * Developer Guide.

+ * + *

By default, BatchGetItem performs eventually consistent reads on every + * table in the request. If you want strongly consistent reads instead, you can set + * ConsistentRead to true for any or all tables.

+ *

In order to minimize response latency, BatchGetItem retrieves items in + * parallel.

+ *

When designing your application, keep in mind that DynamoDB does not return items in + * any particular order. To help parse the response by item, include the primary key values + * for the items in your request in the ProjectionExpression parameter.

+ *

If a requested item does not exist, it is not returned in the result. Requests for * nonexistent items consume the minimum read capacity units according to the type of read. * For more information, see Working with Tables in the Amazon DynamoDB Developer * Guide.

@@ -331,79 +336,83 @@ export class DynamoDB extends DynamoDBClient { } /** - *

The BatchWriteItem operation puts or deletes multiple items in one or more - * tables. A single call to BatchWriteItem can write up to 16 MB of data, + *

The BatchWriteItem operation puts or deletes multiple items in one or + * more tables. A single call to BatchWriteItem can write up to 16 MB of data, * which can comprise as many as 25 put or delete requests. Individual items to be written * can be as large as 400 KB.

- * + * *

- * BatchWriteItem cannot update items. To update items, use the UpdateItem - * action.

- *
- *

The individual PutItem and DeleteItem operations specified in - * BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any - * requested operations fail because the table's provisioned throughput is exceeded or an - * internal processing failure occurs, the failed operations are returned in the - * UnprocessedItems response parameter. You can investigate and optionally resend the - * requests. Typically, you would call BatchWriteItem in a loop. Each iteration would - * check for unprocessed items and submit a new BatchWriteItem request with those - * unprocessed items until all items have been processed.

- *

If none of the items can be processed due to insufficient + * BatchWriteItem cannot update items. To update items, use the + * UpdateItem action.

+ *
+ *

The individual PutItem and DeleteItem operations specified + * in BatchWriteItem are atomic; however BatchWriteItem as a + * whole is not. If any requested operations fail because the table's provisioned + * throughput is exceeded or an internal processing failure occurs, the failed operations + * are returned in the UnprocessedItems response parameter. You can + * investigate and optionally resend the requests. Typically, you would call + * BatchWriteItem in a loop. Each iteration would check for unprocessed + * items and submit a new BatchWriteItem request with those unprocessed items + * until all items have been processed.

+ *

If none of the items can be processed due to insufficient * provisioned throughput on all of the tables in the request, then * BatchWriteItem returns a * ProvisionedThroughputExceededException.

- * - *

If DynamoDB returns any unprocessed items, you should retry the batch operation on those - * items. However, we strongly recommend that you use an exponential backoff algorithm. - * If you retry the batch operation immediately, the underlying read or write requests can - * still fail due to throttling on the individual tables. If you delay the batch operation - * using exponential backoff, the individual requests in the batch are much more likely to - * succeed.

+ * + *

If DynamoDB returns any unprocessed items, you should retry the batch operation on + * those items. However, we strongly recommend that you use an exponential + * backoff algorithm. If you retry the batch operation immediately, the + * underlying read or write requests can still fail due to throttling on the individual + * tables. If you delay the batch operation using exponential backoff, the individual + * requests in the batch are much more likely to succeed.

*

For more information, see Batch Operations and Error Handling in the Amazon DynamoDB * Developer Guide.

- *
+ *
* - *

With BatchWriteItem, you can efficiently write or delete large amounts of + *

With BatchWriteItem, you can efficiently write or delete large amounts of * data, such as from Amazon EMR, or copy data from another database into DynamoDB. In * order to improve performance with these large-scale operations, * BatchWriteItem does not behave in the same way as individual * PutItem and DeleteItem calls would. For example, you * cannot specify conditions on individual put and delete requests, and * BatchWriteItem does not return deleted items in the response.

- *

If you use a programming language that supports concurrency, you can use - * threads to write items in parallel. Your application must include the necessary logic to - * manage the threads. With languages that don't support threading, you must update - * or delete the specified items one at a time. In both situations, BatchWriteItem - * performs the specified put and delete operations in - * parallel, giving you the power of the thread pool approach without having to introduce - * complexity into your application.

- *

Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.

- *

If one or more of the following is true, DynamoDB rejects the entire batch write operation:

- *
    + *

    If you use a programming language that supports concurrency, you can use threads to + * write items in parallel. Your application must include the necessary logic to manage the + * threads. With languages that don't support threading, you must update or delete the + * specified items one at a time. In both situations, BatchWriteItem performs + * the specified put and delete operations in parallel, giving you the power of the thread + * pool approach without having to introduce complexity into your application.

    + *

    Parallel processing reduces latency, but each specified put and delete request + * consumes the same number of write capacity units whether it is processed in parallel or + * not. Delete operations on nonexistent items consume one write capacity unit.

    + *

    If one or more of the following is true, DynamoDB rejects the entire batch write + * operation:

    + *
      *
    • - *

      One or more tables specified in the BatchWriteItem request does not exist.

      + *

      One or more tables specified in the BatchWriteItem request does + * not exist.

      *
    • *
    • - *

      Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.

      + *

      Primary key attributes specified on an item in the request do not match those + * in the corresponding table's primary key schema.

      *
    • *
    • - *

      You try to perform multiple operations on the same item in the same BatchWriteItem - * request. For example, you cannot put and delete the same item in the same - * BatchWriteItem request.

      + *

      You try to perform multiple operations on the same item in the same + * BatchWriteItem request. For example, you cannot put and delete + * the same item in the same BatchWriteItem request.

      *
    • *
    • - *

      - * Your request contains at least two items with identical hash and range keys (which essentially is two put operations). - *

      - *
    • + *

      Your request contains at least two items with identical hash and range keys + * (which essentially is two put operations).

      + * *
    • - *

      There are more than 25 requests in the batch.

      + *

      There are more than 25 requests in the batch.

      *
    • *
    • - *

      Any individual item in a batch exceeds 400 KB.

      + *

      Any individual item in a batch exceeds 400 KB.

      *
    • *
    • - *

      The total request size exceeds 16 MB.

      + *

      The total request size exceeds 16 MB.

      *
    • *
    */ @@ -438,34 +447,34 @@ export class DynamoDB extends DynamoDBClient { /** *

    Creates a backup for an existing table.

    - *

    Each time you create an on-demand backup, the entire table data is backed up. There + *

    Each time you create an on-demand backup, the entire table data is backed up. There * is no limit to the number of on-demand backups that can be taken.

    - *

    When you create an on-demand backup, a time marker of the request is cataloged, and + *

    When you create an on-demand backup, a time marker of the request is cataloged, and * the backup is created asynchronously, by applying all changes until the time of the * request to the last full table snapshot. Backup requests are processed instantaneously * and become available for restore within minutes.

    - *

    You can call CreateBackup at a maximum rate of 50 times per second.

    - *

    All backups in DynamoDB work without consuming any provisioned throughput on the table.

    - *

    If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed - * to contain all data committed to the table up to 14:24:00, and data committed after + *

    You can call CreateBackup at a maximum rate of 50 times per + * second.

    + *

    All backups in DynamoDB work without consuming any provisioned throughput on the + * table.

    + *

    If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to + * contain all data committed to the table up to 14:24:00, and data committed after * 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 * and 14:26:00. On-demand backup does not support causal consistency.

    - *

    - * Along with data, the following are also included on the backups: - *

    - *
      + *

      Along with data, the following are also included on the backups:

      + *
        *
      • - *

        Global secondary indexes (GSIs)

        - *
      • + *

        Global secondary indexes (GSIs)

        + * *
      • - *

        Local secondary indexes (LSIs)

        - *
      • + *

        Local secondary indexes (LSIs)

        + * *
      • - *

        Streams

        - *
      • + *

        Streams

        + * *
      • - *

        Provisioned read and write capacity

        - *
      • + *

        Provisioned read and write capacity

        + * *
      */ public createBackup( @@ -498,71 +507,60 @@ export class DynamoDB extends DynamoDBClient { *

      Creates a global table from an existing table. A global table creates a replication * relationship between two or more DynamoDB tables with the same table name in the * provided Regions.

      - * - *

      This operation only applies to Version 2017.11.29 of global tables.

      - *
      + * + *

      This operation only applies to Version + * 2017.11.29 of global tables.

      + *
      * - *

      If you want to add a new replica table to a global table, each of the following conditions - * must be true:

      - *
        + *

        If you want to add a new replica table to a global table, each of the following + * conditions must be true:

        + *
          *
        • - *

          The table must have the same primary key as all of the other replicas.

          + *

          The table must have the same primary key as all of the other replicas.

          *
        • *
        • - *

          The table must have the same name as all of the other replicas.

          + *

          The table must have the same name as all of the other replicas.

          *
        • *
        • - *

          The table must have DynamoDB Streams enabled, with the stream containing both the new and the old - * images of the item.

          + *

          The table must have DynamoDB Streams enabled, with the stream containing both + * the new and the old images of the item.

          *
        • *
        • - *

          None of the replica tables in the global table can contain any data.

          + *

          None of the replica tables in the global table can contain any data.

          *
        • *
        - *

        - * If global secondary indexes are specified, then the following conditions must also be met: - *

        + *

        If global secondary indexes are specified, then the following conditions must also be + * met:

        *
          *
        • - *

          - * The global secondary indexes must have the same name. - *

          + *

          The global secondary indexes must have the same name.

          *
        • *
        • - *

          - * The global secondary indexes must have the same hash key and sort key (if present). - *

          + *

          The global secondary indexes must have the same hash key and sort key (if + * present).

          *
        • *
        - *

        - * If local secondary indexes are specified, then the following conditions must also be met: - *

        + *

        If local secondary indexes are specified, then the following conditions must also be + * met:

        *
          *
        • - *

          - * The local secondary indexes must have the same name. - *

          + *

          The local secondary indexes must have the same name.

          *
        • *
        • - *

          - * The local secondary indexes must have the same hash key and sort key (if present). - *

          + *

          The local secondary indexes must have the same hash key and sort key (if + * present).

          *
        • *
        * - * - *

        - * Write capacity settings should be set consistently across your replica tables and - * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write - * capacity settings for all of your global tables replicas and indexes. - *

        - *

        - * If you prefer to manage write capacity settings manually, you should provision equal - * replicated write capacity units to your replica tables. You should also provision - * equal replicated write capacity units to matching secondary indexes across - * your global table. - *

        - *
        + * + *

        Write capacity settings should be set consistently across your replica tables and + * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the + * write capacity settings for all of your global tables replicas and indexes.

        + *

        If you prefer to manage write capacity settings manually, you should provision + * equal replicated write capacity units to your replica tables. You should also + * provision equal replicated write capacity units to matching secondary indexes across + * your global table.

        + *
        */ public createGlobalTable( args: CreateGlobalTableCommandInput, @@ -594,19 +592,19 @@ export class DynamoDB extends DynamoDBClient { } /** - *

        The CreateTable operation adds a new table to your account. In an AWS - * account, table names must be unique within each Region. That is, you can have two tables - * with same name if you create the tables in different Regions.

        - *

        - * CreateTable is an asynchronous operation. Upon receiving a CreateTable request, - * DynamoDB immediately returns a response with a TableStatus of CREATING. After - * the table is created, DynamoDB sets the TableStatus to ACTIVE. You can - * perform read and write operations only on an ACTIVE table.

        - *

        You can optionally define secondary indexes on the new table, as part of the CreateTable - * operation. If you want to create multiple tables with secondary indexes on them, you must create the - * tables sequentially. Only one table with secondary indexes can be in the CREATING state at - * any given time.

        - *

        You can use the DescribeTable action to check the table status.

        + *

        The CreateTable operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can + * have two tables with same name if you create the tables in different Regions.

        + *

        + * CreateTable is an asynchronous operation. Upon receiving a + * CreateTable request, DynamoDB immediately returns a response with a + * TableStatus of CREATING. After the table is created, + * DynamoDB sets the TableStatus to ACTIVE. You can perform read + * and write operations only on an ACTIVE table.

        + *

        You can optionally define secondary indexes on the new table, as part of the + * CreateTable operation. If you want to create multiple tables with + * secondary indexes on them, you must create the tables sequentially. Only one table with + * secondary indexes can be in the CREATING state at any given time.

        + *

        You can use the DescribeTable action to check the table status.

        */ public createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise; public createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void; @@ -633,7 +631,8 @@ export class DynamoDB extends DynamoDBClient { /** *

        Deletes an existing backup of a table.

        - *

        You can call DeleteBackup at a maximum rate of 10 times per second.

        + *

        You can call DeleteBackup at a maximum rate of 10 times per + * second.

        */ public deleteBackup( args: DeleteBackupCommandInput, @@ -662,12 +661,17 @@ export class DynamoDB extends DynamoDBClient { } /** - *

        Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.

        - *

        In addition to deleting an item, you can also return the item's attribute values in the same - * operation, using the ReturnValues parameter.

        - *

        Unless you specify conditions, the DeleteItem is an idempotent operation; running it - * multiple times on the same item or attribute does not result in an error response.

        - *

        Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.

        + *

        Deletes a single item in a table by primary key. You can perform a conditional delete + * operation that deletes the item if it exists, or if it has an expected attribute + * value.

        + *

        In addition to deleting an item, you can also return the item's attribute values in + * the same operation, using the ReturnValues parameter.

        + *

        Unless you specify conditions, the DeleteItem is an idempotent operation; + * running it multiple times on the same item or attribute does not + * result in an error response.

        + *

        Conditional deletes are useful for deleting items only if specific conditions are met. + * If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not + * deleted.

        */ public deleteItem(args: DeleteItemCommandInput, options?: __HttpHandlerOptions): Promise; public deleteItem(args: DeleteItemCommandInput, cb: (err: any, data?: DeleteItemCommandOutput) => void): void; @@ -694,22 +698,24 @@ export class DynamoDB extends DynamoDBClient { /** *

        The DeleteTable operation deletes a table and all of its items. After a - * DeleteTable request, the specified table is in the DELETING state until - * DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete - * it. If a table is in CREATING or UPDATING states, then DynamoDB returns - * a ResourceInUseException. If the specified table does not exist, DynamoDB returns a - * ResourceNotFoundException. If table is already in the DELETING state, no - * error is returned.

        - * - *

        DynamoDB might continue to accept data read and write operations, such as GetItem and - * PutItem, on a table in the DELETING state until the table deletion is - * complete.

        - *
        - *

        When you delete a table, any indexes on that table are also deleted.

        - *

        If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes - * into the DISABLED state, and the stream is automatically deleted after 24 hours.

        + * DeleteTable request, the specified table is in the + * DELETING state until DynamoDB completes the deletion. If the table is + * in the ACTIVE state, you can delete it. If a table is in + * CREATING or UPDATING states, then DynamoDB returns a + * ResourceInUseException. If the specified table does not exist, DynamoDB + * returns a ResourceNotFoundException. If table is already in the + * DELETING state, no error is returned.

        + * + *

        DynamoDB might continue to accept data read and write operations, such as + * GetItem and PutItem, on a table in the + * DELETING state until the table deletion is complete.

        + *
        + *

        When you delete a table, any indexes on that table are also deleted.

        + *

        If you have DynamoDB Streams enabled on the table, then the corresponding stream on + * that table goes into the DISABLED state, and the stream is automatically + * deleted after 24 hours.

        * - *

        Use the DescribeTable action to check the status of the table.

        + *

        Use the DescribeTable action to check the status of the table.

        */ public deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise; public deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void; @@ -736,7 +742,8 @@ export class DynamoDB extends DynamoDBClient { /** *

        Describes an existing backup of a table.

        - *

        You can call DescribeBackup at a maximum rate of 10 times per second.

        + *

        You can call DescribeBackup at a maximum rate of 10 times per + * second.

        */ public describeBackup( args: DescribeBackupCommandInput, @@ -768,17 +775,18 @@ export class DynamoDB extends DynamoDBClient { } /** - *

        Checks the status of continuous backups and point in time recovery on the specified table. - * Continuous backups are ENABLED on all tables at table creation. - * If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

        - *

        After continuous backups and point in time recovery are enabled, you can restore to any - * point in time within EarliestRestorableDateTime and + *

        Checks the status of continuous backups and point in time recovery on the specified + * table. Continuous backups are ENABLED on all tables at table creation. If + * point in time recovery is enabled, PointInTimeRecoveryStatus will be set to + * ENABLED.

        + *

        After continuous backups and point in time recovery are enabled, you can restore to + * any point in time within EarliestRestorableDateTime and * LatestRestorableDateTime.

        - *

        - * LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point - * in time during the last 35 days. - *

        - *

        You can call DescribeContinuousBackups at a maximum rate of 10 times per second.

        + *

        + * LatestRestorableDateTime is typically 5 minutes before the current time. + * You can restore your table to any point in time during the last 35 days.

        + *

        You can call DescribeContinuousBackups at a maximum rate of 10 times per + * second.

        */ public describeContinuousBackups( args: DescribeContinuousBackupsCommandInput, @@ -810,7 +818,8 @@ export class DynamoDB extends DynamoDBClient { } /** - *

        Returns information about contributor insights, for a given table or global secondary index.

        + *

        Returns information about contributor insights, for a given table or global secondary + * index.

        */ public describeContributorInsights( args: DescribeContributorInsightsCommandInput, @@ -907,10 +916,11 @@ export class DynamoDB extends DynamoDBClient { /** *

        Returns information about the specified global table.

        - * - *

        This operation only applies to Version 2017.11.29 of global tables. - * If you are using global tables Version 2019.11.21 you can use DescribeTable instead.

        - *
        + * + *

        This operation only applies to Version + * 2017.11.29 of global tables. If you are using global tables Version + * 2019.11.21 you can use DescribeTable instead.

        + *
        */ public describeGlobalTable( args: DescribeGlobalTableCommandInput, @@ -943,9 +953,10 @@ export class DynamoDB extends DynamoDBClient { /** *

        Describes Region-specific settings for a global table.

        - * - *

        This operation only applies to Version 2017.11.29 of global tables.

        - *
        + * + *

        This operation only applies to Version + * 2017.11.29 of global tables.

        + *
        */ public describeGlobalTableSettings( args: DescribeGlobalTableSettingsCommandInput, @@ -1009,70 +1020,80 @@ export class DynamoDB extends DynamoDBClient { } /** - *

        Returns the current provisioned-capacity quotas for your AWS account in a Region, both - * for the Region as a whole and for any one DynamoDB table that you create there.

        - *

        When you establish an AWS account, the account has initial quotas on the maximum read - * capacity units and write capacity units that you can provision across all of your - * DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you - * create a table there. For more information, see Service, Account, and Table - * Quotas page in the Amazon DynamoDB Developer - * Guide.

        + *

        Returns the current provisioned-capacity quotas for your Amazon Web Services account in + * a Region, both for the Region as a whole and for any one DynamoDB table that you create + * there.

        + *

        When you establish an Amazon Web Services account, the account has initial quotas on + * the maximum read capacity units and write capacity units that you can provision across + * all of your DynamoDB tables in a given Region. Also, there are per-table + * quotas that apply when you create a table there. For more information, see Service, + * Account, and Table Quotas page in the Amazon DynamoDB + * Developer Guide.

        * - *

        Although you can increase these quotas by filing a case at AWS Support Center, obtaining the increase is not - * instantaneous. The DescribeLimits action lets you write code to compare the - * capacity you are currently using to those quotas imposed by your account so that you - * have enough time to apply for an increase before you hit a quota.

        + *

        Although you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the + * increase is not instantaneous. The DescribeLimits action lets you write + * code to compare the capacity you are currently using to those quotas imposed by your + * account so that you have enough time to apply for an increase before you hit a + * quota.

        * - *

        For example, you could use one of the AWS SDKs to do the following:

        + *

        For example, you could use one of the Amazon Web Services SDKs to do the + * following:

        * - *
          + *
            *
          1. - *

            Call DescribeLimits for a particular Region to obtain your current - * account quotas on provisioned capacity there.

            + *

            Call DescribeLimits for a particular Region to obtain your + * current account quotas on provisioned capacity there.

            *
          2. *
          3. - *

            Create a variable to hold the aggregate read capacity units provisioned for all - * your tables in that Region, and one to hold the aggregate write capacity units. - * Zero them both.

            + *

            Create a variable to hold the aggregate read capacity units provisioned for + * all your tables in that Region, and one to hold the aggregate write capacity + * units. Zero them both.

            *
          4. *
          5. - *

            Call ListTables to obtain a list of all your DynamoDB tables.

            + *

            Call ListTables to obtain a list of all your DynamoDB + * tables.

            *
          6. *
          7. - *

            For each table name listed by ListTables, do the following:

            - *
              + *

              For each table name listed by ListTables, do the + * following:

              + *
                *
              • - *

                Call DescribeTable with the table name.

                - *
              • + *

                Call DescribeTable with the table name.

                + * *
              • - *

                Use the data returned by DescribeTable to add the read capacity units and write capacity - * units provisioned for the table itself to your variables.

                - *
              • + *

                Use the data returned by DescribeTable to add the read + * capacity units and write capacity units provisioned for the table itself + * to your variables.

                + * *
              • - *

                If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.

                - *
              • + *

                If the table has one or more global secondary indexes (GSIs), loop + * over these GSIs and add their provisioned capacity values to your + * variables as well.

                + * *
              * *
            • - *

              Report the account quotas for that Region returned by DescribeLimits, along with - * the total current provisioned capacity levels you have calculated.

              + *

              Report the account quotas for that Region returned by + * DescribeLimits, along with the total current provisioned + * capacity levels you have calculated.

              *
            • *
          * - *

          This will let you see whether you are getting close to your account-level quotas.

          - *

          The per-table quotas apply only when you are creating a new table. They restrict the sum - * of the provisioned capacity of the new table itself and all its global secondary + *

          This will let you see whether you are getting close to your account-level + * quotas.

          + *

          The per-table quotas apply only when you are creating a new table. They restrict the + * sum of the provisioned capacity of the new table itself and all its global secondary * indexes.

          - *

          For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned + *

          For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned * capacity extremely rapidly, but the only quota that applies is that the aggregate * provisioned capacity over all your tables and GSIs cannot exceed either of the * per-account quotas.

          - * + * *

          - * DescribeLimits should only be called periodically. You can expect throttling - * errors if you call it more than once in a minute.

          - *
          - *

          The DescribeLimits Request element has no content.

          + * DescribeLimits should only be called periodically. You can expect + * throttling errors if you call it more than once in a minute.

          + *
          + *

          The DescribeLimits Request element has no content.

          */ public describeLimits( args: DescribeLimitsCommandInput, @@ -1104,13 +1125,16 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.

          - * - *

          If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might - * return a ResourceNotFoundException. This is because DescribeTable uses an eventually - * consistent query, and the metadata for your table might not be available at that moment. - * Wait for a few seconds, and then try the DescribeTable request again.

          - *
          + *

          Returns information about the table, including the current status of the table, when + * it was created, the primary key schema, and any indexes on the table.

          + * + *

          If you issue a DescribeTable request immediately after a + * CreateTable request, DynamoDB might return a + * ResourceNotFoundException. This is because + * DescribeTable uses an eventually consistent query, and the metadata + * for your table might not be available at that moment. Wait for a few seconds, and + * then try the DescribeTable request again.

          + *
          */ public describeTable( args: DescribeTableCommandInput, @@ -1143,9 +1167,10 @@ export class DynamoDB extends DynamoDBClient { /** *

          Describes auto scaling settings across replicas of the global table at once.

          - * - *

          This operation only applies to Version 2019.11.21 of global tables.

          - *
          + * + *

          This operation only applies to Version + * 2019.11.21 of global tables.

          + *
          */ public describeTableReplicaAutoScaling( args: DescribeTableReplicaAutoScalingCommandInput, @@ -1242,10 +1267,10 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          Starts table data replication to the specified Kinesis data stream at a timestamp chosen - * during the enable workflow. If this operation doesn't return results immediately, use - * DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream is - * ACTIVE.

          + *

          Starts table data replication to the specified Kinesis data stream at a timestamp + * chosen during the enable workflow. If this operation doesn't return results immediately, + * use DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream + * is ACTIVE.

          */ public enableKinesisStreamingDestination( args: EnableKinesisStreamingDestinationCommandInput, @@ -1277,9 +1302,8 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          - * This operation allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL. - *

          + *

          This operation allows you to perform reads and singleton writes on data stored in + * DynamoDB, using PartiQL.

          */ public executeStatement( args: ExecuteStatementCommandInput, @@ -1311,9 +1335,14 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          - * This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL. - *

          + *

          This operation allows you to perform transactional reads or writes on data stored in + * DynamoDB, using PartiQL.

          + * + *

          The entire transaction must consist of either read statements or write statements, + * you cannot mix both in one transaction. The EXISTS function is an exception and can + * be used to check the condition of specific attributes of the item in a similar + * manner to ConditionCheck in the TransactWriteItems API.

          + *
          */ public executeTransaction( args: ExecuteTransactionCommandInput, @@ -1379,13 +1408,14 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          The GetItem operation returns a set of attributes for the item with the given primary - * key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.

          - *

          - * GetItem provides an eventually consistent read by default. If your application - * requires a strongly consistent read, set ConsistentRead to true. Although - * a strongly consistent read might take more time than an eventually consistent read, it always - * returns the last updated value.

          + *

          The GetItem operation returns a set of attributes for the item with the + * given primary key. If there is no matching item, GetItem does not return + * any data and there will be no Item element in the response.

          + *

          + * GetItem provides an eventually consistent read by default. If your + * application requires a strongly consistent read, set ConsistentRead to + * true. Although a strongly consistent read might take more time than an + * eventually consistent read, it always returns the last updated value.

          */ public getItem(args: GetItemCommandInput, options?: __HttpHandlerOptions): Promise; public getItem(args: GetItemCommandInput, cb: (err: any, data?: GetItemCommandOutput) => void): void; @@ -1411,13 +1441,13 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          List backups associated with an AWS account. To list backups for a given table, specify - * TableName. ListBackups returns a paginated list of results - * with at most 1 MB worth of items in a page. You can also specify a maximum number of - * entries to be returned in a page.

          - *

          In the request, start time is inclusive, but end time is exclusive. Note that these + *

          List backups associated with an Amazon Web Services account. To list backups for a + * given table, specify TableName. ListBackups returns a + * paginated list of results with at most 1 MB worth of items in a page. You can also + * specify a maximum number of entries to be returned in a page.

          + *

          In the request, start time is inclusive, but end time is exclusive. Note that these * boundaries are for the time at which the original backup was requested.

          - *

          You can call ListBackups a maximum of five times per second.

          + *

          You can call ListBackups a maximum of five times per second.

          */ public listBackups(args: ListBackupsCommandInput, options?: __HttpHandlerOptions): Promise; public listBackups(args: ListBackupsCommandInput, cb: (err: any, data?: ListBackupsCommandOutput) => void): void; @@ -1443,7 +1473,8 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.

          + *

          Returns a list of ContributorInsightsSummary for a table and all its global secondary + * indexes.

          */ public listContributorInsights( args: ListContributorInsightsCommandInput, @@ -1502,9 +1533,10 @@ export class DynamoDB extends DynamoDBClient { /** *

          Lists all global tables that have a replica in the specified Region.

          - * - *

          This operation only applies to Version 2017.11.29 of global tables.

          - *
          + * + *

          This operation only applies to Version + * 2017.11.29 of global tables.

          + *
          */ public listGlobalTables( args: ListGlobalTablesCommandInput, @@ -1536,9 +1568,9 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          Returns an array of table names associated with the current account and endpoint. The output - * from ListTables is paginated, with each page returning a maximum of 100 table - * names.

          + *

          Returns an array of table names associated with the current account and endpoint. The + * output from ListTables is paginated, with each page returning a maximum of + * 100 table names.

          */ public listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise; public listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void; @@ -1564,10 +1596,10 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

          - *

          For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

          + *

          List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 + * times per second, per account.

          + *

          For an overview on tagging DynamoDB resources, see Tagging for DynamoDB + * in the Amazon DynamoDB Developer Guide.

          */ public listTagsOfResource( args: ListTagsOfResourceCommandInput, @@ -1599,74 +1631,81 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter.

          - * + *

          Creates a new item, or replaces an old item with a new item. If an item that has the + * same primary key as the new item already exists in the specified table, the new item + * completely replaces the existing item. You can perform a conditional put operation (add + * a new item if one with the specified primary key doesn't exist), or replace an existing + * item if it has certain attribute values. You can return the item's attribute values in + * the same operation, using the ReturnValues parameter.

          + * *

          This topic provides general information about the PutItem API.

          - *

          For information on how to call the PutItem API using the AWS SDK in specific languages, see the following:

          + *

          For information on how to call the PutItem API using the Amazon Web Services SDK in specific languages, see the following:

          * - *
          + *
          * - *

          When you add an item, the primary key attributes are the only required attributes. + *

          When you add an item, the primary key attributes are the only required attributes. * Attribute values cannot be null.

          - *

          Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. - * Set type attributes cannot be empty.

          - *

          Invalid Requests with empty values will - * be rejected with a ValidationException exception.

          - * - *

          To prevent a new item from replacing an existing item, use a conditional expression - * that contains the attribute_not_exists function with the name of the - * attribute being used as the partition key for the table. Since every record must contain - * that attribute, the attribute_not_exists function will only succeed if - * no matching item exists.

          - *
          - *

          For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.

          + *

          Empty String and Binary attribute values are allowed. Attribute values of type String + * and Binary must have a length greater than zero if the attribute is used as a key + * attribute for a table or index. Set type attributes cannot be empty.

          + *

          Invalid Requests with empty values will be rejected with a + * ValidationException exception.

          + * + *

          To prevent a new item from replacing an existing item, use a conditional + * expression that contains the attribute_not_exists function with the + * name of the attribute being used as the partition key for the table. Since every + * record must contain that attribute, the attribute_not_exists function + * will only succeed if no matching item exists.

          + *
          + *

          For more information about PutItem, see Working with + * Items in the Amazon DynamoDB Developer Guide.

          */ public putItem(args: PutItemCommandInput, options?: __HttpHandlerOptions): Promise; public putItem(args: PutItemCommandInput, cb: (err: any, data?: PutItemCommandOutput) => void): void; @@ -1692,62 +1731,58 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          The Query operation finds items based on primary key values. - * You can query any table or secondary index that has a composite primary key (a partition - * key and a sort key). - *

          - *

          Use the KeyConditionExpression parameter to provide a specific value - * for the partition key. The Query operation will return all of the items - * from the table or index with that partition key value. You can optionally narrow the - * scope of the Query operation by specifying a sort key value and a - * comparison operator in KeyConditionExpression. To further refine the Query results, - * you can optionally provide a FilterExpression. A FilterExpression determines which items - * within the results should be returned to you. All of the other results are discarded. - *

          - *

          - * A Query operation always returns a result set. If no matching items are found, - * the result set will be empty. Queries that do not return results consume the minimum number of - * read capacity units for that type of read operation. - *

          + *

          You must provide the name of the partition key attribute and a single value for that + * attribute. Query returns all items with that partition key value. + * Optionally, you can provide a sort key attribute and use a comparison operator to refine + * the search results.

          + * + *

          Use the KeyConditionExpression parameter to provide a specific value for + * the partition key. The Query operation will return all of the items from + * the table or index with that partition key value. You can optionally narrow the scope of + * the Query operation by specifying a sort key value and a comparison + * operator in KeyConditionExpression. To further refine the + * Query results, you can optionally provide a + * FilterExpression. A FilterExpression determines which + * items within the results should be returned to you. All of the other results are + * discarded.

          + *

          A Query operation always returns a result set. If no matching items are + * found, the result set will be empty. Queries that do not return results consume the + * minimum number of read capacity units for that type of read operation.

          * - *

          - * DynamoDB calculates the number of read capacity units consumed based on item size, - * not on the amount of data that is returned to an application. The number of capacity - * units consumed will be the same whether you request all of the attributes (the default behavior) - * or just some of them (using a projection expression). The number will also be the same - * whether or not you use a FilterExpression. + *

          DynamoDB calculates the number of read capacity units consumed based on item + * size, not on the amount of data that is returned to an application. The number of + * capacity units consumed will be the same whether you request all of the attributes + * (the default behavior) or just some of them (using a projection expression). The + * number will also be the same whether or not you use a FilterExpression. *

          *
          *

          - * Query results are always sorted by the sort key value. If the data type of the sort key is Number, - * the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. - * By default, the sort order is ascending. To reverse the order, set the ScanIndexForward parameter - * to false. - *

          - *

          A single Query operation will read up to the maximum number of items - * set (if using the Limit parameter) or a maximum of 1 MB of data and then - * apply any filtering to the results using FilterExpression. If + * Query results are always sorted by the sort key value. If the data type of + * the sort key is Number, the results are returned in numeric order; otherwise, the + * results are returned in order of UTF-8 bytes. By default, the sort order is ascending. + * To reverse the order, set the ScanIndexForward parameter to false.

          + *

          A single Query operation will read up to the maximum number of items set + * (if using the Limit parameter) or a maximum of 1 MB of data and then apply + * any filtering to the results using FilterExpression. If * LastEvaluatedKey is present in the response, you will need to paginate * the result set. For more information, see Paginating * the Results in the Amazon DynamoDB Developer Guide.

          *

          * FilterExpression is applied after a Query finishes, but before - * the results are returned. - * A FilterExpression cannot contain partition key or sort key attributes. - * You need to specify those attributes in the KeyConditionExpression. - *

          + * the results are returned. A FilterExpression cannot contain partition key + * or sort key attributes. You need to specify those attributes in the + * KeyConditionExpression.

          * - *

          - * A Query operation can return an empty result set and a LastEvaluatedKey - * if all the items read for the page of results are filtered out. - *

          + *

          A Query operation can return an empty result set and a + * LastEvaluatedKey if all the items read for the page of results are + * filtered out.

          *
          *

          You can query a table, a local secondary index, or a global secondary index. For a * query on a table or on a local secondary index, you can set the - * ConsistentRead parameter to true and obtain a - * strongly consistent result. Global secondary indexes support eventually consistent reads - * only, so do not specify ConsistentRead when querying a global - * secondary index.

          + * ConsistentRead parameter to true and obtain a strongly + * consistent result. Global secondary indexes support eventually consistent reads only, so + * do not specify ConsistentRead when querying a global secondary + * index.

          */ public query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise; public query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void; @@ -1773,30 +1808,30 @@ export class DynamoDB extends DynamoDBClient { } /** - *

          Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores - * (any type of restore) in a given account. - *

          - *

          You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

          - *

          You must manually set up the following on the restored table:

          - *
            + *

            Creates a new table from an existing backup. Any number of users can execute up to 4 + * concurrent restores (any type of restore) in a given account.

            + *

            You can call RestoreTableFromBackup at a maximum rate of 10 times per + * second.

            + *

            You must manually set up the following on the restored table:

            + *
              *
            • - *

              Auto scaling policies

              - *
            • + *

              Auto scaling policies

              + * *
            • - *

              IAM policies

              - *
            • + *

              IAM policies

              + * *
            • - *

              Amazon CloudWatch metrics and alarms

              - *
            • + *

              Amazon CloudWatch metrics and alarms

              + * *
            • - *

              Tags

              - *
            • + *

              Tags

              + * *
            • - *

              Stream settings

              - *
            • + *

              Stream settings

              + * *
            • - *

              Time to Live (TTL) settings

              - *
            • + *

              Time to Live (TTL) settings

              + * *
            */ public restoreTableFromBackup( @@ -1830,60 +1865,55 @@ export class DynamoDB extends DynamoDBClient { /** *

            Restores the specified table to the specified point in time within - * EarliestRestorableDateTime and LatestRestorableDateTime. - * You can restore your table to any point in time during the last 35 days. - * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. - *

            - *

            - * When you restore using point in time recovery, DynamoDB restores your table data to the state based on - * the selected date and time (day:hour:minute:second) to a new table. - *

            - *

            - * Along with data, the following are also included on the new restored table using point in time recovery: - *

            + * EarliestRestorableDateTime and LatestRestorableDateTime. + * You can restore your table to any point in time during the last 35 days. Any number of + * users can execute up to 4 concurrent restores (any type of restore) in a given account.

            + *

            When you restore using point in time recovery, DynamoDB restores your table data to + * the state based on the selected date and time (day:hour:minute:second) to a new table.

            + *

            Along with data, the following are also included on the new restored table using + * point in time recovery:

            *
              *
            • - *

              Global secondary indexes (GSIs)

              - *
            • + *

              Global secondary indexes (GSIs)

              + * *
            • - *

              Local secondary indexes (LSIs)

              - *
            • + *

              Local secondary indexes (LSIs)

              + * *
            • - *

              Provisioned read and write capacity

              - *
            • + *

              Provisioned read and write capacity

              + * *
            • - *

              Encryption settings

              - * - *

              - * All these settings come from the current settings of the source table at the time of restore. - *

              - *
              - *
            • + *

              Encryption settings

              + * + *

              All these settings come from the current settings of the source table at + * the time of restore.

              + *
              + * *
            * - *

            You must manually set up the following on the restored table:

            - *
              + *

              You must manually set up the following on the restored table:

              + *
                *
              • - *

                Auto scaling policies

                - *
              • + *

                Auto scaling policies

                + * *
              • - *

                IAM policies

                - *
              • + *

                IAM policies

                + * *
              • - *

                Amazon CloudWatch metrics and alarms

                - *
              • + *

                Amazon CloudWatch metrics and alarms

                + * *
              • - *

                Tags

                - *
              • + *

                Tags

                + * *
              • - *

                Stream settings

                - *
              • + *

                Stream settings

                + * *
              • - *

                Time to Live (TTL) settings

                - *
              • + *

                Time to Live (TTL) settings

                + * *
              • - *

                Point in time recovery settings

                - *
              • + *

                Point in time recovery settings

                + * *
              */ public restoreTableToPointInTime( @@ -1916,31 +1946,32 @@ export class DynamoDB extends DynamoDBClient { } /** - *

              The Scan operation returns one or more items and item attributes by accessing every - * item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation.

              - *

              If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the - * scan stops and results are returned to the user as a LastEvaluatedKey value - * to continue the scan in a subsequent operation. The results also include the number of - * items exceeding the limit. A scan can result in no table data meeting the filter - * criteria.

              - *

              A single Scan operation reads up to the maximum number of items set (if + *

              The Scan operation returns one or more items and item attributes by + * accessing every item in a table or a secondary index. To have DynamoDB return fewer + * items, you can provide a FilterExpression operation.

              + *

              If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, + * the scan stops and results are returned to the user as a LastEvaluatedKey + * value to continue the scan in a subsequent operation. The results also include the + * number of items exceeding the limit. A scan can result in no table data meeting the + * filter criteria.

              + *

              A single Scan operation reads up to the maximum number of items set (if * using the Limit parameter) or a maximum of 1 MB of data and then apply any * filtering to the results using FilterExpression. If * LastEvaluatedKey is present in the response, you need to paginate the * result set. For more information, see Paginating the * Results in the Amazon DynamoDB Developer Guide.

              - *

              + *

              * Scan operations proceed sequentially; however, for faster performance on * a large table or secondary index, applications can request a parallel Scan * operation by providing the Segment and TotalSegments * parameters. For more information, see Parallel * Scan in the Amazon DynamoDB Developer Guide.

              - *

              - * Scan uses eventually consistent reads when accessing the data in a - * table; therefore, the result set might not include the changes to data in the table - * immediately before the operation began. If you need a consistent copy of the data, as of - * the time that the Scan begins, you can set the ConsistentRead - * parameter to true.

              + *

              + * Scan uses eventually consistent reads when accessing the data in a table; + * therefore, the result set might not include the changes to data in the table immediately + * before the operation began. If you need a consistent copy of the data, as of the time + * that the Scan begins, you can set the ConsistentRead parameter + * to true.

              */ public scan(args: ScanCommandInput, options?: __HttpHandlerOptions): Promise; public scan(args: ScanCommandInput, cb: (err: any, data?: ScanCommandOutput) => void): void; @@ -1970,9 +2001,8 @@ export class DynamoDB extends DynamoDBClient { * user-defined tags so that they appear on the Billing and Cost Management console for * cost allocation tracking. You can call TagResource up to five times per second, per * account.

              - *

              For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

              + *

              For an overview on tagging DynamoDB resources, see Tagging for DynamoDB + * in the Amazon DynamoDB Developer Guide.

              */ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; @@ -2005,23 +2035,24 @@ export class DynamoDB extends DynamoDBClient { * TransactGetItem objects, each of which contains a Get * structure that specifies an item to retrieve from a table in the account and Region. A * call to TransactGetItems cannot retrieve items from tables in more than one - * AWS account or Region. The aggregate size of the items in the transaction cannot exceed - * 4 MB.

              - *

              DynamoDB rejects the entire TransactGetItems request if any of the following is true:

              - *
                + * Amazon Web Services account or Region. The aggregate size of the items in the + * transaction cannot exceed 4 MB.

                + *

                DynamoDB rejects the entire TransactGetItems request if any of + * the following is true:

                + *
                  *
                • - *

                  A conflicting operation is in the process of updating an - * item to be read.

                  + *

                  A conflicting operation is in the process of updating an item to be + * read.

                  *
                • *
                • - *

                  There is insufficient provisioned capacity for the transaction - * to be completed.

                  + *

                  There is insufficient provisioned capacity for the transaction to be + * completed.

                  *
                • *
                • - *

                  There is a user error, such as an invalid data format.

                  + *

                  There is a user error, such as an invalid data format.

                  *
                • *
                • - *

                  The aggregate size of the items in the transaction cannot exceed 4 MB.

                  + *

                  The aggregate size of the items in the transaction cannot exceed 4 MB.

                  *
                • *
                */ @@ -2058,75 +2089,77 @@ export class DynamoDB extends DynamoDBClient { *

                * TransactWriteItems is a synchronous write operation that groups up to 25 * action requests. These actions can target items in different tables, but not in - * different AWS accounts or Regions, and no two actions can target the same item. For - * example, you cannot both ConditionCheck and Update the same - * item. The aggregate size of the items in the transaction cannot exceed 4 MB.

                + * different Amazon Web Services accounts or Regions, and no two actions can target the same + * item. For example, you cannot both ConditionCheck and Update + * the same item. The aggregate size of the items in the transaction cannot exceed 4 + * MB.

                * - *

                The actions are completed atomically so that either all of - * them succeed, or all of them fail. They are defined by the following objects:

                + *

                The actions are completed atomically so that either all of them succeed, or all of + * them fail. They are defined by the following objects:

                * - *
                  - *
                • - *

                  - * Put  —   Initiates a PutItem operation to write a new - * item. This structure specifies the primary key of the item to be written, the - * name of the table to write it in, an optional condition expression that must be - * satisfied for the write to succeed, a list of the item's attributes, and a field - * indicating whether to retrieve the item's attributes if the condition is not - * met.

                  - *
                • + *
                    *
                  • - *

                    - * Update  —   Initiates an UpdateItem operation to - * update an existing item. This structure specifies the primary key of the item to - * be updated, the name of the table where it resides, an optional condition - * expression that must be satisfied for the update to succeed, an expression that - * defines one or more attributes to be updated, and a field indicating whether to - * retrieve the item's attributes if the condition is not met.

                    + *

                    + * Put  —   Initiates a PutItem + * operation to write a new item. This structure specifies the primary key of the + * item to be written, the name of the table to write it in, an optional condition + * expression that must be satisfied for the write to succeed, a list of the item's + * attributes, and a field indicating whether to retrieve the item's attributes if + * the condition is not met.

                    *
                  • *
                  • - *

                    - * Delete  —   Initiates a DeleteItem operation to - * delete an existing item. This structure specifies the primary key of the item to - * be deleted, the name of the table where it resides, an optional condition - * expression that must be satisfied for the deletion to succeed, and a field + *

                    + * Update  —   Initiates an UpdateItem + * operation to update an existing item. This structure specifies the primary key + * of the item to be updated, the name of the table where it resides, an optional + * condition expression that must be satisfied for the update to succeed, an + * expression that defines one or more attributes to be updated, and a field * indicating whether to retrieve the item's attributes if the condition is not * met.

                    *
                  • *
                  • - *

                    - * ConditionCheck  —   Applies a condition to an item that is not - * being modified by the transaction. This structure specifies the primary key of - * the item to be checked, the name of the table where it resides, a condition - * expression that must be satisfied for the transaction to succeed, and a field - * indicating whether to retrieve the item's attributes if the condition is not - * met.

                    + *

                    + * Delete  —   Initiates a DeleteItem + * operation to delete an existing item. This structure specifies the primary key + * of the item to be deleted, the name of the table where it resides, an optional + * condition expression that must be satisfied for the deletion to succeed, and a + * field indicating whether to retrieve the item's attributes if the condition is + * not met.

                    + *
                  • + *
                  • + *

                    + * ConditionCheck  —   Applies a condition to an item + * that is not being modified by the transaction. This structure specifies the + * primary key of the item to be checked, the name of the table where it resides, a + * condition expression that must be satisfied for the transaction to succeed, and + * a field indicating whether to retrieve the item's attributes if the condition is + * not met.

                    *
                  • *
                  * - *

                  DynamoDB rejects the entire TransactWriteItems request if any of the following is true:

                  - *
                    + *

                    DynamoDB rejects the entire TransactWriteItems request if any of the + * following is true:

                    + *
                      *
                    • - *

                      A condition in one of the condition expressions is not met.

                      + *

                      A condition in one of the condition expressions is not met.

                      *
                    • *
                    • - *

                      An ongoing operation is in the process of updating the same - * item.

                      + *

                      An ongoing operation is in the process of updating the same item.

                      *
                    • *
                    • - *

                      There is insufficient provisioned capacity for the transaction - * to be completed.

                      + *

                      There is insufficient provisioned capacity for the transaction to be + * completed.

                      *
                    • *
                    • - *

                      An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too - * large, or a similar validation error occurs because of changes made by the - * transaction.

                      + *

                      An item size becomes too large (bigger than 400 KB), a local secondary index + * (LSI) becomes too large, or a similar validation error occurs because of changes + * made by the transaction.

                      *
                    • *
                    • - *

                      The aggregate size of the items in the transaction exceeds 4 MB.

                      + *

                      The aggregate size of the items in the transaction exceeds 4 MB.

                      *
                    • *
                    • - *

                      There is a user error, such as an invalid data format.

                      + *

                      There is a user error, such as an invalid data format.

                      *
                    • *
                    */ @@ -2162,9 +2195,8 @@ export class DynamoDB extends DynamoDBClient { /** *

                    Removes the association of tags from an Amazon DynamoDB resource. You can call * UntagResource up to five times per second, per account.

                    - *

                    For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

                    + *

                    For an overview on tagging DynamoDB resources, see Tagging for DynamoDB + * in the Amazon DynamoDB Developer Guide.

                    */ public untagResource( args: UntagResourceCommandInput, @@ -2197,15 +2229,15 @@ export class DynamoDB extends DynamoDBClient { /** *

                    - * UpdateContinuousBackups enables or disables point in time recovery for the specified table. - * A successful UpdateContinuousBackups call returns the current ContinuousBackupsDescription. - * Continuous backups are ENABLED on all tables at table creation. - * If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                    - *

                    - * Once continuous backups and point in time recovery are enabled, you can restore to any point in time within - * EarliestRestorableDateTime and LatestRestorableDateTime. - *

                    - *

                    + * UpdateContinuousBackups enables or disables point in time recovery for + * the specified table. A successful UpdateContinuousBackups call returns the + * current ContinuousBackupsDescription. Continuous backups are + * ENABLED on all tables at table creation. If point in time recovery is + * enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                    + *

                    Once continuous backups and point in time recovery are enabled, you can restore to + * any point in time within EarliestRestorableDateTime and + * LatestRestorableDateTime.

                    + *

                    * LatestRestorableDateTime is typically 5 minutes before the current time. * You can restore your table to any point in time during the last 35 days.

                    */ @@ -2239,7 +2271,12 @@ export class DynamoDB extends DynamoDBClient { } /** - *

                    Updates the status for contributor insights for a specific table or index.

                    + *

                    Updates the status for contributor insights for a specific table or index. CloudWatch + * Contributor Insights for DynamoDB graphs display the partition key and (if applicable) + * sort key of frequently accessed items and frequently throttled items in plaintext. If + * you require the use of AWS Key Management Service (KMS) to encrypt this table’s + * partition key and sort key data with an AWS managed key or customer managed key, you + * should not enable CloudWatch Contributor Insights for DynamoDB for this table.

                    */ public updateContributorInsights( args: UpdateContributorInsightsCommandInput, @@ -2276,28 +2313,23 @@ export class DynamoDB extends DynamoDBClient { * same name as the global table, have the same key schema, have DynamoDB Streams enabled, * and have the same provisioned and maximum write capacity units.

                    * - *

                    Although you can use UpdateGlobalTable to add replicas and remove replicas in - * a single request, for simplicity we recommend that you issue separate requests for - * adding or removing replicas.

                    - *
                    - *

                    - * If global secondary indexes are specified, then the following conditions must also be met: - *

                    + *

                    Although you can use UpdateGlobalTable to add replicas and remove + * replicas in a single request, for simplicity we recommend that you issue separate + * requests for adding or removing replicas.

                    + * + *

                    If global secondary indexes are specified, then the following conditions must also be + * met:

                    *
                      *
                    • - *

                      - * The global secondary indexes must have the same name. - *

                      + *

                      The global secondary indexes must have the same name.

                      *
                    • *
                    • - *

                      - * The global secondary indexes must have the same hash key and sort key (if present). - *

                      + *

                      The global secondary indexes must have the same hash key and sort key (if + * present).

                      *
                    • *
                    • - *

                      - * The global secondary indexes must have the same provisioned and maximum write capacity units. - *

                      + *

                      The global secondary indexes must have the same provisioned and maximum write + * capacity units.

                      *
                    • *
                    */ @@ -2363,9 +2395,13 @@ export class DynamoDB extends DynamoDBClient { } /** - *

                    Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).

                    - *

                    You can also return the item's attribute values in the same UpdateItem - * operation using the ReturnValues parameter.

                    + *

                    Edits an existing item's attributes, or adds a new item to the table if it does not + * already exist. You can put, delete, or add attribute values. You can also perform a + * conditional update on an existing item (insert a new attribute name-value pair if it + * doesn't exist, or replace an existing name-value pair if it has certain expected + * attribute values).

                    + *

                    You can also return the item's attribute values in the same UpdateItem + * operation using the ReturnValues parameter.

                    */ public updateItem(args: UpdateItemCommandInput, options?: __HttpHandlerOptions): Promise; public updateItem(args: UpdateItemCommandInput, cb: (err: any, data?: UpdateItemCommandOutput) => void): void; @@ -2391,29 +2427,31 @@ export class DynamoDB extends DynamoDBClient { } /** - *

                    Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.

                    - *

                    You can only perform one of the following operations at once:

                    - *
                      + *

                      Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB + * Streams settings for a given table.

                      + *

                      You can only perform one of the following operations at once:

                      + *
                        *
                      • - *

                        Modify the provisioned throughput settings of the table.

                        + *

                        Modify the provisioned throughput settings of the table.

                        *
                      • *
                      • - *

                        Enable or disable DynamoDB Streams on the table.

                        + *

                        Enable or disable DynamoDB Streams on the table.

                        *
                      • *
                      • - *

                        Remove a global secondary index from the table.

                        + *

                        Remove a global secondary index from the table.

                        *
                      • *
                      • - *

                        Create a new global secondary index on the table. After the index begins + *

                        Create a new global secondary index on the table. After the index begins * backfilling, you can use UpdateTable to perform other * operations.

                        *
                      • *
                      - *

                      - * UpdateTable is an asynchronous operation; while it is executing, the table status - * changes from ACTIVE to UPDATING. While it is UPDATING, - * you cannot issue another UpdateTable request. When the table returns to the - * ACTIVE state, the UpdateTable operation is complete.

                      + *

                      + * UpdateTable is an asynchronous operation; while it is executing, the table + * status changes from ACTIVE to UPDATING. While it is + * UPDATING, you cannot issue another UpdateTable request. + * When the table returns to the ACTIVE state, the UpdateTable + * operation is complete.

                      */ public updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise; public updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void; @@ -2440,9 +2478,10 @@ export class DynamoDB extends DynamoDBClient { /** *

                      Updates auto scaling settings on your global tables at once.

                      - * - *

                      This operation only applies to Version 2019.11.21 of global tables.

                      - *
                      + * + *

                      This operation only applies to Version + * 2019.11.21 of global tables.

                      + *
                      */ public updateTableReplicaAutoScaling( args: UpdateTableReplicaAutoScalingCommandInput, @@ -2474,31 +2513,31 @@ export class DynamoDB extends DynamoDBClient { } /** - *

                      The UpdateTimeToLive method enables or disables Time to Live (TTL) for the - * specified table. A successful UpdateTimeToLive call returns the current + *

                      The UpdateTimeToLive method enables or disables Time to Live (TTL) for + * the specified table. A successful UpdateTimeToLive call returns the current * TimeToLiveSpecification. It can take up to one hour for the change to * fully process. Any additional UpdateTimeToLive calls for the same table * during this one hour duration result in a ValidationException.

                      - *

                      TTL compares the current time in epoch time format to the time stored in the TTL + *

                      TTL compares the current time in epoch time format to the time stored in the TTL * attribute of an item. If the epoch time value stored in the attribute is less than the * current time, the item is marked as expired and subsequently deleted.

                      * - *

                      The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, - * 1970 UTC.

                      + *

                      The epoch time format is the number of seconds elapsed since 12:00:00 AM January + * 1, 1970 UTC.

                      *
                      *

                      DynamoDB deletes expired items on a best-effort basis to ensure availability of - * throughput for other data operations. - *

                      - * - *

                      DynamoDB typically deletes expired items within two days of expiration. The exact duration - * within which an item gets deleted after expiration is specific to the - * nature of the workload. Items that have expired and not been deleted will still show up in reads, - * queries, and scans.

                      - *
                      + * throughput for other data operations.

                      + * + *

                      DynamoDB typically deletes expired items within two days of expiration. The exact + * duration within which an item gets deleted after expiration is specific to the + * nature of the workload. Items that have expired and not been deleted will still show + * up in reads, queries, and scans.

                      + *
                      *

                      As items are deleted, they are removed from any local secondary index and global * secondary index immediately in the same eventually consistent way as a standard delete * operation.

                      - *

                      For more information, see Time To Live in the Amazon DynamoDB Developer Guide.

                      + *

                      For more information, see Time To Live in the + * Amazon DynamoDB Developer Guide.

                      */ public updateTimeToLive( args: UpdateTimeToLiveCommandInput, diff --git a/clients/client-dynamodb/src/DynamoDBClient.ts b/clients/client-dynamodb/src/DynamoDBClient.ts index fed0668aaafcb..70b6a1d3e5028 100644 --- a/clients/client-dynamodb/src/DynamoDBClient.ts +++ b/clients/client-dynamodb/src/DynamoDBClient.ts @@ -425,23 +425,24 @@ export interface DynamoDBClientResolvedConfig extends DynamoDBClientResolvedConf /** * Amazon DynamoDB * + *

                      Amazon DynamoDB is a fully managed NoSQL database service that provides fast + * and predictable performance with seamless scalability. DynamoDB lets you + * offload the administrative burdens of operating and scaling a distributed database, so + * that you don't have to worry about hardware provisioning, setup and configuration, + * replication, software patching, or cluster scaling.

                      * - *

                      Amazon DynamoDB is a fully managed NoSQL database service that provides fast and - * predictable performance with seamless scalability. DynamoDB lets you offload the - * administrative burdens of operating and scaling a distributed database, so that you don't have - * to worry about hardware provisioning, setup and configuration, replication, software patching, - * or cluster scaling.

                      + *

                      With DynamoDB, you can create database tables that can store and retrieve + * any amount of data, and serve any level of request traffic. You can scale up or scale + * down your tables' throughput capacity without downtime or performance degradation, and + * use the Amazon Web Services Management Console to monitor resource utilization and performance + * metrics.

                      * - *

                      With DynamoDB, you can create database tables that can store and retrieve any amount of - * data, and serve any level of request traffic. You can scale up or scale down your tables' - * throughput capacity without downtime or performance degradation, and use the AWS Management - * Console to monitor resource utilization and performance metrics.

                      - * - *

                      DynamoDB automatically spreads the data and traffic for your tables over a sufficient - * number of servers to handle your throughput and storage requirements, while maintaining - * consistent and fast performance. All of your data is stored on solid state disks (SSDs) and - * automatically replicated across multiple Availability Zones in an AWS region, providing - * built-in high availability and data durability.

                      + *

                      DynamoDB automatically spreads the data and traffic for your tables over + * a sufficient number of servers to handle your throughput and storage requirements, while + * maintaining consistent and fast performance. All of your data is stored on solid state + * disks (SSDs) and automatically replicated across multiple Availability Zones in an + * Amazon Web Services Region, providing built-in high availability and data + * durability.

                      */ export class DynamoDBClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts b/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts index 95261d8a492cf..6d4cdf3f06242 100644 --- a/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts +++ b/clients/client-dynamodb/src/commands/BatchExecuteStatementCommand.ts @@ -22,9 +22,12 @@ export interface BatchExecuteStatementCommandInput extends BatchExecuteStatement export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatementOutput, __MetadataBearer {} /** - *

                      - * This operation allows you to perform batch reads and writes on data stored in DynamoDB, using PartiQL. - *

                      + *

                      This operation allows you to perform batch reads or writes on data stored in DynamoDB, + * using PartiQL.

                      + * + *

                      The entire batch must consist of either read statements or write statements, you + * cannot mix both in one batch.

                      + *
                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts b/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts index 2cafb50dd059b..3d0a918378bef 100644 --- a/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts +++ b/clients/client-dynamodb/src/commands/BatchGetItemCommand.ts @@ -22,49 +22,50 @@ export interface BatchGetItemCommandInput extends BatchGetItemInput {} export interface BatchGetItemCommandOutput extends BatchGetItemOutput, __MetadataBearer {} /** - *

                      The BatchGetItem operation returns the attributes of one or more items from one or - * more tables. You identify requested items by primary key.

                      - *

                      A single operation can retrieve up to 16 MB of data, which can contain as many as 100 + *

                      The BatchGetItem operation returns the attributes of one or more items + * from one or more tables. You identify requested items by primary key.

                      + *

                      A single operation can retrieve up to 16 MB of data, which can contain as many as 100 * items. BatchGetItem returns a partial result if the response size limit is * exceeded, the table's provisioned throughput is exceeded, or an internal processing * failure occurs. If a partial result is returned, the operation returns a value for * UnprocessedKeys. You can use this value to retry the operation starting * with the next item to get.

                      - * + * *

                      If you request more than 100 items, BatchGetItem returns a * ValidationException with the message "Too many items requested for * the BatchGetItem call."

                      - *
                      - *

                      For example, if you ask to retrieve 100 items, but each individual item is 300 KB in + * + *

                      For example, if you ask to retrieve 100 items, but each individual item is 300 KB in * size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns * an appropriate UnprocessedKeys value so you can get the next page of * results. If desired, your application can include its own logic to assemble the pages of * results into one dataset.

                      - *

                      If none of the items can be processed due to insufficient + *

                      If none of the items can be processed due to insufficient * provisioned throughput on all of the tables in the request, then * BatchGetItem returns a * ProvisionedThroughputExceededException. If at least * one of the items is successfully processed, then * BatchGetItem completes successfully, while returning the keys of the * unread items in UnprocessedKeys.

                      - * - *

                      If DynamoDB returns any unprocessed items, you should retry the batch operation on those - * items. However, we strongly recommend that you use an exponential backoff algorithm. - * If you retry the batch operation immediately, the underlying read or write requests can - * still fail due to throttling on the individual tables. If you delay the batch operation - * using exponential backoff, the individual requests in the batch are much more likely to - * succeed.

                      - *

                      For more information, see Batch - * Operations and Error Handling in the Amazon DynamoDB Developer Guide.

                      - *
                      - *

                      By default, BatchGetItem performs eventually consistent reads on every table in the - * request. If you want strongly consistent reads instead, you can set ConsistentRead to - * true for any or all tables.

                      - *

                      In order to minimize response latency, BatchGetItem retrieves items in parallel.

                      - *

                      When designing your application, keep in mind that DynamoDB does not return items in any - * particular order. To help parse the response by item, include the primary key values for the - * items in your request in the ProjectionExpression parameter.

                      - *

                      If a requested item does not exist, it is not returned in the result. Requests for + * + *

                      If DynamoDB returns any unprocessed items, you should retry the batch operation on + * those items. However, we strongly recommend that you use an exponential + * backoff algorithm. If you retry the batch operation immediately, the + * underlying read or write requests can still fail due to throttling on the individual + * tables. If you delay the batch operation using exponential backoff, the individual + * requests in the batch are much more likely to succeed.

                      + *

                      For more information, see Batch Operations and Error Handling in the Amazon DynamoDB + * Developer Guide.

                      + *
                      + *

                      By default, BatchGetItem performs eventually consistent reads on every + * table in the request. If you want strongly consistent reads instead, you can set + * ConsistentRead to true for any or all tables.

                      + *

                      In order to minimize response latency, BatchGetItem retrieves items in + * parallel.

                      + *

                      When designing your application, keep in mind that DynamoDB does not return items in + * any particular order. To help parse the response by item, include the primary key values + * for the items in your request in the ProjectionExpression parameter.

                      + *

                      If a requested item does not exist, it is not returned in the result. Requests for * nonexistent items consume the minimum read capacity units according to the type of read. * For more information, see Working with Tables in the Amazon DynamoDB Developer * Guide.

                      diff --git a/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts b/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts index 198620b08302b..56c366dfc7be6 100644 --- a/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts +++ b/clients/client-dynamodb/src/commands/BatchWriteItemCommand.ts @@ -22,79 +22,83 @@ export interface BatchWriteItemCommandInput extends BatchWriteItemInput {} export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __MetadataBearer {} /** - *

                      The BatchWriteItem operation puts or deletes multiple items in one or more - * tables. A single call to BatchWriteItem can write up to 16 MB of data, + *

                      The BatchWriteItem operation puts or deletes multiple items in one or + * more tables. A single call to BatchWriteItem can write up to 16 MB of data, * which can comprise as many as 25 put or delete requests. Individual items to be written * can be as large as 400 KB.

                      - * + * *

                      - * BatchWriteItem cannot update items. To update items, use the UpdateItem - * action.

                      - *
                      - *

                      The individual PutItem and DeleteItem operations specified in - * BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any - * requested operations fail because the table's provisioned throughput is exceeded or an - * internal processing failure occurs, the failed operations are returned in the - * UnprocessedItems response parameter. You can investigate and optionally resend the - * requests. Typically, you would call BatchWriteItem in a loop. Each iteration would - * check for unprocessed items and submit a new BatchWriteItem request with those - * unprocessed items until all items have been processed.

                      - *

                      If none of the items can be processed due to insufficient + * BatchWriteItem cannot update items. To update items, use the + * UpdateItem action.

                      + *
                      + *

                      The individual PutItem and DeleteItem operations specified + * in BatchWriteItem are atomic; however BatchWriteItem as a + * whole is not. If any requested operations fail because the table's provisioned + * throughput is exceeded or an internal processing failure occurs, the failed operations + * are returned in the UnprocessedItems response parameter. You can + * investigate and optionally resend the requests. Typically, you would call + * BatchWriteItem in a loop. Each iteration would check for unprocessed + * items and submit a new BatchWriteItem request with those unprocessed items + * until all items have been processed.

                      + *

                      If none of the items can be processed due to insufficient * provisioned throughput on all of the tables in the request, then * BatchWriteItem returns a * ProvisionedThroughputExceededException.

                      - * - *

                      If DynamoDB returns any unprocessed items, you should retry the batch operation on those - * items. However, we strongly recommend that you use an exponential backoff algorithm. - * If you retry the batch operation immediately, the underlying read or write requests can - * still fail due to throttling on the individual tables. If you delay the batch operation - * using exponential backoff, the individual requests in the batch are much more likely to - * succeed.

                      + * + *

                      If DynamoDB returns any unprocessed items, you should retry the batch operation on + * those items. However, we strongly recommend that you use an exponential + * backoff algorithm. If you retry the batch operation immediately, the + * underlying read or write requests can still fail due to throttling on the individual + * tables. If you delay the batch operation using exponential backoff, the individual + * requests in the batch are much more likely to succeed.

                      *

                      For more information, see Batch Operations and Error Handling in the Amazon DynamoDB * Developer Guide.

                      - *
                      + *
                      * - *

                      With BatchWriteItem, you can efficiently write or delete large amounts of + *

                      With BatchWriteItem, you can efficiently write or delete large amounts of * data, such as from Amazon EMR, or copy data from another database into DynamoDB. In * order to improve performance with these large-scale operations, * BatchWriteItem does not behave in the same way as individual * PutItem and DeleteItem calls would. For example, you * cannot specify conditions on individual put and delete requests, and * BatchWriteItem does not return deleted items in the response.

                      - *

                      If you use a programming language that supports concurrency, you can use - * threads to write items in parallel. Your application must include the necessary logic to - * manage the threads. With languages that don't support threading, you must update - * or delete the specified items one at a time. In both situations, BatchWriteItem - * performs the specified put and delete operations in - * parallel, giving you the power of the thread pool approach without having to introduce - * complexity into your application.

                      - *

                      Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.

                      - *

                      If one or more of the following is true, DynamoDB rejects the entire batch write operation:

                      - *
                        + *

                        If you use a programming language that supports concurrency, you can use threads to + * write items in parallel. Your application must include the necessary logic to manage the + * threads. With languages that don't support threading, you must update or delete the + * specified items one at a time. In both situations, BatchWriteItem performs + * the specified put and delete operations in parallel, giving you the power of the thread + * pool approach without having to introduce complexity into your application.

                        + *

                        Parallel processing reduces latency, but each specified put and delete request + * consumes the same number of write capacity units whether it is processed in parallel or + * not. Delete operations on nonexistent items consume one write capacity unit.

                        + *

                        If one or more of the following is true, DynamoDB rejects the entire batch write + * operation:

                        + *
                          *
                        • - *

                          One or more tables specified in the BatchWriteItem request does not exist.

                          + *

                          One or more tables specified in the BatchWriteItem request does + * not exist.

                          *
                        • *
                        • - *

                          Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.

                          + *

                          Primary key attributes specified on an item in the request do not match those + * in the corresponding table's primary key schema.

                          *
                        • *
                        • - *

                          You try to perform multiple operations on the same item in the same BatchWriteItem - * request. For example, you cannot put and delete the same item in the same - * BatchWriteItem request.

                          + *

                          You try to perform multiple operations on the same item in the same + * BatchWriteItem request. For example, you cannot put and delete + * the same item in the same BatchWriteItem request.

                          *
                        • *
                        • - *

                          - * Your request contains at least two items with identical hash and range keys (which essentially is two put operations). - *

                          - *
                        • + *

                          Your request contains at least two items with identical hash and range keys + * (which essentially is two put operations).

                          + * *
                        • - *

                          There are more than 25 requests in the batch.

                          + *

                          There are more than 25 requests in the batch.

                          *
                        • *
                        • - *

                          Any individual item in a batch exceeds 400 KB.

                          + *

                          Any individual item in a batch exceeds 400 KB.

                          *
                        • *
                        • - *

                          The total request size exceeds 16 MB.

                          + *

                          The total request size exceeds 16 MB.

                          *
                        • *
                        * @example diff --git a/clients/client-dynamodb/src/commands/CreateBackupCommand.ts b/clients/client-dynamodb/src/commands/CreateBackupCommand.ts index 4b2ac2fead3c0..509027e059ad8 100644 --- a/clients/client-dynamodb/src/commands/CreateBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/CreateBackupCommand.ts @@ -23,34 +23,34 @@ export interface CreateBackupCommandOutput extends CreateBackupOutput, __Metadat /** *

                        Creates a backup for an existing table.

                        - *

                        Each time you create an on-demand backup, the entire table data is backed up. There + *

                        Each time you create an on-demand backup, the entire table data is backed up. There * is no limit to the number of on-demand backups that can be taken.

                        - *

                        When you create an on-demand backup, a time marker of the request is cataloged, and + *

                        When you create an on-demand backup, a time marker of the request is cataloged, and * the backup is created asynchronously, by applying all changes until the time of the * request to the last full table snapshot. Backup requests are processed instantaneously * and become available for restore within minutes.

                        - *

                        You can call CreateBackup at a maximum rate of 50 times per second.

                        - *

                        All backups in DynamoDB work without consuming any provisioned throughput on the table.

                        - *

                        If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed - * to contain all data committed to the table up to 14:24:00, and data committed after + *

                        You can call CreateBackup at a maximum rate of 50 times per + * second.

                        + *

                        All backups in DynamoDB work without consuming any provisioned throughput on the + * table.

                        + *

                        If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to + * contain all data committed to the table up to 14:24:00, and data committed after * 14:26:00 will not be. The backup might contain data modifications made between 14:24:00 * and 14:26:00. On-demand backup does not support causal consistency.

                        - *

                        - * Along with data, the following are also included on the backups: - *

                        - *
                          + *

                          Along with data, the following are also included on the backups:

                          + *
                            *
                          • - *

                            Global secondary indexes (GSIs)

                            - *
                          • + *

                            Global secondary indexes (GSIs)

                            + * *
                          • - *

                            Local secondary indexes (LSIs)

                            - *
                          • + *

                            Local secondary indexes (LSIs)

                            + * *
                          • - *

                            Streams

                            - *
                          • + *

                            Streams

                            + * *
                          • - *

                            Provisioned read and write capacity

                            - *
                          • + *

                            Provisioned read and write capacity

                            + * *
                          * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts b/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts index c19c0c0426418..64a345e0de8bf 100644 --- a/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts +++ b/clients/client-dynamodb/src/commands/CreateGlobalTableCommand.ts @@ -25,71 +25,60 @@ export interface CreateGlobalTableCommandOutput extends CreateGlobalTableOutput, *

                          Creates a global table from an existing table. A global table creates a replication * relationship between two or more DynamoDB tables with the same table name in the * provided Regions.

                          - * - *

                          This operation only applies to Version 2017.11.29 of global tables.

                          - *
                          + * + *

                          This operation only applies to Version + * 2017.11.29 of global tables.

                          + *
                          * - *

                          If you want to add a new replica table to a global table, each of the following conditions - * must be true:

                          - *
                            + *

                            If you want to add a new replica table to a global table, each of the following + * conditions must be true:

                            + *
                              *
                            • - *

                              The table must have the same primary key as all of the other replicas.

                              + *

                              The table must have the same primary key as all of the other replicas.

                              *
                            • *
                            • - *

                              The table must have the same name as all of the other replicas.

                              + *

                              The table must have the same name as all of the other replicas.

                              *
                            • *
                            • - *

                              The table must have DynamoDB Streams enabled, with the stream containing both the new and the old - * images of the item.

                              + *

                              The table must have DynamoDB Streams enabled, with the stream containing both + * the new and the old images of the item.

                              *
                            • *
                            • - *

                              None of the replica tables in the global table can contain any data.

                              + *

                              None of the replica tables in the global table can contain any data.

                              *
                            • *
                            - *

                            - * If global secondary indexes are specified, then the following conditions must also be met: - *

                            + *

                            If global secondary indexes are specified, then the following conditions must also be + * met:

                            *
                              *
                            • - *

                              - * The global secondary indexes must have the same name. - *

                              + *

                              The global secondary indexes must have the same name.

                              *
                            • *
                            • - *

                              - * The global secondary indexes must have the same hash key and sort key (if present). - *

                              + *

                              The global secondary indexes must have the same hash key and sort key (if + * present).

                              *
                            • *
                            - *

                            - * If local secondary indexes are specified, then the following conditions must also be met: - *

                            + *

                            If local secondary indexes are specified, then the following conditions must also be + * met:

                            *
                              *
                            • - *

                              - * The local secondary indexes must have the same name. - *

                              + *

                              The local secondary indexes must have the same name.

                              *
                            • *
                            • - *

                              - * The local secondary indexes must have the same hash key and sort key (if present). - *

                              + *

                              The local secondary indexes must have the same hash key and sort key (if + * present).

                              *
                            • *
                            * - * - *

                            - * Write capacity settings should be set consistently across your replica tables and - * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write - * capacity settings for all of your global tables replicas and indexes. - *

                            - *

                            - * If you prefer to manage write capacity settings manually, you should provision equal - * replicated write capacity units to your replica tables. You should also provision - * equal replicated write capacity units to matching secondary indexes across - * your global table. - *

                            - *
                            + * + *

                            Write capacity settings should be set consistently across your replica tables and + * secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the + * write capacity settings for all of your global tables replicas and indexes.

                            + *

                            If you prefer to manage write capacity settings manually, you should provision + * equal replicated write capacity units to your replica tables. You should also + * provision equal replicated write capacity units to matching secondary indexes across + * your global table.

                            + *
                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/CreateTableCommand.ts b/clients/client-dynamodb/src/commands/CreateTableCommand.ts index c9162b7c6f5df..e811e5b1625ac 100644 --- a/clients/client-dynamodb/src/commands/CreateTableCommand.ts +++ b/clients/client-dynamodb/src/commands/CreateTableCommand.ts @@ -22,19 +22,19 @@ export interface CreateTableCommandInput extends CreateTableInput {} export interface CreateTableCommandOutput extends CreateTableOutput, __MetadataBearer {} /** - *

                            The CreateTable operation adds a new table to your account. In an AWS - * account, table names must be unique within each Region. That is, you can have two tables - * with same name if you create the tables in different Regions.

                            - *

                            - * CreateTable is an asynchronous operation. Upon receiving a CreateTable request, - * DynamoDB immediately returns a response with a TableStatus of CREATING. After - * the table is created, DynamoDB sets the TableStatus to ACTIVE. You can - * perform read and write operations only on an ACTIVE table.

                            - *

                            You can optionally define secondary indexes on the new table, as part of the CreateTable - * operation. If you want to create multiple tables with secondary indexes on them, you must create the - * tables sequentially. Only one table with secondary indexes can be in the CREATING state at - * any given time.

                            - *

                            You can use the DescribeTable action to check the table status.

                            + *

                            The CreateTable operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can + * have two tables with same name if you create the tables in different Regions.

                            + *

                            + * CreateTable is an asynchronous operation. Upon receiving a + * CreateTable request, DynamoDB immediately returns a response with a + * TableStatus of CREATING. After the table is created, + * DynamoDB sets the TableStatus to ACTIVE. You can perform read + * and write operations only on an ACTIVE table.

                            + *

                            You can optionally define secondary indexes on the new table, as part of the + * CreateTable operation. If you want to create multiple tables with + * secondary indexes on them, you must create the tables sequentially. Only one table with + * secondary indexes can be in the CREATING state at any given time.

                            + *

                            You can use the DescribeTable action to check the table status.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts b/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts index b34c821341982..2c982961dfeeb 100644 --- a/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteBackupCommand.ts @@ -23,7 +23,8 @@ export interface DeleteBackupCommandOutput extends DeleteBackupOutput, __Metadat /** *

                            Deletes an existing backup of a table.

                            - *

                            You can call DeleteBackup at a maximum rate of 10 times per second.

                            + *

                            You can call DeleteBackup at a maximum rate of 10 times per + * second.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DeleteItemCommand.ts b/clients/client-dynamodb/src/commands/DeleteItemCommand.ts index e8f6ba53dee4f..7b55354b0b4da 100644 --- a/clients/client-dynamodb/src/commands/DeleteItemCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteItemCommand.ts @@ -22,12 +22,17 @@ export interface DeleteItemCommandInput extends DeleteItemInput {} export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBearer {} /** - *

                            Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.

                            - *

                            In addition to deleting an item, you can also return the item's attribute values in the same - * operation, using the ReturnValues parameter.

                            - *

                            Unless you specify conditions, the DeleteItem is an idempotent operation; running it - * multiple times on the same item or attribute does not result in an error response.

                            - *

                            Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.

                            + *

                            Deletes a single item in a table by primary key. You can perform a conditional delete + * operation that deletes the item if it exists, or if it has an expected attribute + * value.

                            + *

                            In addition to deleting an item, you can also return the item's attribute values in + * the same operation, using the ReturnValues parameter.

                            + *

                            Unless you specify conditions, the DeleteItem is an idempotent operation; + * running it multiple times on the same item or attribute does not + * result in an error response.

                            + *

                            Conditional deletes are useful for deleting items only if specific conditions are met. + * If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not + * deleted.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DeleteTableCommand.ts b/clients/client-dynamodb/src/commands/DeleteTableCommand.ts index c614511e78de1..6c03706cb0089 100644 --- a/clients/client-dynamodb/src/commands/DeleteTableCommand.ts +++ b/clients/client-dynamodb/src/commands/DeleteTableCommand.ts @@ -23,22 +23,24 @@ export interface DeleteTableCommandOutput extends DeleteTableOutput, __MetadataB /** *

                            The DeleteTable operation deletes a table and all of its items. After a - * DeleteTable request, the specified table is in the DELETING state until - * DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete - * it. If a table is in CREATING or UPDATING states, then DynamoDB returns - * a ResourceInUseException. If the specified table does not exist, DynamoDB returns a - * ResourceNotFoundException. If table is already in the DELETING state, no - * error is returned.

                            - * - *

                            DynamoDB might continue to accept data read and write operations, such as GetItem and - * PutItem, on a table in the DELETING state until the table deletion is - * complete.

                            - *
                            - *

                            When you delete a table, any indexes on that table are also deleted.

                            - *

                            If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes - * into the DISABLED state, and the stream is automatically deleted after 24 hours.

                            + * DeleteTable request, the specified table is in the + * DELETING state until DynamoDB completes the deletion. If the table is + * in the ACTIVE state, you can delete it. If a table is in + * CREATING or UPDATING states, then DynamoDB returns a + * ResourceInUseException. If the specified table does not exist, DynamoDB + * returns a ResourceNotFoundException. If table is already in the + * DELETING state, no error is returned.

                            + * + *

                            DynamoDB might continue to accept data read and write operations, such as + * GetItem and PutItem, on a table in the + * DELETING state until the table deletion is complete.

                            + *
                            + *

                            When you delete a table, any indexes on that table are also deleted.

                            + *

                            If you have DynamoDB Streams enabled on the table, then the corresponding stream on + * that table goes into the DISABLED state, and the stream is automatically + * deleted after 24 hours.

                            * - *

                            Use the DescribeTable action to check the status of the table.

                            + *

                            Use the DescribeTable action to check the status of the table.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts b/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts index 3abf5332a3896..0e3eb50dcb43d 100644 --- a/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeBackupCommand.ts @@ -23,7 +23,8 @@ export interface DescribeBackupCommandOutput extends DescribeBackupOutput, __Met /** *

                            Describes an existing backup of a table.

                            - *

                            You can call DescribeBackup at a maximum rate of 10 times per second.

                            + *

                            You can call DescribeBackup at a maximum rate of 10 times per + * second.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts b/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts index b5fb2a376354a..90ec6097072ca 100644 --- a/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts @@ -22,17 +22,18 @@ export interface DescribeContinuousBackupsCommandInput extends DescribeContinuou export interface DescribeContinuousBackupsCommandOutput extends DescribeContinuousBackupsOutput, __MetadataBearer {} /** - *

                            Checks the status of continuous backups and point in time recovery on the specified table. - * Continuous backups are ENABLED on all tables at table creation. - * If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                            - *

                            After continuous backups and point in time recovery are enabled, you can restore to any - * point in time within EarliestRestorableDateTime and + *

                            Checks the status of continuous backups and point in time recovery on the specified + * table. Continuous backups are ENABLED on all tables at table creation. If + * point in time recovery is enabled, PointInTimeRecoveryStatus will be set to + * ENABLED.

                            + *

                            After continuous backups and point in time recovery are enabled, you can restore to + * any point in time within EarliestRestorableDateTime and * LatestRestorableDateTime.

                            - *

                            - * LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point - * in time during the last 35 days. - *

                            - *

                            You can call DescribeContinuousBackups at a maximum rate of 10 times per second.

                            + *

                            + * LatestRestorableDateTime is typically 5 minutes before the current time. + * You can restore your table to any point in time during the last 35 days.

                            + *

                            You can call DescribeContinuousBackups at a maximum rate of 10 times per + * second.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts b/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts index d058e0860673e..6dc6d7efcf608 100644 --- a/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeContributorInsightsCommand.ts @@ -22,7 +22,8 @@ export interface DescribeContributorInsightsCommandInput extends DescribeContrib export interface DescribeContributorInsightsCommandOutput extends DescribeContributorInsightsOutput, __MetadataBearer {} /** - *

                            Returns information about contributor insights, for a given table or global secondary index.

                            + *

                            Returns information about contributor insights, for a given table or global secondary + * index.

                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts b/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts index d0c3956e55470..322d66bb2839e 100644 --- a/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeGlobalTableCommand.ts @@ -23,10 +23,11 @@ export interface DescribeGlobalTableCommandOutput extends DescribeGlobalTableOut /** *

                            Returns information about the specified global table.

                            - * - *

                            This operation only applies to Version 2017.11.29 of global tables. - * If you are using global tables Version 2019.11.21 you can use DescribeTable instead.

                            - *
                            + * + *

                            This operation only applies to Version + * 2017.11.29 of global tables. If you are using global tables Version + * 2019.11.21 you can use DescribeTable instead.

                            + *
                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts b/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts index cfc09665afd35..34b23a8824c3f 100644 --- a/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeGlobalTableSettingsCommand.ts @@ -23,9 +23,10 @@ export interface DescribeGlobalTableSettingsCommandOutput extends DescribeGlobal /** *

                            Describes Region-specific settings for a global table.

                            - * - *

                            This operation only applies to Version 2017.11.29 of global tables.

                            - *
                            + * + *

                            This operation only applies to Version + * 2017.11.29 of global tables.

                            + *
                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts b/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts index 0a548ab6cbecb..1eece754b94ca 100644 --- a/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeLimitsCommand.ts @@ -22,70 +22,80 @@ export interface DescribeLimitsCommandInput extends DescribeLimitsInput {} export interface DescribeLimitsCommandOutput extends DescribeLimitsOutput, __MetadataBearer {} /** - *

                            Returns the current provisioned-capacity quotas for your AWS account in a Region, both - * for the Region as a whole and for any one DynamoDB table that you create there.

                            - *

                            When you establish an AWS account, the account has initial quotas on the maximum read - * capacity units and write capacity units that you can provision across all of your - * DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you - * create a table there. For more information, see Service, Account, and Table - * Quotas page in the Amazon DynamoDB Developer - * Guide.

                            + *

                            Returns the current provisioned-capacity quotas for your Amazon Web Services account in + * a Region, both for the Region as a whole and for any one DynamoDB table that you create + * there.

                            + *

                            When you establish an Amazon Web Services account, the account has initial quotas on + * the maximum read capacity units and write capacity units that you can provision across + * all of your DynamoDB tables in a given Region. Also, there are per-table + * quotas that apply when you create a table there. For more information, see Service, + * Account, and Table Quotas page in the Amazon DynamoDB + * Developer Guide.

                            * - *

                            Although you can increase these quotas by filing a case at AWS Support Center, obtaining the increase is not - * instantaneous. The DescribeLimits action lets you write code to compare the - * capacity you are currently using to those quotas imposed by your account so that you - * have enough time to apply for an increase before you hit a quota.

                            + *

                            Although you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the + * increase is not instantaneous. The DescribeLimits action lets you write + * code to compare the capacity you are currently using to those quotas imposed by your + * account so that you have enough time to apply for an increase before you hit a + * quota.

                            * - *

                            For example, you could use one of the AWS SDKs to do the following:

                            + *

                            For example, you could use one of the Amazon Web Services SDKs to do the + * following:

                            * - *
                              + *
                                *
                              1. - *

                                Call DescribeLimits for a particular Region to obtain your current - * account quotas on provisioned capacity there.

                                + *

                                Call DescribeLimits for a particular Region to obtain your + * current account quotas on provisioned capacity there.

                                *
                              2. *
                              3. - *

                                Create a variable to hold the aggregate read capacity units provisioned for all - * your tables in that Region, and one to hold the aggregate write capacity units. - * Zero them both.

                                + *

                                Create a variable to hold the aggregate read capacity units provisioned for + * all your tables in that Region, and one to hold the aggregate write capacity + * units. Zero them both.

                                *
                              4. *
                              5. - *

                                Call ListTables to obtain a list of all your DynamoDB tables.

                                + *

                                Call ListTables to obtain a list of all your DynamoDB + * tables.

                                *
                              6. *
                              7. - *

                                For each table name listed by ListTables, do the following:

                                - *
                                  + *

                                  For each table name listed by ListTables, do the + * following:

                                  + *
                                    *
                                  • - *

                                    Call DescribeTable with the table name.

                                    - *
                                  • + *

                                    Call DescribeTable with the table name.

                                    + * *
                                  • - *

                                    Use the data returned by DescribeTable to add the read capacity units and write capacity - * units provisioned for the table itself to your variables.

                                    - *
                                  • + *

                                    Use the data returned by DescribeTable to add the read + * capacity units and write capacity units provisioned for the table itself + * to your variables.

                                    + * *
                                  • - *

                                    If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.

                                    - *
                                  • + *

                                    If the table has one or more global secondary indexes (GSIs), loop + * over these GSIs and add their provisioned capacity values to your + * variables as well.

                                    + * *
                                  * *
                                • - *

                                  Report the account quotas for that Region returned by DescribeLimits, along with - * the total current provisioned capacity levels you have calculated.

                                  + *

                                  Report the account quotas for that Region returned by + * DescribeLimits, along with the total current provisioned + * capacity levels you have calculated.

                                  *
                                • *
                              * - *

                              This will let you see whether you are getting close to your account-level quotas.

                              - *

                              The per-table quotas apply only when you are creating a new table. They restrict the sum - * of the provisioned capacity of the new table itself and all its global secondary + *

                              This will let you see whether you are getting close to your account-level + * quotas.

                              + *

                              The per-table quotas apply only when you are creating a new table. They restrict the + * sum of the provisioned capacity of the new table itself and all its global secondary * indexes.

                              - *

                              For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned + *

                              For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned * capacity extremely rapidly, but the only quota that applies is that the aggregate * provisioned capacity over all your tables and GSIs cannot exceed either of the * per-account quotas.

                              - * + * *

                              - * DescribeLimits should only be called periodically. You can expect throttling - * errors if you call it more than once in a minute.

                              - *
                              - *

                              The DescribeLimits Request element has no content.

                              + * DescribeLimits should only be called periodically. You can expect + * throttling errors if you call it more than once in a minute.

                              + *
                              + *

                              The DescribeLimits Request element has no content.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeTableCommand.ts b/clients/client-dynamodb/src/commands/DescribeTableCommand.ts index cfab1e612c20b..4bd503265f89c 100644 --- a/clients/client-dynamodb/src/commands/DescribeTableCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeTableCommand.ts @@ -22,13 +22,16 @@ export interface DescribeTableCommandInput extends DescribeTableInput {} export interface DescribeTableCommandOutput extends DescribeTableOutput, __MetadataBearer {} /** - *

                              Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.

                              - * - *

                              If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might - * return a ResourceNotFoundException. This is because DescribeTable uses an eventually - * consistent query, and the metadata for your table might not be available at that moment. - * Wait for a few seconds, and then try the DescribeTable request again.

                              - *
                              + *

                              Returns information about the table, including the current status of the table, when + * it was created, the primary key schema, and any indexes on the table.

                              + * + *

                              If you issue a DescribeTable request immediately after a + * CreateTable request, DynamoDB might return a + * ResourceNotFoundException. This is because + * DescribeTable uses an eventually consistent query, and the metadata + * for your table might not be available at that moment. Wait for a few seconds, and + * then try the DescribeTable request again.

                              + *
                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts index 737d7647ee0ce..02fb551f1703a 100644 --- a/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeTableReplicaAutoScalingCommand.ts @@ -25,9 +25,10 @@ export interface DescribeTableReplicaAutoScalingCommandOutput /** *

                              Describes auto scaling settings across replicas of the global table at once.

                              - * - *

                              This operation only applies to Version 2019.11.21 of global tables.

                              - *
                              + * + *

                              This operation only applies to Version + * 2019.11.21 of global tables.

                              + *
                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts b/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts index 7a8b7b0cf5cbe..b4757010c41df 100644 --- a/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts +++ b/clients/client-dynamodb/src/commands/EnableKinesisStreamingDestinationCommand.ts @@ -24,10 +24,10 @@ export interface EnableKinesisStreamingDestinationCommandOutput __MetadataBearer {} /** - *

                              Starts table data replication to the specified Kinesis data stream at a timestamp chosen - * during the enable workflow. If this operation doesn't return results immediately, use - * DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream is - * ACTIVE.

                              + *

                              Starts table data replication to the specified Kinesis data stream at a timestamp + * chosen during the enable workflow. If this operation doesn't return results immediately, + * use DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream + * is ACTIVE.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts b/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts index aa91eebf81909..3dc32baff462f 100644 --- a/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts +++ b/clients/client-dynamodb/src/commands/ExecuteStatementCommand.ts @@ -22,9 +22,8 @@ export interface ExecuteStatementCommandInput extends ExecuteStatementInput {} export interface ExecuteStatementCommandOutput extends ExecuteStatementOutput, __MetadataBearer {} /** - *

                              - * This operation allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL. - *

                              + *

                              This operation allows you to perform reads and singleton writes on data stored in + * DynamoDB, using PartiQL.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts b/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts index cce30f0454f14..73a67c6f04e1a 100644 --- a/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts +++ b/clients/client-dynamodb/src/commands/ExecuteTransactionCommand.ts @@ -22,9 +22,14 @@ export interface ExecuteTransactionCommandInput extends ExecuteTransactionInput export interface ExecuteTransactionCommandOutput extends ExecuteTransactionOutput, __MetadataBearer {} /** - *

                              - * This operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL. - *

                              + *

                              This operation allows you to perform transactional reads or writes on data stored in + * DynamoDB, using PartiQL.

                              + * + *

                              The entire transaction must consist of either read statements or write statements, + * you cannot mix both in one transaction. The EXISTS function is an exception and can + * be used to check the condition of specific attributes of the item in a similar + * manner to ConditionCheck in the TransactWriteItems API.

                              + *
                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/GetItemCommand.ts b/clients/client-dynamodb/src/commands/GetItemCommand.ts index 2c875bdeaa96c..075b764b1f3d8 100644 --- a/clients/client-dynamodb/src/commands/GetItemCommand.ts +++ b/clients/client-dynamodb/src/commands/GetItemCommand.ts @@ -19,13 +19,14 @@ export interface GetItemCommandInput extends GetItemInput {} export interface GetItemCommandOutput extends GetItemOutput, __MetadataBearer {} /** - *

                              The GetItem operation returns a set of attributes for the item with the given primary - * key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.

                              - *

                              - * GetItem provides an eventually consistent read by default. If your application - * requires a strongly consistent read, set ConsistentRead to true. Although - * a strongly consistent read might take more time than an eventually consistent read, it always - * returns the last updated value.

                              + *

                              The GetItem operation returns a set of attributes for the item with the + * given primary key. If there is no matching item, GetItem does not return + * any data and there will be no Item element in the response.

                              + *

                              + * GetItem provides an eventually consistent read by default. If your + * application requires a strongly consistent read, set ConsistentRead to + * true. Although a strongly consistent read might take more time than an + * eventually consistent read, it always returns the last updated value.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ListBackupsCommand.ts b/clients/client-dynamodb/src/commands/ListBackupsCommand.ts index 0a2b2bb8d46bb..dc2b61da6d63b 100644 --- a/clients/client-dynamodb/src/commands/ListBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/ListBackupsCommand.ts @@ -22,13 +22,13 @@ export interface ListBackupsCommandInput extends ListBackupsInput {} export interface ListBackupsCommandOutput extends ListBackupsOutput, __MetadataBearer {} /** - *

                              List backups associated with an AWS account. To list backups for a given table, specify - * TableName. ListBackups returns a paginated list of results - * with at most 1 MB worth of items in a page. You can also specify a maximum number of - * entries to be returned in a page.

                              - *

                              In the request, start time is inclusive, but end time is exclusive. Note that these + *

                              List backups associated with an Amazon Web Services account. To list backups for a + * given table, specify TableName. ListBackups returns a + * paginated list of results with at most 1 MB worth of items in a page. You can also + * specify a maximum number of entries to be returned in a page.

                              + *

                              In the request, start time is inclusive, but end time is exclusive. Note that these * boundaries are for the time at which the original backup was requested.

                              - *

                              You can call ListBackups a maximum of five times per second.

                              + *

                              You can call ListBackups a maximum of five times per second.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts b/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts index 7e5de344ea733..d7768f490f708 100644 --- a/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts +++ b/clients/client-dynamodb/src/commands/ListContributorInsightsCommand.ts @@ -22,7 +22,8 @@ export interface ListContributorInsightsCommandInput extends ListContributorInsi export interface ListContributorInsightsCommandOutput extends ListContributorInsightsOutput, __MetadataBearer {} /** - *

                              Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.

                              + *

                              Returns a list of ContributorInsightsSummary for a table and all its global secondary + * indexes.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts b/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts index 7705692fc5fc7..4256d191fbbe6 100644 --- a/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts +++ b/clients/client-dynamodb/src/commands/ListGlobalTablesCommand.ts @@ -23,9 +23,10 @@ export interface ListGlobalTablesCommandOutput extends ListGlobalTablesOutput, _ /** *

                              Lists all global tables that have a replica in the specified Region.

                              - * - *

                              This operation only applies to Version 2017.11.29 of global tables.

                              - *
                              + * + *

                              This operation only applies to Version + * 2017.11.29 of global tables.

                              + *
                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ListTablesCommand.ts b/clients/client-dynamodb/src/commands/ListTablesCommand.ts index a86307dda6674..9300beb2ae413 100644 --- a/clients/client-dynamodb/src/commands/ListTablesCommand.ts +++ b/clients/client-dynamodb/src/commands/ListTablesCommand.ts @@ -22,9 +22,9 @@ export interface ListTablesCommandInput extends ListTablesInput {} export interface ListTablesCommandOutput extends ListTablesOutput, __MetadataBearer {} /** - *

                              Returns an array of table names associated with the current account and endpoint. The output - * from ListTables is paginated, with each page returning a maximum of 100 table - * names.

                              + *

                              Returns an array of table names associated with the current account and endpoint. The + * output from ListTables is paginated, with each page returning a maximum of + * 100 table names.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts b/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts index 6e782fc72661c..4bd0c359e788e 100644 --- a/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts +++ b/clients/client-dynamodb/src/commands/ListTagsOfResourceCommand.ts @@ -22,10 +22,10 @@ export interface ListTagsOfResourceCommandInput extends ListTagsOfResourceInput export interface ListTagsOfResourceCommandOutput extends ListTagsOfResourceOutput, __MetadataBearer {} /** - *

                              List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

                              - *

                              For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

                              + *

                              List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 + * times per second, per account.

                              + *

                              For an overview on tagging DynamoDB resources, see Tagging for DynamoDB + * in the Amazon DynamoDB Developer Guide.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/PutItemCommand.ts b/clients/client-dynamodb/src/commands/PutItemCommand.ts index 3879dbb8e6a11..4b6acbb93868b 100644 --- a/clients/client-dynamodb/src/commands/PutItemCommand.ts +++ b/clients/client-dynamodb/src/commands/PutItemCommand.ts @@ -19,74 +19,81 @@ export interface PutItemCommandInput extends PutItemInput {} export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer {} /** - *

                              Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter.

                              - * + *

                              Creates a new item, or replaces an old item with a new item. If an item that has the + * same primary key as the new item already exists in the specified table, the new item + * completely replaces the existing item. You can perform a conditional put operation (add + * a new item if one with the specified primary key doesn't exist), or replace an existing + * item if it has certain attribute values. You can return the item's attribute values in + * the same operation, using the ReturnValues parameter.

                              + * *

                              This topic provides general information about the PutItem API.

                              - *

                              For information on how to call the PutItem API using the AWS SDK in specific languages, see the following:

                              + *

                              For information on how to call the PutItem API using the Amazon Web Services SDK in specific languages, see the following:

                              * - *
                              + *
                              * - *

                              When you add an item, the primary key attributes are the only required attributes. + *

                              When you add an item, the primary key attributes are the only required attributes. * Attribute values cannot be null.

                              - *

                              Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index. - * Set type attributes cannot be empty.

                              - *

                              Invalid Requests with empty values will - * be rejected with a ValidationException exception.

                              - * - *

                              To prevent a new item from replacing an existing item, use a conditional expression - * that contains the attribute_not_exists function with the name of the - * attribute being used as the partition key for the table. Since every record must contain - * that attribute, the attribute_not_exists function will only succeed if - * no matching item exists.

                              - *
                              - *

                              For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.

                              + *

                              Empty String and Binary attribute values are allowed. Attribute values of type String + * and Binary must have a length greater than zero if the attribute is used as a key + * attribute for a table or index. Set type attributes cannot be empty.

                              + *

                              Invalid Requests with empty values will be rejected with a + * ValidationException exception.

                              + * + *

                              To prevent a new item from replacing an existing item, use a conditional + * expression that contains the attribute_not_exists function with the + * name of the attribute being used as the partition key for the table. Since every + * record must contain that attribute, the attribute_not_exists function + * will only succeed if no matching item exists.

                              + *
                              + *

                              For more information about PutItem, see Working with + * Items in the Amazon DynamoDB Developer Guide.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/QueryCommand.ts b/clients/client-dynamodb/src/commands/QueryCommand.ts index e085f4a67e412..3137366e58c78 100644 --- a/clients/client-dynamodb/src/commands/QueryCommand.ts +++ b/clients/client-dynamodb/src/commands/QueryCommand.ts @@ -19,62 +19,58 @@ export interface QueryCommandInput extends QueryInput {} export interface QueryCommandOutput extends QueryOutput, __MetadataBearer {} /** - *

                              The Query operation finds items based on primary key values. - * You can query any table or secondary index that has a composite primary key (a partition - * key and a sort key). - *

                              - *

                              Use the KeyConditionExpression parameter to provide a specific value - * for the partition key. The Query operation will return all of the items - * from the table or index with that partition key value. You can optionally narrow the - * scope of the Query operation by specifying a sort key value and a - * comparison operator in KeyConditionExpression. To further refine the Query results, - * you can optionally provide a FilterExpression. A FilterExpression determines which items - * within the results should be returned to you. All of the other results are discarded. - *

                              - *

                              - * A Query operation always returns a result set. If no matching items are found, - * the result set will be empty. Queries that do not return results consume the minimum number of - * read capacity units for that type of read operation. - *

                              + *

                              You must provide the name of the partition key attribute and a single value for that + * attribute. Query returns all items with that partition key value. + * Optionally, you can provide a sort key attribute and use a comparison operator to refine + * the search results.

                              + * + *

                              Use the KeyConditionExpression parameter to provide a specific value for + * the partition key. The Query operation will return all of the items from + * the table or index with that partition key value. You can optionally narrow the scope of + * the Query operation by specifying a sort key value and a comparison + * operator in KeyConditionExpression. To further refine the + * Query results, you can optionally provide a + * FilterExpression. A FilterExpression determines which + * items within the results should be returned to you. All of the other results are + * discarded.

                              + *

                              A Query operation always returns a result set. If no matching items are + * found, the result set will be empty. Queries that do not return results consume the + * minimum number of read capacity units for that type of read operation.

                              * - *

                              - * DynamoDB calculates the number of read capacity units consumed based on item size, - * not on the amount of data that is returned to an application. The number of capacity - * units consumed will be the same whether you request all of the attributes (the default behavior) - * or just some of them (using a projection expression). The number will also be the same - * whether or not you use a FilterExpression. + *

                              DynamoDB calculates the number of read capacity units consumed based on item + * size, not on the amount of data that is returned to an application. The number of + * capacity units consumed will be the same whether you request all of the attributes + * (the default behavior) or just some of them (using a projection expression). The + * number will also be the same whether or not you use a FilterExpression. *

                              *
                              *

                              - * Query results are always sorted by the sort key value. If the data type of the sort key is Number, - * the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes. - * By default, the sort order is ascending. To reverse the order, set the ScanIndexForward parameter - * to false. - *

                              - *

                              A single Query operation will read up to the maximum number of items - * set (if using the Limit parameter) or a maximum of 1 MB of data and then - * apply any filtering to the results using FilterExpression. If + * Query results are always sorted by the sort key value. If the data type of + * the sort key is Number, the results are returned in numeric order; otherwise, the + * results are returned in order of UTF-8 bytes. By default, the sort order is ascending. + * To reverse the order, set the ScanIndexForward parameter to false.

                              + *

                              A single Query operation will read up to the maximum number of items set + * (if using the Limit parameter) or a maximum of 1 MB of data and then apply + * any filtering to the results using FilterExpression. If * LastEvaluatedKey is present in the response, you will need to paginate * the result set. For more information, see Paginating * the Results in the Amazon DynamoDB Developer Guide.

                              *

                              * FilterExpression is applied after a Query finishes, but before - * the results are returned. - * A FilterExpression cannot contain partition key or sort key attributes. - * You need to specify those attributes in the KeyConditionExpression. - *

                              + * the results are returned. A FilterExpression cannot contain partition key + * or sort key attributes. You need to specify those attributes in the + * KeyConditionExpression.

                              * - *

                              - * A Query operation can return an empty result set and a LastEvaluatedKey - * if all the items read for the page of results are filtered out. - *

                              + *

                              A Query operation can return an empty result set and a + * LastEvaluatedKey if all the items read for the page of results are + * filtered out.

                              *
                              *

                              You can query a table, a local secondary index, or a global secondary index. For a * query on a table or on a local secondary index, you can set the - * ConsistentRead parameter to true and obtain a - * strongly consistent result. Global secondary indexes support eventually consistent reads - * only, so do not specify ConsistentRead when querying a global - * secondary index.

                              + * ConsistentRead parameter to true and obtain a strongly + * consistent result. Global secondary indexes support eventually consistent reads only, so + * do not specify ConsistentRead when querying a global secondary + * index.

                              * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts b/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts index b4dc0a0751f51..47462e58fc888 100644 --- a/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts +++ b/clients/client-dynamodb/src/commands/RestoreTableFromBackupCommand.ts @@ -22,30 +22,30 @@ export interface RestoreTableFromBackupCommandInput extends RestoreTableFromBack export interface RestoreTableFromBackupCommandOutput extends RestoreTableFromBackupOutput, __MetadataBearer {} /** - *

                              Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores - * (any type of restore) in a given account. - *

                              - *

                              You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

                              - *

                              You must manually set up the following on the restored table:

                              - *
                                + *

                                Creates a new table from an existing backup. Any number of users can execute up to 4 + * concurrent restores (any type of restore) in a given account.

                                + *

                                You can call RestoreTableFromBackup at a maximum rate of 10 times per + * second.

                                + *

                                You must manually set up the following on the restored table:

                                + *
                                  *
                                • - *

                                  Auto scaling policies

                                  - *
                                • + *

                                  Auto scaling policies

                                  + * *
                                • - *

                                  IAM policies

                                  - *
                                • + *

                                  IAM policies

                                  + * *
                                • - *

                                  Amazon CloudWatch metrics and alarms

                                  - *
                                • + *

                                  Amazon CloudWatch metrics and alarms

                                  + * *
                                • - *

                                  Tags

                                  - *
                                • + *

                                  Tags

                                  + * *
                                • - *

                                  Stream settings

                                  - *
                                • + *

                                  Stream settings

                                  + * *
                                • - *

                                  Time to Live (TTL) settings

                                  - *
                                • + *

                                  Time to Live (TTL) settings

                                  + * *
                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts b/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts index c68c334f39b20..04b3f8b2d0e4c 100644 --- a/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts @@ -23,60 +23,55 @@ export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPo /** *

                                Restores the specified table to the specified point in time within - * EarliestRestorableDateTime and LatestRestorableDateTime. - * You can restore your table to any point in time during the last 35 days. - * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account. - *

                                - *

                                - * When you restore using point in time recovery, DynamoDB restores your table data to the state based on - * the selected date and time (day:hour:minute:second) to a new table. - *

                                - *

                                - * Along with data, the following are also included on the new restored table using point in time recovery: - *

                                + * EarliestRestorableDateTime and LatestRestorableDateTime. + * You can restore your table to any point in time during the last 35 days. Any number of + * users can execute up to 4 concurrent restores (any type of restore) in a given account.

                                + *

                                When you restore using point in time recovery, DynamoDB restores your table data to + * the state based on the selected date and time (day:hour:minute:second) to a new table.

                                + *

                                Along with data, the following are also included on the new restored table using + * point in time recovery:

                                *
                                  *
                                • - *

                                  Global secondary indexes (GSIs)

                                  - *
                                • + *

                                  Global secondary indexes (GSIs)

                                  + * *
                                • - *

                                  Local secondary indexes (LSIs)

                                  - *
                                • + *

                                  Local secondary indexes (LSIs)

                                  + * *
                                • - *

                                  Provisioned read and write capacity

                                  - *
                                • + *

                                  Provisioned read and write capacity

                                  + * *
                                • - *

                                  Encryption settings

                                  - * - *

                                  - * All these settings come from the current settings of the source table at the time of restore. - *

                                  - *
                                  - *
                                • + *

                                  Encryption settings

                                  + * + *

                                  All these settings come from the current settings of the source table at + * the time of restore.

                                  + *
                                  + * *
                                * - *

                                You must manually set up the following on the restored table:

                                - *
                                  + *

                                  You must manually set up the following on the restored table:

                                  + *
                                    *
                                  • - *

                                    Auto scaling policies

                                    - *
                                  • + *

                                    Auto scaling policies

                                    + * *
                                  • - *

                                    IAM policies

                                    - *
                                  • + *

                                    IAM policies

                                    + * *
                                  • - *

                                    Amazon CloudWatch metrics and alarms

                                    - *
                                  • + *

                                    Amazon CloudWatch metrics and alarms

                                    + * *
                                  • - *

                                    Tags

                                    - *
                                  • + *

                                    Tags

                                    + * *
                                  • - *

                                    Stream settings

                                    - *
                                  • + *

                                    Stream settings

                                    + * *
                                  • - *

                                    Time to Live (TTL) settings

                                    - *
                                  • + *

                                    Time to Live (TTL) settings

                                    + * *
                                  • - *

                                    Point in time recovery settings

                                    - *
                                  • + *

                                    Point in time recovery settings

                                    + * *
                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-dynamodb/src/commands/ScanCommand.ts b/clients/client-dynamodb/src/commands/ScanCommand.ts index 0cccb8a36e4a7..9acb01da18ed1 100644 --- a/clients/client-dynamodb/src/commands/ScanCommand.ts +++ b/clients/client-dynamodb/src/commands/ScanCommand.ts @@ -19,31 +19,32 @@ export interface ScanCommandInput extends ScanInput {} export interface ScanCommandOutput extends ScanOutput, __MetadataBearer {} /** - *

                                  The Scan operation returns one or more items and item attributes by accessing every - * item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation.

                                  - *

                                  If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the - * scan stops and results are returned to the user as a LastEvaluatedKey value - * to continue the scan in a subsequent operation. The results also include the number of - * items exceeding the limit. A scan can result in no table data meeting the filter - * criteria.

                                  - *

                                  A single Scan operation reads up to the maximum number of items set (if + *

                                  The Scan operation returns one or more items and item attributes by + * accessing every item in a table or a secondary index. To have DynamoDB return fewer + * items, you can provide a FilterExpression operation.

                                  + *

                                  If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, + * the scan stops and results are returned to the user as a LastEvaluatedKey + * value to continue the scan in a subsequent operation. The results also include the + * number of items exceeding the limit. A scan can result in no table data meeting the + * filter criteria.

                                  + *

                                  A single Scan operation reads up to the maximum number of items set (if * using the Limit parameter) or a maximum of 1 MB of data and then apply any * filtering to the results using FilterExpression. If * LastEvaluatedKey is present in the response, you need to paginate the * result set. For more information, see Paginating the * Results in the Amazon DynamoDB Developer Guide.

                                  - *

                                  + *

                                  * Scan operations proceed sequentially; however, for faster performance on * a large table or secondary index, applications can request a parallel Scan * operation by providing the Segment and TotalSegments * parameters. For more information, see Parallel * Scan in the Amazon DynamoDB Developer Guide.

                                  - *

                                  - * Scan uses eventually consistent reads when accessing the data in a - * table; therefore, the result set might not include the changes to data in the table - * immediately before the operation began. If you need a consistent copy of the data, as of - * the time that the Scan begins, you can set the ConsistentRead - * parameter to true.

                                  + *

                                  + * Scan uses eventually consistent reads when accessing the data in a table; + * therefore, the result set might not include the changes to data in the table immediately + * before the operation began. If you need a consistent copy of the data, as of the time + * that the Scan begins, you can set the ConsistentRead parameter + * to true.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/TagResourceCommand.ts b/clients/client-dynamodb/src/commands/TagResourceCommand.ts index f2279bd3d14f0..fed74c87c5663 100644 --- a/clients/client-dynamodb/src/commands/TagResourceCommand.ts +++ b/clients/client-dynamodb/src/commands/TagResourceCommand.ts @@ -26,9 +26,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {} * user-defined tags so that they appear on the Billing and Cost Management console for * cost allocation tracking. You can call TagResource up to five times per second, per * account.

                                  - *

                                  For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

                                  + *

                                  For an overview on tagging DynamoDB resources, see Tagging for DynamoDB + * in the Amazon DynamoDB Developer Guide.

                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts b/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts index 67cdc72653252..f42e445aa459b 100644 --- a/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts +++ b/clients/client-dynamodb/src/commands/TransactGetItemsCommand.ts @@ -29,23 +29,24 @@ export interface TransactGetItemsCommandOutput extends TransactGetItemsOutput, _ * TransactGetItem objects, each of which contains a Get * structure that specifies an item to retrieve from a table in the account and Region. A * call to TransactGetItems cannot retrieve items from tables in more than one - * AWS account or Region. The aggregate size of the items in the transaction cannot exceed - * 4 MB.

                                  - *

                                  DynamoDB rejects the entire TransactGetItems request if any of the following is true:

                                  - *
                                    + * Amazon Web Services account or Region. The aggregate size of the items in the + * transaction cannot exceed 4 MB.

                                    + *

                                    DynamoDB rejects the entire TransactGetItems request if any of + * the following is true:

                                    + *
                                      *
                                    • - *

                                      A conflicting operation is in the process of updating an - * item to be read.

                                      + *

                                      A conflicting operation is in the process of updating an item to be + * read.

                                      *
                                    • *
                                    • - *

                                      There is insufficient provisioned capacity for the transaction - * to be completed.

                                      + *

                                      There is insufficient provisioned capacity for the transaction to be + * completed.

                                      *
                                    • *
                                    • - *

                                      There is a user error, such as an invalid data format.

                                      + *

                                      There is a user error, such as an invalid data format.

                                      *
                                    • *
                                    • - *

                                      The aggregate size of the items in the transaction cannot exceed 4 MB.

                                      + *

                                      The aggregate size of the items in the transaction cannot exceed 4 MB.

                                      *
                                    • *
                                    * @example diff --git a/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts b/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts index 9aeeb43420a0d..aa2813e020aa7 100644 --- a/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts +++ b/clients/client-dynamodb/src/commands/TransactWriteItemsCommand.ts @@ -25,75 +25,77 @@ export interface TransactWriteItemsCommandOutput extends TransactWriteItemsOutpu *

                                    * TransactWriteItems is a synchronous write operation that groups up to 25 * action requests. These actions can target items in different tables, but not in - * different AWS accounts or Regions, and no two actions can target the same item. For - * example, you cannot both ConditionCheck and Update the same - * item. The aggregate size of the items in the transaction cannot exceed 4 MB.

                                    + * different Amazon Web Services accounts or Regions, and no two actions can target the same + * item. For example, you cannot both ConditionCheck and Update + * the same item. The aggregate size of the items in the transaction cannot exceed 4 + * MB.

                                    * - *

                                    The actions are completed atomically so that either all of - * them succeed, or all of them fail. They are defined by the following objects:

                                    + *

                                    The actions are completed atomically so that either all of them succeed, or all of + * them fail. They are defined by the following objects:

                                    * - *
                                      + *
                                        *
                                      • - *

                                        - * Put  —   Initiates a PutItem operation to write a new - * item. This structure specifies the primary key of the item to be written, the - * name of the table to write it in, an optional condition expression that must be - * satisfied for the write to succeed, a list of the item's attributes, and a field - * indicating whether to retrieve the item's attributes if the condition is not - * met.

                                        - *
                                      • - *
                                      • - *

                                        - * Update  —   Initiates an UpdateItem operation to - * update an existing item. This structure specifies the primary key of the item to - * be updated, the name of the table where it resides, an optional condition - * expression that must be satisfied for the update to succeed, an expression that - * defines one or more attributes to be updated, and a field indicating whether to - * retrieve the item's attributes if the condition is not met.

                                        + *

                                        + * Put  —   Initiates a PutItem + * operation to write a new item. This structure specifies the primary key of the + * item to be written, the name of the table to write it in, an optional condition + * expression that must be satisfied for the write to succeed, a list of the item's + * attributes, and a field indicating whether to retrieve the item's attributes if + * the condition is not met.

                                        *
                                      • *
                                      • - *

                                        - * Delete  —   Initiates a DeleteItem operation to - * delete an existing item. This structure specifies the primary key of the item to - * be deleted, the name of the table where it resides, an optional condition - * expression that must be satisfied for the deletion to succeed, and a field + *

                                        + * Update  —   Initiates an UpdateItem + * operation to update an existing item. This structure specifies the primary key + * of the item to be updated, the name of the table where it resides, an optional + * condition expression that must be satisfied for the update to succeed, an + * expression that defines one or more attributes to be updated, and a field * indicating whether to retrieve the item's attributes if the condition is not * met.

                                        *
                                      • *
                                      • - *

                                        - * ConditionCheck  —   Applies a condition to an item that is not - * being modified by the transaction. This structure specifies the primary key of - * the item to be checked, the name of the table where it resides, a condition - * expression that must be satisfied for the transaction to succeed, and a field - * indicating whether to retrieve the item's attributes if the condition is not - * met.

                                        + *

                                        + * Delete  —   Initiates a DeleteItem + * operation to delete an existing item. This structure specifies the primary key + * of the item to be deleted, the name of the table where it resides, an optional + * condition expression that must be satisfied for the deletion to succeed, and a + * field indicating whether to retrieve the item's attributes if the condition is + * not met.

                                        + *
                                      • + *
                                      • + *

                                        + * ConditionCheck  —   Applies a condition to an item + * that is not being modified by the transaction. This structure specifies the + * primary key of the item to be checked, the name of the table where it resides, a + * condition expression that must be satisfied for the transaction to succeed, and + * a field indicating whether to retrieve the item's attributes if the condition is + * not met.

                                        *
                                      • *
                                      * - *

                                      DynamoDB rejects the entire TransactWriteItems request if any of the following is true:

                                      - *
                                        + *

                                        DynamoDB rejects the entire TransactWriteItems request if any of the + * following is true:

                                        + *
                                          *
                                        • - *

                                          A condition in one of the condition expressions is not met.

                                          + *

                                          A condition in one of the condition expressions is not met.

                                          *
                                        • *
                                        • - *

                                          An ongoing operation is in the process of updating the same - * item.

                                          + *

                                          An ongoing operation is in the process of updating the same item.

                                          *
                                        • *
                                        • - *

                                          There is insufficient provisioned capacity for the transaction - * to be completed.

                                          + *

                                          There is insufficient provisioned capacity for the transaction to be + * completed.

                                          *
                                        • *
                                        • - *

                                          An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too - * large, or a similar validation error occurs because of changes made by the - * transaction.

                                          + *

                                          An item size becomes too large (bigger than 400 KB), a local secondary index + * (LSI) becomes too large, or a similar validation error occurs because of changes + * made by the transaction.

                                          *
                                        • *
                                        • - *

                                          The aggregate size of the items in the transaction exceeds 4 MB.

                                          + *

                                          The aggregate size of the items in the transaction exceeds 4 MB.

                                          *
                                        • *
                                        • - *

                                          There is a user error, such as an invalid data format.

                                          + *

                                          There is a user error, such as an invalid data format.

                                          *
                                        • *
                                        * @example diff --git a/clients/client-dynamodb/src/commands/UntagResourceCommand.ts b/clients/client-dynamodb/src/commands/UntagResourceCommand.ts index e326625e34b91..858f927fdfcbb 100644 --- a/clients/client-dynamodb/src/commands/UntagResourceCommand.ts +++ b/clients/client-dynamodb/src/commands/UntagResourceCommand.ts @@ -24,9 +24,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {} /** *

                                        Removes the association of tags from an Amazon DynamoDB resource. You can call * UntagResource up to five times per second, per account.

                                        - *

                                        For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

                                        + *

                                        For an overview on tagging DynamoDB resources, see Tagging for DynamoDB + * in the Amazon DynamoDB Developer Guide.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts b/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts index 04cee44e20a30..648b49f29b8b1 100644 --- a/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts @@ -23,15 +23,15 @@ export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBa /** *

                                        - * UpdateContinuousBackups enables or disables point in time recovery for the specified table. - * A successful UpdateContinuousBackups call returns the current ContinuousBackupsDescription. - * Continuous backups are ENABLED on all tables at table creation. - * If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                                        - *

                                        - * Once continuous backups and point in time recovery are enabled, you can restore to any point in time within - * EarliestRestorableDateTime and LatestRestorableDateTime. - *

                                        - *

                                        + * UpdateContinuousBackups enables or disables point in time recovery for + * the specified table. A successful UpdateContinuousBackups call returns the + * current ContinuousBackupsDescription. Continuous backups are + * ENABLED on all tables at table creation. If point in time recovery is + * enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                                        + *

                                        Once continuous backups and point in time recovery are enabled, you can restore to + * any point in time within EarliestRestorableDateTime and + * LatestRestorableDateTime.

                                        + *

                                        * LatestRestorableDateTime is typically 5 minutes before the current time. * You can restore your table to any point in time during the last 35 days.

                                        * @example diff --git a/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts b/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts index 0727965e4bb84..edfcde0bde2c4 100644 --- a/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateContributorInsightsCommand.ts @@ -22,7 +22,12 @@ export interface UpdateContributorInsightsCommandInput extends UpdateContributor export interface UpdateContributorInsightsCommandOutput extends UpdateContributorInsightsOutput, __MetadataBearer {} /** - *

                                        Updates the status for contributor insights for a specific table or index.

                                        + *

                                        Updates the status for contributor insights for a specific table or index. CloudWatch + * Contributor Insights for DynamoDB graphs display the partition key and (if applicable) + * sort key of frequently accessed items and frequently throttled items in plaintext. If + * you require the use of AWS Key Management Service (KMS) to encrypt this table’s + * partition key and sort key data with an AWS managed key or customer managed key, you + * should not enable CloudWatch Contributor Insights for DynamoDB for this table.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts b/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts index 549783b2600ad..80d117cf64027 100644 --- a/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateGlobalTableCommand.ts @@ -27,28 +27,23 @@ export interface UpdateGlobalTableCommandOutput extends UpdateGlobalTableOutput, * same name as the global table, have the same key schema, have DynamoDB Streams enabled, * and have the same provisioned and maximum write capacity units.

                                        * - *

                                        Although you can use UpdateGlobalTable to add replicas and remove replicas in - * a single request, for simplicity we recommend that you issue separate requests for - * adding or removing replicas.

                                        - *
                                        - *

                                        - * If global secondary indexes are specified, then the following conditions must also be met: - *

                                        + *

                                        Although you can use UpdateGlobalTable to add replicas and remove + * replicas in a single request, for simplicity we recommend that you issue separate + * requests for adding or removing replicas.

                                        + * + *

                                        If global secondary indexes are specified, then the following conditions must also be + * met:

                                        *
                                          *
                                        • - *

                                          - * The global secondary indexes must have the same name. - *

                                          + *

                                          The global secondary indexes must have the same name.

                                          *
                                        • *
                                        • - *

                                          - * The global secondary indexes must have the same hash key and sort key (if present). - *

                                          + *

                                          The global secondary indexes must have the same hash key and sort key (if + * present).

                                          *
                                        • *
                                        • - *

                                          - * The global secondary indexes must have the same provisioned and maximum write capacity units. - *

                                          + *

                                          The global secondary indexes must have the same provisioned and maximum write + * capacity units.

                                          *
                                        • *
                                        * @example diff --git a/clients/client-dynamodb/src/commands/UpdateItemCommand.ts b/clients/client-dynamodb/src/commands/UpdateItemCommand.ts index 1ce6d026e1b6e..350874c4cdec8 100644 --- a/clients/client-dynamodb/src/commands/UpdateItemCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateItemCommand.ts @@ -22,9 +22,13 @@ export interface UpdateItemCommandInput extends UpdateItemInput {} export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBearer {} /** - *

                                        Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).

                                        - *

                                        You can also return the item's attribute values in the same UpdateItem - * operation using the ReturnValues parameter.

                                        + *

                                        Edits an existing item's attributes, or adds a new item to the table if it does not + * already exist. You can put, delete, or add attribute values. You can also perform a + * conditional update on an existing item (insert a new attribute name-value pair if it + * doesn't exist, or replace an existing name-value pair if it has certain expected + * attribute values).

                                        + *

                                        You can also return the item's attribute values in the same UpdateItem + * operation using the ReturnValues parameter.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/UpdateTableCommand.ts b/clients/client-dynamodb/src/commands/UpdateTableCommand.ts index ef9f021f1ff4a..6d12fef1860c2 100644 --- a/clients/client-dynamodb/src/commands/UpdateTableCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateTableCommand.ts @@ -22,29 +22,31 @@ export interface UpdateTableCommandInput extends UpdateTableInput {} export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataBearer {} /** - *

                                        Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.

                                        - *

                                        You can only perform one of the following operations at once:

                                        - *
                                          + *

                                          Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB + * Streams settings for a given table.

                                          + *

                                          You can only perform one of the following operations at once:

                                          + *
                                            *
                                          • - *

                                            Modify the provisioned throughput settings of the table.

                                            + *

                                            Modify the provisioned throughput settings of the table.

                                            *
                                          • *
                                          • - *

                                            Enable or disable DynamoDB Streams on the table.

                                            + *

                                            Enable or disable DynamoDB Streams on the table.

                                            *
                                          • *
                                          • - *

                                            Remove a global secondary index from the table.

                                            + *

                                            Remove a global secondary index from the table.

                                            *
                                          • *
                                          • - *

                                            Create a new global secondary index on the table. After the index begins + *

                                            Create a new global secondary index on the table. After the index begins * backfilling, you can use UpdateTable to perform other * operations.

                                            *
                                          • *
                                          - *

                                          - * UpdateTable is an asynchronous operation; while it is executing, the table status - * changes from ACTIVE to UPDATING. While it is UPDATING, - * you cannot issue another UpdateTable request. When the table returns to the - * ACTIVE state, the UpdateTable operation is complete.

                                          + *

                                          + * UpdateTable is an asynchronous operation; while it is executing, the table + * status changes from ACTIVE to UPDATING. While it is + * UPDATING, you cannot issue another UpdateTable request. + * When the table returns to the ACTIVE state, the UpdateTable + * operation is complete.

                                          * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts b/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts index e5964b7c522f4..798b50ddafff8 100644 --- a/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateTableReplicaAutoScalingCommand.ts @@ -25,9 +25,10 @@ export interface UpdateTableReplicaAutoScalingCommandOutput /** *

                                          Updates auto scaling settings on your global tables at once.

                                          - * - *

                                          This operation only applies to Version 2019.11.21 of global tables.

                                          - *
                                          + * + *

                                          This operation only applies to Version + * 2019.11.21 of global tables.

                                          + *
                                          * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts b/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts index 26707c690bb6c..190e66c248d92 100644 --- a/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateTimeToLiveCommand.ts @@ -22,31 +22,31 @@ export interface UpdateTimeToLiveCommandInput extends UpdateTimeToLiveInput {} export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, __MetadataBearer {} /** - *

                                          The UpdateTimeToLive method enables or disables Time to Live (TTL) for the - * specified table. A successful UpdateTimeToLive call returns the current + *

                                          The UpdateTimeToLive method enables or disables Time to Live (TTL) for + * the specified table. A successful UpdateTimeToLive call returns the current * TimeToLiveSpecification. It can take up to one hour for the change to * fully process. Any additional UpdateTimeToLive calls for the same table * during this one hour duration result in a ValidationException.

                                          - *

                                          TTL compares the current time in epoch time format to the time stored in the TTL + *

                                          TTL compares the current time in epoch time format to the time stored in the TTL * attribute of an item. If the epoch time value stored in the attribute is less than the * current time, the item is marked as expired and subsequently deleted.

                                          * - *

                                          The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, - * 1970 UTC.

                                          + *

                                          The epoch time format is the number of seconds elapsed since 12:00:00 AM January + * 1, 1970 UTC.

                                          *
                                          *

                                          DynamoDB deletes expired items on a best-effort basis to ensure availability of - * throughput for other data operations. - *

                                          - * - *

                                          DynamoDB typically deletes expired items within two days of expiration. The exact duration - * within which an item gets deleted after expiration is specific to the - * nature of the workload. Items that have expired and not been deleted will still show up in reads, - * queries, and scans.

                                          - *
                                          + * throughput for other data operations.

                                          + * + *

                                          DynamoDB typically deletes expired items within two days of expiration. The exact + * duration within which an item gets deleted after expiration is specific to the + * nature of the workload. Items that have expired and not been deleted will still show + * up in reads, queries, and scans.

                                          + *
                                          *

                                          As items are deleted, they are removed from any local secondary index and global * secondary index immediately in the same eventually consistent way as a standard delete * operation.

                                          - *

                                          For more information, see Time To Live in the Amazon DynamoDB Developer Guide.

                                          + *

                                          For more information, see Time To Live in the + * Amazon DynamoDB Developer Guide.

                                          * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-dynamodb/src/endpoints.ts b/clients/client-dynamodb/src/endpoints.ts index e84c3c8d796a9..686b5d717dd51 100644 --- a/clients/client-dynamodb/src/endpoints.ts +++ b/clients/client-dynamodb/src/endpoints.ts @@ -178,6 +178,10 @@ const partitionHash: PartitionHash = { hostname: "dynamodb.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "dynamodb-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -188,6 +192,10 @@ const partitionHash: PartitionHash = { hostname: "dynamodb.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "dynamodb-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-dynamodb/src/models/models_0.ts b/clients/client-dynamodb/src/models/models_0.ts index 81be17fe15688..22c3faf937fa7 100644 --- a/clients/client-dynamodb/src/models/models_0.ts +++ b/clients/client-dynamodb/src/models/models_0.ts @@ -5,32 +5,29 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException */ export interface ArchivalSummary { /** - *

                                          The date and time when table archival was initiated by DynamoDB, - * in UNIX epoch time format.

                                          + *

                                          The date and time when table archival was initiated by DynamoDB, in UNIX epoch time + * format.

                                          */ ArchivalDateTime?: Date; /** - *

                                          The reason DynamoDB archived the table. Currently, the only - * possible value is:

                                          + *

                                          The reason DynamoDB archived the table. Currently, the only possible value is:

                                          * - *
                                            + *
                                              *
                                            • - *

                                              - * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The - * table was archived due to the table's AWS KMS key being inaccessible - * for more than seven days. An On-Demand backup was created at the archival - * time.

                                              + *

                                              + * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The table was archived due + * to the table's KMS key being inaccessible for more than seven + * days. An On-Demand backup was created at the archival time.

                                              *
                                            • *
                                            */ ArchivalReason?: string; /** - *

                                            The Amazon Resource Name (ARN) of the backup the table was archived - * to, when applicable in the archival reason. If you wish to restore this - * backup to the same table name, you will need to delete the original - * table.

                                            + *

                                            The Amazon Resource Name (ARN) of the backup the table was archived to, when + * applicable in the archival reason. If you wish to restore this backup to the same table + * name, you will need to delete the original table.

                                            */ ArchivalBackupArn?: string; } @@ -49,7 +46,8 @@ export type AttributeAction = "ADD" | "DELETE" | "PUT"; export type ScalarAttributeType = "B" | "N" | "S"; /** - *

                                            Represents an attribute for describing the key schema for the table and indexes.

                                            + *

                                            Represents an attribute for describing the key schema for the table and + * indexes.

                                            */ export interface AttributeDefinition { /** @@ -59,18 +57,18 @@ export interface AttributeDefinition { /** *

                                            The data type for the attribute, where:

                                            - *
                                              + *
                                                *
                                              • - *

                                                - * S - the attribute is of type String

                                                + *

                                                + * S - the attribute is of type String

                                                *
                                              • *
                                              • - *

                                                - * N - the attribute is of type Number

                                                + *

                                                + * N - the attribute is of type Number

                                                *
                                              • *
                                              • - *

                                                - * B - the attribute is of type Binary

                                                + *

                                                + * B - the attribute is of type Binary

                                                *
                                              • *
                                              */ @@ -91,34 +89,35 @@ export namespace AttributeDefinition { */ export interface AutoScalingTargetTrackingScalingPolicyConfigurationDescription { /** - *

                                              Indicates whether scale in by the target tracking policy is disabled. If the value is true, - * scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. - * Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. - * The default value is false.

                                              + *

                                              Indicates whether scale in by the target tracking policy is disabled. If the value is + * true, scale in is disabled and the target tracking policy won't remove capacity from the + * scalable resource. Otherwise, scale in is enabled and the target tracking policy can + * remove capacity from the scalable resource. The default value is false.

                                              */ DisableScaleIn?: boolean; /** - *

                                              The amount of time, in seconds, after a scale in activity completes before another scale - * in activity can start. The cooldown period is used to block subsequent scale in requests - * until it has expired. You should scale in conservatively to protect your application's - * availability. However, if another alarm triggers a scale out policy during the cooldown - * period after a scale-in, application auto scaling scales out your scalable target - * immediately.

                                              + *

                                              The amount of time, in seconds, after a scale in activity completes before another + * scale in activity can start. The cooldown period is used to block subsequent scale in + * requests until it has expired. You should scale in conservatively to protect your + * application's availability. However, if another alarm triggers a scale out policy during + * the cooldown period after a scale-in, application auto scaling scales out your scalable + * target immediately.

                                              */ ScaleInCooldown?: number; /** - *

                                              The amount of time, in seconds, after a scale out activity completes before another scale out - * activity can start. While the cooldown period is in effect, the capacity that has been added - * by the previous scale out event that initiated the cooldown is calculated as part of the - * desired capacity for the next scale out. You should continuously (but not excessively) - * scale out.

                                              + *

                                              The amount of time, in seconds, after a scale out activity completes before another + * scale out activity can start. While the cooldown period is in effect, the capacity that + * has been added by the previous scale out event that initiated the cooldown is calculated + * as part of the desired capacity for the next scale out. You should continuously (but not + * excessively) scale out.

                                              */ ScaleOutCooldown?: number; /** - *

                                              The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

                                              + *

                                              The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) + * or 2e-360 to 2e360 (Base 2).

                                              */ TargetValue: number | undefined; } @@ -157,38 +156,40 @@ export namespace AutoScalingPolicyDescription { } /** - *

                                              Represents the settings of a target tracking scaling policy that will be modified.

                                              + *

                                              Represents the settings of a target tracking scaling policy that will be + * modified.

                                              */ export interface AutoScalingTargetTrackingScalingPolicyConfigurationUpdate { /** - *

                                              Indicates whether scale in by the target tracking policy is disabled. If the value is true, - * scale in is disabled and the target tracking policy won't remove capacity from the scalable resource. - * Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource. - * The default value is false.

                                              + *

                                              Indicates whether scale in by the target tracking policy is disabled. If the value is + * true, scale in is disabled and the target tracking policy won't remove capacity from the + * scalable resource. Otherwise, scale in is enabled and the target tracking policy can + * remove capacity from the scalable resource. The default value is false.

                                              */ DisableScaleIn?: boolean; /** - *

                                              The amount of time, in seconds, after a scale in activity completes before another scale - * in activity can start. The cooldown period is used to block subsequent scale in requests - * until it has expired. You should scale in conservatively to protect your application's - * availability. However, if another alarm triggers a scale out policy during the cooldown - * period after a scale-in, application auto scaling scales out your scalable target - * immediately.

                                              + *

                                              The amount of time, in seconds, after a scale in activity completes before another + * scale in activity can start. The cooldown period is used to block subsequent scale in + * requests until it has expired. You should scale in conservatively to protect your + * application's availability. However, if another alarm triggers a scale out policy during + * the cooldown period after a scale-in, application auto scaling scales out your scalable + * target immediately.

                                              */ ScaleInCooldown?: number; /** - *

                                              The amount of time, in seconds, after a scale out activity completes before another scale out - * activity can start. While the cooldown period is in effect, the capacity that has been added - * by the previous scale out event that initiated the cooldown is calculated as part of the - * desired capacity for the next scale out. You should continuously (but not excessively) - * scale out.

                                              + *

                                              The amount of time, in seconds, after a scale out activity completes before another + * scale out activity can start. While the cooldown period is in effect, the capacity that + * has been added by the previous scale out event that initiated the cooldown is calculated + * as part of the desired capacity for the next scale out. You should continuously (but not + * excessively) scale out.

                                              */ ScaleOutCooldown?: number; /** - *

                                              The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

                                              + *

                                              The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) + * or 2e-360 to 2e360 (Base 2).

                                              */ TargetValue: number | undefined; } @@ -228,16 +229,18 @@ export namespace AutoScalingPolicyUpdate { /** *

                                              Represents the auto scaling settings for a global table or global secondary - * index.

                                              + * index.

                                              */ export interface AutoScalingSettingsDescription { /** - *

                                              The minimum capacity units that a global table or global secondary index should be scaled down to.

                                              + *

                                              The minimum capacity units that a global table or global secondary index should be + * scaled down to.

                                              */ MinimumUnits?: number; /** - *

                                              The maximum capacity units that a global table or global secondary index should be scaled up to.

                                              + *

                                              The maximum capacity units that a global table or global secondary index should be + * scaled up to.

                                              */ MaximumUnits?: number; @@ -268,16 +271,18 @@ export namespace AutoScalingSettingsDescription { /** *

                                              Represents the auto scaling settings to be modified for a global table or global - * secondary index.

                                              + * secondary index.

                                              */ export interface AutoScalingSettingsUpdate { /** - *

                                              The minimum capacity units that a global table or global secondary index should be scaled down to.

                                              + *

                                              The minimum capacity units that a global table or global secondary index should be + * scaled down to.

                                              */ MinimumUnits?: number; /** - *

                                              The maximum capacity units that a global table or global secondary index should be scaled up to.

                                              + *

                                              The maximum capacity units that a global table or global secondary index should be + * scaled up to.

                                              */ MaximumUnits?: number; @@ -292,7 +297,8 @@ export interface AutoScalingSettingsUpdate { AutoScalingRoleArn?: string; /** - *

                                              The scaling policy to apply for scaling target global table or global secondary index capacity units.

                                              + *

                                              The scaling policy to apply for scaling target global table or global secondary index + * capacity units.

                                              */ ScalingPolicyUpdate?: AutoScalingPolicyUpdate; } @@ -340,21 +346,22 @@ export interface BackupDetails { /** *

                                              BackupType:

                                              - *
                                                + *
                                                  *
                                                • *

                                                  - * USER - You create and manage these using the on-demand backup feature.

                                                  + * USER - You create and manage these using the on-demand backup + * feature.

                                                  *
                                                • *
                                                • *

                                                  - * SYSTEM - If you delete a table with point-in-time recovery enabled, a SYSTEM backup is automatically - * created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted - * table to the state it was in just before the point of deletion. - *

                                                  + * SYSTEM - If you delete a table with point-in-time recovery enabled, + * a SYSTEM backup is automatically created and is retained for 35 + * days (at no additional cost). System backups allow you to restore the deleted + * table to the state it was in just before the point of deletion.

                                                  *
                                                • *
                                                • *

                                                  - * AWS_BACKUP - On-demand backup created by you from AWS Backup service.

                                                  + * AWS_BACKUP - On-demand backup created by you from Backup service.

                                                  *
                                                • *
                                                */ @@ -366,8 +373,9 @@ export interface BackupDetails { BackupCreationDateTime: Date | undefined; /** - *

                                                Time at which the automatic on-demand backup created by DynamoDB will expire. This SYSTEM - * on-demand backup expires automatically 35 days after its creation.

                                                + *

                                                Time at which the automatic on-demand backup created by DynamoDB will + * expire. This SYSTEM on-demand backup expires automatically 35 days after + * its creation.

                                                */ BackupExpiryDateTime?: Date; } @@ -386,13 +394,17 @@ export type BillingMode = "PAY_PER_REQUEST" | "PROVISIONED"; export type KeyType = "HASH" | "RANGE"; /** - *

                                                Represents a single element of a key schema. A key schema specifies the attributes - * that make up the primary key of a table, or the key attributes of an index.

                                                - *

                                                A KeySchemaElement represents exactly one attribute of the primary key. For example, a - * simple primary key would be represented by one KeySchemaElement (for the partition key). A composite - * primary key would require one KeySchemaElement for the partition key, and another - * KeySchemaElement for the sort key.

                                                - *

                                                A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.

                                                + *

                                                Represents a single element of a key schema. A key schema + * specifies the attributes that make up the primary key of a table, or the key attributes + * of an index.

                                                + *

                                                A KeySchemaElement represents exactly one attribute of the primary key. + * For example, a simple primary key would be represented by one + * KeySchemaElement (for the partition key). A composite primary key would + * require one KeySchemaElement for the partition key, and another + * KeySchemaElement for the sort key.

                                                + *

                                                A KeySchemaElement must be a scalar, top-level attribute (not a nested + * attribute). The data type must be one of String, Number, or Binary. The attribute cannot + * be nested within a List or a Map.

                                                */ export interface KeySchemaElement { /** @@ -402,24 +414,25 @@ export interface KeySchemaElement { /** *

                                                The role that this key attribute will assume:

                                                - *
                                                  + *
                                                    *
                                                  • - *

                                                    - * HASH - partition key

                                                    + *

                                                    + * HASH - partition key

                                                    *
                                                  • *
                                                  • - *

                                                    - * RANGE - sort key

                                                    + *

                                                    + * RANGE - sort key

                                                    *
                                                  • *
                                                  - * - *

                                                  The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                  + * + *

                                                  The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across + * partitions, based on their partition key values.

                                                  *

                                                  The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                  - *
                                                  + * The term "range attribute" derives from the way DynamoDB stores items with + * the same partition key physically close together, in sorted order by the sort key + * value.

                                                  + *
                                                  */ KeyType: KeyType | string | undefined; } @@ -434,24 +447,28 @@ export namespace KeySchemaElement { } /** - *

                                                  Represents the provisioned throughput settings for a specified table or index. The settings - * can be modified using the UpdateTable operation.

                                                  - *

                                                  For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                                  + *

                                                  Represents the provisioned throughput settings for a specified table or index. The + * settings can be modified using the UpdateTable operation.

                                                  + *

                                                  For current minimum and maximum provisioned throughput values, see Service, + * Account, and Table Quotas in the Amazon DynamoDB Developer + * Guide.

                                                  */ export interface ProvisionedThroughput { /** - *

                                                  The maximum number of strongly consistent reads consumed per second before DynamoDB returns a - * ThrottlingException. For more information, see Specifying Read and Write - * Requirements in the Amazon DynamoDB Developer Guide.

                                                  - *

                                                  If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

                                                  + *

                                                  The maximum number of strongly consistent reads consumed per second before DynamoDB + * returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB + * Developer Guide.

                                                  + *

                                                  If read/write capacity mode is PAY_PER_REQUEST the value is set to + * 0.

                                                  */ ReadCapacityUnits: number | undefined; /** *

                                                  The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException. For more information, see Specifying Read and Write - * Requirements in the Amazon DynamoDB Developer Guide.

                                                  - *

                                                  If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

                                                  + * ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB + * Developer Guide.

                                                  + *

                                                  If read/write capacity mode is PAY_PER_REQUEST the value is set to + * 0.

                                                  */ WriteCapacityUnits: number | undefined; } @@ -510,16 +527,20 @@ export interface SourceTableDetails { ItemCount?: number; /** - *

                                                  Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

                                                  - *
                                                    + *

                                                    Controls how you are charged for read and write throughput and how you manage + * capacity. This setting can be changed later.

                                                    + *
                                                      *
                                                    • - *

                                                      - * PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

                                                      + *

                                                      + * PROVISIONED - Sets the read/write capacity mode to + * PROVISIONED. We recommend using PROVISIONED for + * predictable workloads.

                                                      *
                                                    • *
                                                    • - *

                                                      - * PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads. - *

                                                      + *

                                                      + * PAY_PER_REQUEST - Sets the read/write capacity mode to + * PAY_PER_REQUEST. We recommend using + * PAY_PER_REQUEST for unpredictable workloads.

                                                      *
                                                    • *
                                                    */ @@ -538,24 +559,29 @@ export namespace SourceTableDetails { export type ProjectionType = "ALL" | "INCLUDE" | "KEYS_ONLY"; /** - *

                                                    Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

                                                    + *

                                                    Represents attributes that are copied (projected) from the table into an index. These + * are in addition to the primary key attributes and index key attributes, which are + * automatically projected.

                                                    */ export interface Projection { /** *

                                                    The set of attributes that are projected into the index:

                                                    - *
                                                      + *
                                                        *
                                                      • - *

                                                        - * KEYS_ONLY - Only the index and primary keys are projected into the - * index.

                                                        + *

                                                        + * KEYS_ONLY - Only the index and primary keys are projected into the + * index.

                                                        *
                                                      • *
                                                      • - *

                                                        - * INCLUDE - In addition to the attributes described in KEYS_ONLY, the secondary index will include other non-key attributes that you specify.

                                                        + *

                                                        + * INCLUDE - In addition to the attributes described in + * KEYS_ONLY, the secondary index will include other non-key + * attributes that you specify.

                                                        *
                                                      • *
                                                      • - *

                                                        - * ALL - All of the table attributes are projected into the index.

                                                        + *

                                                        + * ALL - All of the table attributes are projected into the + * index.

                                                        *
                                                      • *
                                                      */ @@ -563,9 +589,10 @@ export interface Projection { /** *

                                                      Represents the non-key attribute names which will be projected into the index.

                                                      - *

                                                      For local secondary indexes, the total count of NonKeyAttributes summed across all of the local secondary indexes, - * must not exceed 20. If you project the same attribute into two - * different indexes, this counts as two distinct attributes when determining the total.

                                                      + *

                                                      For local secondary indexes, the total count of NonKeyAttributes summed + * across all of the local secondary indexes, must not exceed 20. If you project the same + * attribute into two different indexes, this counts as two distinct attributes when + * determining the total.

                                                      */ NonKeyAttributes?: string[]; } @@ -580,8 +607,8 @@ export namespace Projection { } /** - *

                                                      Represents the properties of a global secondary index for the table - * when the backup was created.

                                                      + *

                                                      Represents the properties of a global secondary index for the table when the backup + * was created.

                                                      */ export interface GlobalSecondaryIndexInfo { /** @@ -590,38 +617,40 @@ export interface GlobalSecondaryIndexInfo { IndexName?: string; /** - *

                                                      The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

                                                      - *
                                                        + *

                                                        The complete key schema for a global secondary index, which consists of one or more + * pairs of attribute names and key types:

                                                        + *
                                                          *
                                                        • - *

                                                          - * HASH - partition key

                                                          + *

                                                          + * HASH - partition key

                                                          *
                                                        • *
                                                        • - *

                                                          - * RANGE - sort key

                                                          + *

                                                          + * RANGE - sort key

                                                          *
                                                        • *
                                                        - * - *

                                                        The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                        + * + *

                                                        The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across + * partitions, based on their partition key values.

                                                        *

                                                        The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                        - *
                                                        + * The term "range attribute" derives from the way DynamoDB stores items with + * the same partition key physically close together, in sorted order by the sort key + * value.

                                                        + *
                                                        */ KeySchema?: KeySchemaElement[]; /** - *

                                                        Represents attributes that are copied (projected) from the table into - * the global secondary index. These are in addition to the primary - * key attributes and index key attributes, which are automatically - * projected.

                                                        + *

                                                        Represents attributes that are copied (projected) from the table into the global + * secondary index. These are in addition to the primary key attributes and index key + * attributes, which are automatically projected.

                                                        */ Projection?: Projection; /** - *

                                                        Represents the provisioned throughput settings for the specified global secondary index.

                                                        + *

                                                        Represents the provisioned throughput settings for the specified global secondary + * index.

                                                        */ ProvisionedThroughput?: ProvisionedThroughput; } @@ -636,8 +665,8 @@ export namespace GlobalSecondaryIndexInfo { } /** - *

                                                        Represents the properties of a local secondary index for the table - * when the backup was created.

                                                        + *

                                                        Represents the properties of a local secondary index for the table when the backup was + * created.

                                                        */ export interface LocalSecondaryIndexInfo { /** @@ -646,30 +675,35 @@ export interface LocalSecondaryIndexInfo { IndexName?: string; /** - *

                                                        The complete key schema for a local secondary index, which consists of one or more pairs of attribute names and key types:

                                                        - *
                                                          + *

                                                          The complete key schema for a local secondary index, which consists of one or more + * pairs of attribute names and key types:

                                                          + *
                                                            *
                                                          • - *

                                                            - * HASH - partition key

                                                            + *

                                                            + * HASH - partition key

                                                            *
                                                          • *
                                                          • - *

                                                            - * RANGE - sort key

                                                            + *

                                                            + * RANGE - sort key

                                                            *
                                                          • *
                                                          - * - *

                                                          The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                          + * + *

                                                          The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of + * an internal hash function to evenly distribute data items across partitions, based + * on their partition key values.

                                                          *

                                                          The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                          - *
                                                          + * The term "range attribute" derives from the way DynamoDB stores items with the same + * partition key physically close together, in sorted order by the sort key + * value.

                                                          + *
                                                          */ KeySchema?: KeySchemaElement[]; /** - *

                                                          Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

                                                          + *

                                                          Represents attributes that are copied (projected) from the table into the global + * secondary index. These are in addition to the primary key attributes and index key + * attributes, which are automatically projected.

                                                          */ Projection?: Projection; } @@ -692,15 +726,16 @@ export type SSEStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING" | "UPD */ export interface SSEDescription { /** - *

                                                          Represents the current state of server-side encryption. The only supported values are:

                                                          - *
                                                            + *

                                                            Represents the current state of server-side encryption. The only supported values + * are:

                                                            + *
                                                              *
                                                            • - *

                                                              - * ENABLED - Server-side encryption is enabled.

                                                              + *

                                                              + * ENABLED - Server-side encryption is enabled.

                                                              *
                                                            • *
                                                            • - *

                                                              - * UPDATING - Server-side encryption is being updated.

                                                              + *

                                                              + * UPDATING - Server-side encryption is being updated.

                                                              *
                                                            • *
                                                            */ @@ -708,28 +743,27 @@ export interface SSEDescription { /** *

                                                            Server-side encryption type. The only supported value is:

                                                            - *
                                                              + *
                                                                *
                                                              • - *

                                                                - * KMS - Server-side encryption that uses AWS Key Management Service. The - * key is stored in your account and is managed by AWS KMS (AWS KMS charges - * apply).

                                                                + *

                                                                + * KMS - Server-side encryption that uses Key Management Service. The + * key is stored in your account and is managed by KMS (KMS charges apply).

                                                                *
                                                              • *
                                                              */ SSEType?: SSEType | string; /** - *

                                                              The AWS KMS customer master key (CMK) ARN used for the AWS KMS encryption.

                                                              + *

                                                              The KMS key ARN used for the KMS + * encryption.

                                                              */ KMSMasterKeyArn?: string; /** - *

                                                              Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's - * AWS KMS key was inaccessible. This attribute will automatically be cleared when DynamoDB - * detects that the table's AWS KMS key is accessible again. DynamoDB will initiate the table - * archival process when table's AWS KMS key remains inaccessible for more than seven days - * from this date.

                                                              + *

                                                              Indicates the time, in UNIX epoch date format, when DynamoDB detected that + * the table's KMS key was inaccessible. This attribute will automatically + * be cleared when DynamoDB detects that the table's KMS key is accessible + * again. DynamoDB will initiate the table archival process when table's KMS key remains inaccessible for more than seven days from this date.

                                                              */ InaccessibleEncryptionDateTime?: Date; } @@ -750,35 +784,36 @@ export type StreamViewType = "KEYS_ONLY" | "NEW_AND_OLD_IMAGES" | "NEW_IMAGE" | */ export interface StreamSpecification { /** - *

                                                              Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.

                                                              + *

                                                              Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the + * table.

                                                              */ StreamEnabled: boolean | undefined; /** - *

                                                              - * When an item in the table is modified, StreamViewType - * determines what information is written to the stream for this table. Valid values for - * StreamViewType are:

                                                              - *
                                                                - *
                                                              • - *

                                                                - * KEYS_ONLY - Only the key attributes of the modified item are written to the stream.

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * NEW_IMAGE - The entire item, as it appears after it was modified, is written - * to the stream.

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * OLD_IMAGE - The entire item, as it appeared before it was modified, is - * written to the stream.

                                                                - *
                                                              • - *
                                                              • - *

                                                                - * NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are - * written to the stream.

                                                                - *
                                                              • + *

                                                                When an item in the table is modified, StreamViewType determines what + * information is written to the stream for this table. Valid values for + * StreamViewType are:

                                                                + *
                                                                  + *
                                                                • + *

                                                                  + * KEYS_ONLY - Only the key attributes of the modified item are + * written to the stream.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * NEW_IMAGE - The entire item, as it appears after it was modified, + * is written to the stream.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * OLD_IMAGE - The entire item, as it appeared before it was modified, + * is written to the stream.

                                                                  + *
                                                                • + *
                                                                • + *

                                                                  + * NEW_AND_OLD_IMAGES - Both the new and the old item images of the + * item are written to the stream.

                                                                  + *
                                                                • *
                                                                */ StreamViewType?: StreamViewType | string; @@ -820,18 +855,21 @@ export namespace TimeToLiveDescription { } /** - *

                                                                Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, streams, TTL.

                                                                + *

                                                                Contains the details of the features enabled on the table when the backup was created. + * For example, LSIs, GSIs, streams, TTL.

                                                                */ export interface SourceTableFeatureDetails { /** - *

                                                                Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and Projection for the LSIs on the table at the time of backup.

                                                                + *

                                                                Represents the LSI properties for the table when the backup was created. It includes + * the IndexName, KeySchema and Projection for the LSIs on the table at the time of backup. + *

                                                                */ LocalSecondaryIndexes?: LocalSecondaryIndexInfo[]; /** - *

                                                                Represents the GSI properties for the table when the backup was created. It includes the - * IndexName, KeySchema, Projection, and ProvisionedThroughput for the GSIs on the table at - * the time of backup.

                                                                + *

                                                                Represents the GSI properties for the table when the backup was created. It includes + * the IndexName, KeySchema, Projection, and ProvisionedThroughput for the GSIs on the + * table at the time of backup.

                                                                */ GlobalSecondaryIndexes?: GlobalSecondaryIndexInfo[]; @@ -846,7 +884,8 @@ export interface SourceTableFeatureDetails { TimeToLiveDescription?: TimeToLiveDescription; /** - *

                                                                The description of the server-side encryption status on the table when the backup was created.

                                                                + *

                                                                The description of the server-side encryption status on the table when the backup was + * created.

                                                                */ SSEDescription?: SSEDescription; } @@ -875,7 +914,8 @@ export interface BackupDescription { SourceTableDetails?: SourceTableDetails; /** - *

                                                                Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, streams, TTL.

                                                                + *

                                                                Contains the details of the features enabled on the table when the backup was created. + * For example, LSIs, GSIs, streams, TTL.

                                                                */ SourceTableFeatureDetails?: SourceTableFeatureDetails; } @@ -890,7 +930,8 @@ export namespace BackupDescription { } /** - *

                                                                There is another ongoing conflicting backup control plane operation on the table. The backup is either being created, deleted or restored to a table.

                                                                + *

                                                                There is another ongoing conflicting backup control plane operation on the table. + * The backup is either being created, deleted or restored to a table.

                                                                */ export interface BackupInUseException extends __SmithyException, $MetadataBearer { name: "BackupInUseException"; @@ -960,9 +1001,9 @@ export interface BackupSummary { BackupCreationDateTime?: Date; /** - *

                                                                Time at which the automatic on-demand backup created by DynamoDB will expire. This - * SYSTEM on-demand backup expires automatically 35 days after its - * creation.

                                                                + *

                                                                Time at which the automatic on-demand backup created by DynamoDB will + * expire. This SYSTEM on-demand backup expires automatically 35 days after + * its creation.

                                                                */ BackupExpiryDateTime?: Date; @@ -976,18 +1017,19 @@ export interface BackupSummary { *
                                                                  *
                                                                • *

                                                                  - * USER - You create and manage these using the on-demand backup feature.

                                                                  + * USER - You create and manage these using the on-demand backup + * feature.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * SYSTEM - If you delete a table with point-in-time recovery enabled, a SYSTEM backup is automatically - * created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted - * table to the state it was in just before the point of deletion. - *

                                                                  + * SYSTEM - If you delete a table with point-in-time recovery enabled, + * a SYSTEM backup is automatically created and is retained for 35 + * days (at no additional cost). System backups allow you to restore the deleted + * table to the state it was in just before the point of deletion.

                                                                  *
                                                                • *
                                                                • *

                                                                  - * AWS_BACKUP - On-demand backup created by you from AWS Backup service.

                                                                  + * AWS_BACKUP - On-demand backup created by you from Backup service.

                                                                  *
                                                                • *
                                                                */ @@ -1030,22 +1072,16 @@ export enum BatchStatementErrorCodeEnum { } /** - *

                                                                - * An error associated with a statement in a PartiQL batch that was run. - *

                                                                + *

                                                                An error associated with a statement in a PartiQL batch that was run.

                                                                */ export interface BatchStatementError { /** - *

                                                                - * The error code associated with the failed PartiQL batch statement. - *

                                                                + *

                                                                The error code associated with the failed PartiQL batch statement.

                                                                */ Code?: BatchStatementErrorCodeEnum | string; /** - *

                                                                - * The error message associated with the PartiQL batch resposne. - *

                                                                + *

                                                                The error message associated with the PartiQL batch resposne.

                                                                */ Message?: string; } @@ -1081,7 +1117,9 @@ export namespace InternalServerError { } /** - *

                                                                Throughput exceeds the current throughput quota for your account. Please contact AWS Support at AWS Support to request a quota increase.

                                                                + *

                                                                Throughput exceeds the current throughput quota for your account. Please contact + * Amazon Web Services Support to request a + * quota increase.

                                                                */ export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer { name: "RequestLimitExceeded"; @@ -1101,7 +1139,8 @@ export namespace RequestLimitExceeded { export type ReturnConsumedCapacity = "INDEXES" | "NONE" | "TOTAL"; /** - *

                                                                Represents the amount of provisioned throughput capacity consumed on a table or an index.

                                                                + *

                                                                Represents the amount of provisioned throughput capacity consumed on a table or an + * index.

                                                                */ export interface Capacity { /** @@ -1131,10 +1170,10 @@ export namespace Capacity { /** *

                                                                The capacity units consumed by an operation. The data returned includes the total - * provisioned throughput consumed, along with statistics for the table and any indexes involved - * in the operation. ConsumedCapacity is only returned if the request asked for it. - * For more information, see Provisioned - * Throughput in the Amazon DynamoDB Developer Guide.

                                                                + * provisioned throughput consumed, along with statistics for the table and any indexes + * involved in the operation. ConsumedCapacity is only returned if the request + * asked for it. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer + * Guide.

                                                                */ export interface ConsumedCapacity { /** @@ -1163,12 +1202,14 @@ export interface ConsumedCapacity { Table?: Capacity; /** - *

                                                                The amount of throughput consumed on each local index affected by the operation.

                                                                + *

                                                                The amount of throughput consumed on each local index affected by the + * operation.

                                                                */ LocalSecondaryIndexes?: { [key: string]: Capacity }; /** - *

                                                                The amount of throughput consumed on each global index affected by the operation.

                                                                + *

                                                                The amount of throughput consumed on each global index affected by the + * operation.

                                                                */ GlobalSecondaryIndexes?: { [key: string]: Capacity }; } @@ -1198,11 +1239,10 @@ export namespace InvalidEndpointException { } /** - *

                                                                Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that - * receive this exception. Your request is eventually successful, unless your retry queue is too - * large to finish. Reduce the frequency of requests and use exponential backoff. For more - * information, go to Error Retries and Exponential - * Backoff in the Amazon DynamoDB Developer Guide.

                                                                + *

                                                                Your request rate is too high. The Amazon Web Services SDKs for DynamoDB + * automatically retry requests that receive this exception. Your request is eventually + * successful, unless your retry queue is too large to finish. Reduce the frequency of + * requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

                                                                */ export interface ProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer { name: "ProvisionedThroughputExceededException"; @@ -1223,8 +1263,8 @@ export namespace ProvisionedThroughputExceededException { } /** - *

                                                                The operation tried to access a nonexistent table or index. The resource might not be specified - * correctly, or its status might not be ACTIVE.

                                                                + *

                                                                The operation tried to access a nonexistent table or index. The resource might not + * be specified correctly, or its status might not be ACTIVE.

                                                                */ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceNotFoundException"; @@ -1247,13 +1287,15 @@ export namespace ResourceNotFoundException { export type ReturnItemCollectionMetrics = "NONE" | "SIZE"; /** - *

                                                                An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.

                                                                + *

                                                                An item collection is too large. This exception is only returned for tables that + * have one or more local secondary indexes.

                                                                */ export interface ItemCollectionSizeLimitExceededException extends __SmithyException, $MetadataBearer { name: "ItemCollectionSizeLimitExceededException"; $fault: "client"; /** - *

                                                                The total size of an item collection has exceeded the maximum limit of 10 gigabytes.

                                                                + *

                                                                The total size of an item collection has exceeded the maximum limit of 10 + * gigabytes.

                                                                */ message?: string; } @@ -1272,23 +1314,28 @@ export namespace ItemCollectionSizeLimitExceededException { */ export interface BillingModeSummary { /** - *

                                                                Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

                                                                - *
                                                                  + *

                                                                  Controls how you are charged for read and write throughput and how you manage + * capacity. This setting can be changed later.

                                                                  + *
                                                                    *
                                                                  • - *

                                                                    - * PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

                                                                    + *

                                                                    + * PROVISIONED - Sets the read/write capacity mode to + * PROVISIONED. We recommend using PROVISIONED for + * predictable workloads.

                                                                    *
                                                                  • *
                                                                  • - *

                                                                    - * PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads. - *

                                                                    + *

                                                                    + * PAY_PER_REQUEST - Sets the read/write capacity mode to + * PAY_PER_REQUEST. We recommend using + * PAY_PER_REQUEST for unpredictable workloads.

                                                                    *
                                                                  • *
                                                                  */ BillingMode?: BillingMode | string; /** - *

                                                                  Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

                                                                  + *

                                                                  Represents the time when PAY_PER_REQUEST was last set as the read/write + * capacity mode.

                                                                  */ LastUpdateToPayPerRequestDateTime?: Date; } @@ -1352,33 +1399,33 @@ export type PointInTimeRecoveryStatus = "DISABLED" | "ENABLED"; export interface PointInTimeRecoveryDescription { /** *

                                                                  The current state of point in time recovery:

                                                                  - *
                                                                    + *
                                                                      *
                                                                    • - *

                                                                      - * ENABLING - Point in time recovery is being enabled.

                                                                      + *

                                                                      + * ENABLING - Point in time recovery is being enabled.

                                                                      *
                                                                    • *
                                                                    • - *

                                                                      - * ENABLED - Point in time recovery is enabled.

                                                                      + *

                                                                      + * ENABLED - Point in time recovery is enabled.

                                                                      *
                                                                    • *
                                                                    • - *

                                                                      - * DISABLED - Point in time recovery is disabled.

                                                                      + *

                                                                      + * DISABLED - Point in time recovery is disabled.

                                                                      *
                                                                    • *
                                                                    */ PointInTimeRecoveryStatus?: PointInTimeRecoveryStatus | string; /** - *

                                                                    Specifies the earliest point in time you can restore your table to. You can restore your - * table to any point in time during the last 35 days.

                                                                    + *

                                                                    Specifies the earliest point in time you can restore your table to. You can restore + * your table to any point in time during the last 35 days.

                                                                    */ EarliestRestorableDateTime?: Date; /** *

                                                                    * LatestRestorableDateTime is typically 5 minutes before the current time. - *

                                                                    + *

                                                                    */ LatestRestorableDateTime?: Date; } @@ -1393,13 +1440,14 @@ export namespace PointInTimeRecoveryDescription { } /** - *

                                                                    Represents the continuous backups and point in time recovery settings on the table.

                                                                    + *

                                                                    Represents the continuous backups and point in time recovery settings on the + * table.

                                                                    */ export interface ContinuousBackupsDescription { /** *

                                                                    * ContinuousBackupsStatus can be one of the following states: ENABLED, - * DISABLED

                                                                    + * DISABLED

                                                                    */ ContinuousBackupsStatus: ContinuousBackupsStatus | string | undefined; @@ -1455,7 +1503,8 @@ export interface ContributorInsightsSummary { IndexName?: string; /** - *

                                                                    Describes the current status for contributor insights for the given table and index, if applicable.

                                                                    + *

                                                                    Describes the current status for contributor insights for the given table and index, + * if applicable.

                                                                    */ ContributorInsightsStatus?: ContributorInsightsStatus | string; } @@ -1511,10 +1560,11 @@ export namespace CreateBackupOutput { *

                                                                    Up to 50 simultaneous table operations are allowed per account. These operations * include CreateTable, UpdateTable, * DeleteTable,UpdateTimeToLive, - * RestoreTableFromBackup, and RestoreTableToPointInTime.

                                                                    - *

                                                                    The only exception is when you are creating a table with one or more secondary indexes. You can have up to - * 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily - * reduce the number of concurrent operations.

                                                                    + * RestoreTableFromBackup, and RestoreTableToPointInTime.

                                                                    + *

                                                                    The only exception is when you are creating a table with one or more secondary + * indexes. You can have up to 25 such requests running at a time; however, if the table or + * index specifications are complex, DynamoDB might temporarily reduce the number + * of concurrent operations.

                                                                    *

                                                                    There is a soft account quota of 256 tables.

                                                                    */ export interface LimitExceededException extends __SmithyException, $MetadataBearer { @@ -1536,7 +1586,8 @@ export namespace LimitExceededException { } /** - *

                                                                    A target table with the specified name is either being created or deleted.

                                                                    + *

                                                                    A target table with the specified name is either being created or deleted. + *

                                                                    */ export interface TableInUseException extends __SmithyException, $MetadataBearer { name: "TableInUseException"; @@ -1554,7 +1605,8 @@ export namespace TableInUseException { } /** - *

                                                                    A source table with the name TableName does not currently exist within the subscriber's account.

                                                                    + *

                                                                    A source table with the name TableName does not currently exist within + * the subscriber's account.

                                                                    */ export interface TableNotFoundException extends __SmithyException, $MetadataBearer { name: "TableNotFoundException"; @@ -1587,14 +1639,17 @@ export interface CreateGlobalSecondaryIndexAction { /** *

                                                                    Represents attributes that are copied (projected) from the table into an index. These - * are in addition to the primary key attributes and index key attributes, which are - * automatically projected.

                                                                    + * are in addition to the primary key attributes and index key attributes, which are + * automatically projected.

                                                                    */ Projection: Projection | undefined; /** - *

                                                                    Represents the provisioned throughput settings for the specified global secondary index.

                                                                    - *

                                                                    For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                                                    + *

                                                                    Represents the provisioned throughput settings for the specified global secondary + * index.

                                                                    + *

                                                                    For current minimum and maximum provisioned throughput values, see Service, + * Account, and Table Quotas in the Amazon DynamoDB Developer + * Guide.

                                                                    */ ProvisionedThroughput?: ProvisionedThroughput; } @@ -1651,13 +1706,13 @@ export namespace CreateGlobalTableInput { export type GlobalTableStatus = "ACTIVE" | "CREATING" | "DELETING" | "UPDATING"; /** - *

                                                                    Replica-specific provisioned throughput settings. If not specified, uses the - * source table's provisioned throughput settings.

                                                                    + *

                                                                    Replica-specific provisioned throughput settings. If not specified, uses the source + * table's provisioned throughput settings.

                                                                    */ export interface ProvisionedThroughputOverride { /** - *

                                                                    Replica-specific read capacity units. If not specified, uses the source table's - * read capacity settings.

                                                                    + *

                                                                    Replica-specific read capacity units. If not specified, uses the source table's read + * capacity settings.

                                                                    */ ReadCapacityUnits?: number; } @@ -1715,36 +1770,43 @@ export interface ReplicaDescription { /** *

                                                                    The current state of the replica:

                                                                    - *
                                                                      + *
                                                                        *
                                                                      • - *

                                                                        - * CREATING - The replica is being created.

                                                                        + *

                                                                        + * CREATING - The replica is being created.

                                                                        *
                                                                      • *
                                                                      • - *

                                                                        - * UPDATING - The replica is being updated.

                                                                        + *

                                                                        + * UPDATING - The replica is being updated.

                                                                        *
                                                                      • *
                                                                      • - *

                                                                        - * DELETING - The replica is being deleted.

                                                                        + *

                                                                        + * DELETING - The replica is being deleted.

                                                                        *
                                                                      • *
                                                                      • - *

                                                                        - * ACTIVE - The replica is ready for use.

                                                                        + *

                                                                        + * ACTIVE - The replica is ready for use.

                                                                        *
                                                                      • *
                                                                      • - *

                                                                        - * REGION_DISABLED - The replica is inaccessible because the AWS Region has been disabled.

                                                                        - * - *

                                                                        If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.

                                                                        - *
                                                                        + *

                                                                        + * REGION_DISABLED - The replica is inaccessible because the Amazon Web Services Region has been disabled.

                                                                        + * + *

                                                                        If the Amazon Web Services Region remains inaccessible for more than 20 + * hours, DynamoDB will remove this replica from the replication + * group. The replica will not be deleted and replication will stop from and to + * this region.

                                                                        + *
                                                                        *
                                                                      • *
                                                                      • - *

                                                                        - * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The AWS KMS key used to encrypt the table is inaccessible.

                                                                        - * - *

                                                                        If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.

                                                                        - *
                                                                        + *

                                                                        + * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The KMS key + * used to encrypt the table is inaccessible.

                                                                        + * + *

                                                                        If the KMS key remains inaccessible for more than 20 hours, + * DynamoDB will remove this replica from the replication group. + * The replica will not be deleted and replication will stop from and to this + * region.

                                                                        + *
                                                                        *
                                                                      • *
                                                                      */ @@ -1756,20 +1818,20 @@ export interface ReplicaDescription { ReplicaStatusDescription?: string; /** - *

                                                                      Specifies the progress of a Create, Update, or Delete action on the replica - * as a percentage.

                                                                      + *

                                                                      Specifies the progress of a Create, Update, or Delete action on the replica as a + * percentage.

                                                                      */ ReplicaStatusPercentProgress?: string; /** - *

                                                                      The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS - * encryption.

                                                                      + *

                                                                      The KMS key of the replica that will be used for + * KMS encryption.

                                                                      */ KMSMasterKeyId?: string; /** *

                                                                      Replica-specific provisioned throughput. If not described, uses the source table's - * provisioned throughput settings.

                                                                      + * provisioned throughput settings.

                                                                      */ ProvisionedThroughputOverride?: ProvisionedThroughputOverride; @@ -1779,7 +1841,8 @@ export interface ReplicaDescription { GlobalSecondaryIndexes?: ReplicaGlobalSecondaryIndexDescription[]; /** - *

                                                                      The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the ReplicaStatus property.

                                                                      + *

                                                                      The time at which the replica was first detected as inaccessible. To determine cause + * of inaccessibility check the ReplicaStatus property.

                                                                      */ ReplicaInaccessibleDateTime?: Date; } @@ -1814,22 +1877,22 @@ export interface GlobalTableDescription { /** *

                                                                      The current state of the global table:

                                                                      - *
                                                                        + *
                                                                          *
                                                                        • - *

                                                                          - * CREATING - The global table is being created.

                                                                          + *

                                                                          + * CREATING - The global table is being created.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * UPDATING - The global table is being updated.

                                                                          + *

                                                                          + * UPDATING - The global table is being updated.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * DELETING - The global table is being deleted.

                                                                          + *

                                                                          + * DELETING - The global table is being deleted.

                                                                          *
                                                                        • *
                                                                        • - *

                                                                          - * ACTIVE - The global table is ready for use.

                                                                          + *

                                                                          + * ACTIVE - The global table is ready for use.

                                                                          *
                                                                        • *
                                                                        */ @@ -1913,8 +1976,8 @@ export interface ReplicaGlobalSecondaryIndex { IndexName: string | undefined; /** - *

                                                                        Replica table GSI-specific provisioned throughput. If not specified, uses the - * source table GSI's read capacity settings.

                                                                        + *

                                                                        Replica table GSI-specific provisioned throughput. If not specified, uses the source + * table GSI's read capacity settings.

                                                                        */ ProvisionedThroughputOverride?: ProvisionedThroughputOverride; } @@ -1938,16 +2001,17 @@ export interface CreateReplicationGroupMemberAction { RegionName: string | undefined; /** - *

                                                                        The AWS KMS customer master key (CMK) that should be used for AWS KMS encryption - * in the new replica. To specify a CMK, use its key ID, Amazon Resource Name (ARN), - * alias name, or alias ARN. Note that you should only provide this parameter if the - * key is different from the default DynamoDB KMS master key alias/aws/dynamodb.

                                                                        + *

                                                                        The KMS key that should be used for KMS encryption in + * the new replica. To specify a key, use its key ID, Amazon Resource Name (ARN), alias + * name, or alias ARN. Note that you should only provide this parameter if the key is + * different from the default DynamoDB KMS key + * alias/aws/dynamodb.

                                                                        */ KMSMasterKeyId?: string; /** *

                                                                        Replica-specific provisioned throughput. If not specified, uses the source table's - * provisioned throughput settings.

                                                                        + * provisioned throughput settings.

                                                                        */ ProvisionedThroughputOverride?: ProvisionedThroughputOverride; @@ -1971,43 +2035,50 @@ export namespace CreateReplicationGroupMemberAction { */ export interface GlobalSecondaryIndex { /** - *

                                                                        The name of the global secondary index. The name must be unique among all other indexes on this table.

                                                                        + *

                                                                        The name of the global secondary index. The name must be unique among all other + * indexes on this table.

                                                                        */ IndexName: string | undefined; /** - *

                                                                        The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

                                                                        - *
                                                                          + *

                                                                          The complete key schema for a global secondary index, which consists of one or more + * pairs of attribute names and key types:

                                                                          + *
                                                                            *
                                                                          • - *

                                                                            - * HASH - partition key

                                                                            + *

                                                                            + * HASH - partition key

                                                                            *
                                                                          • *
                                                                          • - *

                                                                            - * RANGE - sort key

                                                                            + *

                                                                            + * RANGE - sort key

                                                                            *
                                                                          • *
                                                                          - * - *

                                                                          The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                                          + * + *

                                                                          The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of + * an internal hash function to evenly distribute data items across partitions, based + * on their partition key values.

                                                                          *

                                                                          The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                                          - *
                                                                          + * The term "range attribute" derives from the way DynamoDB stores items with the same + * partition key physically close together, in sorted order by the sort key + * value.

                                                                          + *
                                                                          */ KeySchema: KeySchemaElement[] | undefined; /** *

                                                                          Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

                                                                          + * secondary index. These are in addition to the primary key attributes and index key + * attributes, which are automatically projected.

                                                                          */ Projection: Projection | undefined; /** - *

                                                                          Represents the provisioned throughput settings for the specified global secondary index.

                                                                          - *

                                                                          For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                                                          + *

                                                                          Represents the provisioned throughput settings for the specified global secondary + * index.

                                                                          + *

                                                                          For current minimum and maximum provisioned throughput values, see Service, + * Account, and Table Quotas in the Amazon DynamoDB Developer + * Guide.

                                                                          */ ProvisionedThroughput?: ProvisionedThroughput; } @@ -2026,37 +2097,41 @@ export namespace GlobalSecondaryIndex { */ export interface LocalSecondaryIndex { /** - *

                                                                          The name of the local secondary index. The name must be unique among all other indexes on this table.

                                                                          + *

                                                                          The name of the local secondary index. The name must be unique among all other indexes + * on this table.

                                                                          */ IndexName: string | undefined; /** - *

                                                                          The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:

                                                                          - *
                                                                            + *

                                                                            The complete key schema for the local secondary index, consisting of one or more pairs + * of attribute names and key types:

                                                                            + *
                                                                              *
                                                                            • - *

                                                                              - * HASH - partition key

                                                                              + *

                                                                              + * HASH - partition key

                                                                              *
                                                                            • *
                                                                            • - *

                                                                              - * RANGE - sort key

                                                                              + *

                                                                              + * RANGE - sort key

                                                                              *
                                                                            • *
                                                                            - * - *

                                                                            The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                                            + * + *

                                                                            The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of + * an internal hash function to evenly distribute data items across partitions, based + * on their partition key values.

                                                                            *

                                                                            The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                                            - *
                                                                            + * The term "range attribute" derives from the way DynamoDB stores items with the same + * partition key physically close together, in sorted order by the sort key + * value.

                                                                            + *
                                                                            */ KeySchema: KeySchemaElement[] | undefined; /** *

                                                                            Represents attributes that are copied (projected) from the table into the local - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

                                                                            + * secondary index. These are in addition to the primary key attributes and index key + * attributes, which are automatically projected.

                                                                            */ Projection: Projection | undefined; } @@ -2075,30 +2150,30 @@ export namespace LocalSecondaryIndex { */ export interface SSESpecification { /** - *

                                                                            Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true), - * server-side encryption type is set to KMS and an AWS managed CMK is used (AWS KMS charges apply). If disabled (false) or not specified, server-side - * encryption is set to AWS owned CMK.

                                                                            + *

                                                                            Indicates whether server-side encryption is done using an Amazon Web Services managed + * key or an Amazon Web Services owned key. If enabled (true), server-side encryption type + * is set to KMS and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side + * encryption is set to Amazon Web Services owned key.

                                                                            */ Enabled?: boolean; /** *

                                                                            Server-side encryption type. The only supported value is:

                                                                            - *
                                                                              + *
                                                                                *
                                                                              • - *

                                                                                - * KMS - Server-side encryption that uses AWS Key Management Service. The - * key is stored in your account and is managed by AWS KMS (AWS KMS charges - * apply).

                                                                                + *

                                                                                + * KMS - Server-side encryption that uses Key Management Service. The + * key is stored in your account and is managed by KMS (KMS charges apply).

                                                                                *
                                                                              • *
                                                                              */ SSEType?: SSEType | string; /** - *

                                                                              The AWS KMS customer master key (CMK) that should be used for the AWS KMS encryption. To - * specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note - * that you should only provide this parameter if the key is different from the default - * DynamoDB customer master key alias/aws/dynamodb.

                                                                              + *

                                                                              The KMS key that should be used for the KMS encryption. + * To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. + * Note that you should only provide this parameter if the key is different from the + * default DynamoDB key alias/aws/dynamodb.

                                                                              */ KMSMasterKeyId?: string; } @@ -2113,21 +2188,22 @@ export namespace SSESpecification { } /** - *

                                                                              Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single DynamoDB table. - *

                                                                              - *

                                                                              AWS-assigned tag names and values are automatically assigned the aws: - * prefix, which the user cannot assign. AWS-assigned tag names do not count towards the - * tag limit of 50. User-assigned tag names have the prefix user: in the Cost - * Allocation Report. You cannot backdate the application of a tag.

                                                                              - *

                                                                              For an overview on tagging DynamoDB resources, see - * Tagging for DynamoDB - * in the Amazon DynamoDB Developer Guide.

                                                                              + *

                                                                              Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single + * DynamoDB table.

                                                                              + *

                                                                              Amazon Web Services-assigned tag names and values are automatically assigned the + * aws: prefix, which the user cannot assign. Amazon Web Services-assigned + * tag names do not count towards the tag limit of 50. User-assigned tag names have the + * prefix user: in the Cost Allocation Report. You cannot backdate the + * application of a tag.

                                                                              + *

                                                                              For an overview on tagging DynamoDB resources, see Tagging + * for DynamoDB in the Amazon DynamoDB Developer + * Guide.

                                                                              */ export interface Tag { /** - *

                                                                              The key of the tag. Tag keys are case sensitive. Each DynamoDB table can only have up to - * one tag with the same key. If you try to add an existing tag (same key), the existing - * tag value will be updated to the new value.

                                                                              + *

                                                                              The key of the tag. Tag keys are case sensitive. Each DynamoDB table can + * only have up to one tag with the same key. If you try to add an existing tag (same key), + * the existing tag value will be updated to the new value.

                                                                              */ Key: string | undefined; @@ -2161,105 +2237,109 @@ export interface CreateTableInput { TableName: string | undefined; /** - *

                                                                              Specifies the attributes that make up the primary key for a table or an index. The attributes - * in KeySchema must also be defined in the AttributeDefinitions array. For more - * information, see Data Model in the - * Amazon DynamoDB Developer Guide.

                                                                              - *

                                                                              Each KeySchemaElement in the array is composed of:

                                                                              - *
                                                                                + *

                                                                                Specifies the attributes that make up the primary key for a table or an index. The + * attributes in KeySchema must also be defined in the + * AttributeDefinitions array. For more information, see Data + * Model in the Amazon DynamoDB Developer Guide.

                                                                                + *

                                                                                Each KeySchemaElement in the array is composed of:

                                                                                + *
                                                                                  *
                                                                                • - *

                                                                                  - * AttributeName - The name of this key attribute.

                                                                                  + *

                                                                                  + * AttributeName - The name of this key attribute.

                                                                                  *
                                                                                • *
                                                                                • - *

                                                                                  - * KeyType - The role that the key attribute will assume:

                                                                                  - *
                                                                                    + *

                                                                                    + * KeyType - The role that the key attribute will assume:

                                                                                    + *
                                                                                      *
                                                                                    • - *

                                                                                      - * HASH - partition key

                                                                                      - *
                                                                                    • + *

                                                                                      + * HASH - partition key

                                                                                      + * *
                                                                                    • - *

                                                                                      - * RANGE - sort key

                                                                                      - *
                                                                                    • + *

                                                                                      + * RANGE - sort key

                                                                                      + * *
                                                                                    * *
                                                                                  - * + * *

                                                                                  The partition key of an item is also known as its hash - * attribute. The term "hash attribute" derives from the DynamoDB usage of - * an internal hash function to evenly distribute data items across partitions, based - * on their partition key values.

                                                                                  + * attribute. The term "hash attribute" derives from the DynamoDB usage + * of an internal hash function to evenly distribute data items across partitions, + * based on their partition key values.

                                                                                  *

                                                                                  The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                                                  - *
                                                                                  + * The term "range attribute" derives from the way DynamoDB stores items with the same + * partition key physically close together, in sorted order by the sort key + * value.

                                                                                  + *
                                                                                  * - *

                                                                                  For a simple primary key (partition key), you must provide - * exactly one element with a KeyType of HASH.

                                                                                  - *

                                                                                  For a composite primary key (partition key and sort key), you must provide exactly two - * elements, in this order: The first element must have a KeyType of HASH, - * and the second element must have a KeyType of RANGE.

                                                                                  - *

                                                                                  For more information, see Working with Tables in the Amazon DynamoDB Developer + *

                                                                                  For a simple primary key (partition key), you must provide exactly one element with a + * KeyType of HASH.

                                                                                  + *

                                                                                  For a composite primary key (partition key and sort key), you must provide exactly two + * elements, in this order: The first element must have a KeyType of + * HASH, and the second element must have a KeyType of + * RANGE.

                                                                                  + *

                                                                                  For more information, see Working with Tables in the Amazon DynamoDB Developer * Guide.

                                                                                  */ KeySchema: KeySchemaElement[] | undefined; /** - *

                                                                                  One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained.

                                                                                  - *

                                                                                  Each local secondary index in the array includes the following:

                                                                                  - *
                                                                                    + *

                                                                                    One or more local secondary indexes (the maximum is 5) to be created on the table. + * Each index is scoped to a given partition key value. There is a 10 GB size limit per + * partition key value; otherwise, the size of a local secondary index is + * unconstrained.

                                                                                    + *

                                                                                    Each local secondary index in the array includes the following:

                                                                                    + *
                                                                                      *
                                                                                    • - *

                                                                                      - * IndexName - The name of the local secondary index. Must be unique only for this table.

                                                                                      - *

                                                                                      + *

                                                                                      + * IndexName - The name of the local secondary index. Must be unique + * only for this table.

                                                                                      + *

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      - * KeySchema - Specifies the key schema for the local secondary index. The key schema must begin with - * the same partition key as the table.

                                                                                      + *

                                                                                      + * KeySchema - Specifies the key schema for the local secondary index. + * The key schema must begin with the same partition key as the table.

                                                                                      *
                                                                                    • *
                                                                                    • - *

                                                                                      - * Projection - Specifies - * attributes that are copied (projected) from the table into the index. These are in - * addition to the primary key attributes and index key - * attributes, which are automatically projected. Each - * attribute specification is composed of:

                                                                                      - *
                                                                                        + *

                                                                                        + * Projection - Specifies attributes that are copied (projected) from + * the table into the index. These are in addition to the primary key attributes + * and index key attributes, which are automatically projected. Each attribute + * specification is composed of:

                                                                                        + *
                                                                                          *
                                                                                        • - *

                                                                                          - * ProjectionType - One - * of the following:

                                                                                          - *
                                                                                            + *

                                                                                            + * ProjectionType - One of the following:

                                                                                            + *
                                                                                              *
                                                                                            • - *

                                                                                              - * KEYS_ONLY - Only the index and primary keys are projected into the - * index.

                                                                                              - *
                                                                                            • + *

                                                                                              + * KEYS_ONLY - Only the index and primary keys are + * projected into the index.

                                                                                              + * *
                                                                                            • - *

                                                                                              + *

                                                                                              * INCLUDE - Only the specified table attributes are * projected into the index. The list of projected attributes is in * NonKeyAttributes.

                                                                                              - *
                                                                                            • + * *
                                                                                            • - *

                                                                                              - * ALL - All of the table attributes are projected into the - * index.

                                                                                              - *
                                                                                            • + *

                                                                                              + * ALL - All of the table attributes are projected + * into the index.

                                                                                              + * *
                                                                                            - * + * *
                                                                                          • *

                                                                                            - * NonKeyAttributes - A list of one or more non-key - * attribute names that are projected into the secondary index. The total - * count of attributes provided in NonKeyAttributes, - * summed across all of the secondary indexes, must not exceed 100. If you - * project the same attribute into two different indexes, this counts as - * two distinct attributes when determining the total.

                                                                                            - *
                                                                                          • + * NonKeyAttributes - A list of one or more non-key attribute + * names that are projected into the secondary index. The total count of + * attributes provided in NonKeyAttributes, summed across all + * of the secondary indexes, must not exceed 100. If you project the same + * attribute into two different indexes, this counts as two distinct + * attributes when determining the total.

                                                                                            + * *
                                                                                          *
                                                                                        • *
                                                                                        @@ -2267,75 +2347,83 @@ export interface CreateTableInput { LocalSecondaryIndexes?: LocalSecondaryIndex[]; /** - *

                                                                                        One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:

                                                                                        - *
                                                                                          + *

                                                                                          One or more global secondary indexes (the maximum is 20) to be created on the table. + * Each global secondary index in the array includes the following:

                                                                                          + *
                                                                                            *
                                                                                          • - *

                                                                                            - * IndexName - The name of the global secondary index. Must be unique only for this table.

                                                                                            - *

                                                                                            + *

                                                                                            + * IndexName - The name of the global secondary index. Must be unique + * only for this table.

                                                                                            + *

                                                                                            *
                                                                                          • *
                                                                                          • - *

                                                                                            - * KeySchema - Specifies the key schema for the global secondary index.

                                                                                            + *

                                                                                            + * KeySchema - Specifies the key schema for the global secondary + * index.

                                                                                            *
                                                                                          • *
                                                                                          • - *

                                                                                            - * Projection - Specifies - * attributes that are copied (projected) from the table into the index. These are in - * addition to the primary key attributes and index key - * attributes, which are automatically projected. Each - * attribute specification is composed of:

                                                                                            - *
                                                                                              + *

                                                                                              + * Projection - Specifies attributes that are copied (projected) from + * the table into the index. These are in addition to the primary key attributes + * and index key attributes, which are automatically projected. Each attribute + * specification is composed of:

                                                                                              + *
                                                                                                *
                                                                                              • - *

                                                                                                - * ProjectionType - One - * of the following:

                                                                                                - *
                                                                                                  + *

                                                                                                  + * ProjectionType - One of the following:

                                                                                                  + *
                                                                                                    *
                                                                                                  • - *

                                                                                                    - * KEYS_ONLY - Only the index and primary keys are projected into the - * index.

                                                                                                    - *
                                                                                                  • + *

                                                                                                    + * KEYS_ONLY - Only the index and primary keys are + * projected into the index.

                                                                                                    + * *
                                                                                                  • - *

                                                                                                    + *

                                                                                                    * INCLUDE - Only the specified table attributes are * projected into the index. The list of projected attributes is in * NonKeyAttributes.

                                                                                                    - *
                                                                                                  • + * *
                                                                                                  • - *

                                                                                                    - * ALL - All of the table attributes are projected into the - * index.

                                                                                                    - *
                                                                                                  • + *

                                                                                                    + * ALL - All of the table attributes are projected + * into the index.

                                                                                                    + * *
                                                                                                  - * + * *
                                                                                                • - *

                                                                                                  - * NonKeyAttributes - A list of one or more non-key attribute names that are - * projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

                                                                                                  - *
                                                                                                • + *

                                                                                                  + * NonKeyAttributes - A list of one or more non-key attribute + * names that are projected into the secondary index. The total count of + * attributes provided in NonKeyAttributes, summed across all + * of the secondary indexes, must not exceed 100. If you project the same + * attribute into two different indexes, this counts as two distinct + * attributes when determining the total.

                                                                                                  + * *
                                                                                                *
                                                                                              • *
                                                                                              • - *

                                                                                                - * ProvisionedThroughput - The provisioned throughput settings for the global secondary index, - * consisting of read and write capacity units.

                                                                                                + *

                                                                                                + * ProvisionedThroughput - The provisioned throughput settings for the + * global secondary index, consisting of read and write capacity units.

                                                                                                *
                                                                                              • *
                                                                                              */ GlobalSecondaryIndexes?: GlobalSecondaryIndex[]; /** - *

                                                                                              Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

                                                                                              - *
                                                                                                + *

                                                                                                Controls how you are charged for read and write throughput and how you manage + * capacity. This setting can be changed later.

                                                                                                + *
                                                                                                  *
                                                                                                • - *

                                                                                                  - * PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                                                                                  + *

                                                                                                  + * PROVISIONED - We recommend using PROVISIONED for + * predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                                                                                  *
                                                                                                • *
                                                                                                • - *

                                                                                                  - * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode. - *

                                                                                                  + *

                                                                                                  + * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST + * for unpredictable workloads. PAY_PER_REQUEST sets the billing mode + * to On-Demand Mode.

                                                                                                  *
                                                                                                • *
                                                                                                */ @@ -2344,8 +2432,8 @@ export interface CreateTableInput { /** *

                                                                                                Represents the provisioned throughput settings for a specified table or index. The * settings can be modified using the UpdateTable operation.

                                                                                                - *

                                                                                                If you set BillingMode as PROVISIONED, you must specify this property. If you - * set BillingMode as PAY_PER_REQUEST, you cannot specify this + *

                                                                                                If you set BillingMode as PROVISIONED, you must specify this property. + * If you set BillingMode as PAY_PER_REQUEST, you cannot specify this * property.

                                                                                                *

                                                                                                For current minimum and maximum provisioned throughput values, see Service, * Account, and Table Quotas in the Amazon DynamoDB Developer @@ -2355,38 +2443,38 @@ export interface CreateTableInput { /** *

                                                                                                The settings for DynamoDB Streams on the table. These settings consist of:

                                                                                                - *
                                                                                                  + *
                                                                                                    *
                                                                                                  • - *

                                                                                                    + *

                                                                                                    * StreamEnabled - Indicates whether DynamoDB Streams is to be enabled * (true) or disabled (false).

                                                                                                    *
                                                                                                  • *
                                                                                                  • - *

                                                                                                    - * StreamViewType - When an item in the table is modified, StreamViewType - * determines what information is written to the table's stream. Valid values for - * StreamViewType are:

                                                                                                    - *
                                                                                                      + *

                                                                                                      + * StreamViewType - When an item in the table is modified, + * StreamViewType determines what information is written to the + * table's stream. Valid values for StreamViewType are:

                                                                                                      + *
                                                                                                        *
                                                                                                      • - *

                                                                                                        - * KEYS_ONLY - Only the key attributes of the modified item are written to the - * stream.

                                                                                                        - *
                                                                                                      • + *

                                                                                                        + * KEYS_ONLY - Only the key attributes of the modified item + * are written to the stream.

                                                                                                        + * *
                                                                                                      • - *

                                                                                                        - * NEW_IMAGE - The entire item, as it appears after it was modified, is written - * to the stream.

                                                                                                        - *
                                                                                                      • + *

                                                                                                        + * NEW_IMAGE - The entire item, as it appears after it was + * modified, is written to the stream.

                                                                                                        + * *
                                                                                                      • - *

                                                                                                        - * OLD_IMAGE - The entire item, as it appeared before it was modified, is - * written to the stream.

                                                                                                        - *
                                                                                                      • + *

                                                                                                        + * OLD_IMAGE - The entire item, as it appeared before it was + * modified, is written to the stream.

                                                                                                        + * *
                                                                                                      • - *

                                                                                                        - * NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are - * written to the stream.

                                                                                                        - *
                                                                                                      • + *

                                                                                                        + * NEW_AND_OLD_IMAGES - Both the new and the old item images + * of the item are written to the stream.

                                                                                                        + * *
                                                                                                      * *
                                                                                                    @@ -2399,7 +2487,8 @@ export interface CreateTableInput { SSESpecification?: SSESpecification; /** - *

                                                                                                    A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB.

                                                                                                    + *

                                                                                                    A list of key-value pairs to label the table. For more information, see Tagging + * for DynamoDB.

                                                                                                    */ Tags?: Tag[]; } @@ -2416,7 +2505,8 @@ export namespace CreateTableInput { export type IndexStatus = "ACTIVE" | "CREATING" | "DELETING" | "UPDATING"; /** - *

                                                                                                    Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.

                                                                                                    + *

                                                                                                    Represents the provisioned throughput settings for the table, consisting of read and + * write capacity units, along with data about increases and decreases.

                                                                                                    */ export interface ProvisionedThroughputDescription { /** @@ -2430,22 +2520,25 @@ export interface ProvisionedThroughputDescription { LastDecreaseDateTime?: Date; /** - *

                                                                                                    The number of provisioned throughput decreases for this table during this UTC calendar day. - * For current maximums on provisioned throughput decreases, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                                                                                    + *

                                                                                                    The number of provisioned throughput decreases for this table during this UTC calendar + * day. For current maximums on provisioned throughput decreases, see Service, + * Account, and Table Quotas in the Amazon DynamoDB Developer + * Guide.

                                                                                                    */ NumberOfDecreasesToday?: number; /** - *

                                                                                                    The maximum number of strongly consistent reads consumed per second before DynamoDB returns a - * ThrottlingException. Eventually consistent reads require less effort than strongly - * consistent reads, so a setting of 50 ReadCapacityUnits per second provides 100 - * eventually consistent ReadCapacityUnits per second.

                                                                                                    + *

                                                                                                    The maximum number of strongly consistent reads consumed per second before DynamoDB + * returns a ThrottlingException. Eventually consistent reads require less + * effort than strongly consistent reads, so a setting of 50 ReadCapacityUnits + * per second provides 100 eventually consistent ReadCapacityUnits per + * second.

                                                                                                    */ ReadCapacityUnits?: number; /** *

                                                                                                    The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException.

                                                                                                    + * ThrottlingException.

                                                                                                    */ WriteCapacityUnits?: number; } @@ -2469,86 +2562,98 @@ export interface GlobalSecondaryIndexDescription { IndexName?: string; /** - *

                                                                                                    The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

                                                                                                    - *
                                                                                                      + *

                                                                                                      The complete key schema for a global secondary index, which consists of one or more + * pairs of attribute names and key types:

                                                                                                      + *
                                                                                                        *
                                                                                                      • - *

                                                                                                        - * HASH - partition key

                                                                                                        + *

                                                                                                        + * HASH - partition key

                                                                                                        *
                                                                                                      • *
                                                                                                      • - *

                                                                                                        - * RANGE - sort key

                                                                                                        + *

                                                                                                        + * RANGE - sort key

                                                                                                        *
                                                                                                      • *
                                                                                                      - * - *

                                                                                                      The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                                                                      + * + *

                                                                                                      The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across + * partitions, based on their partition key values.

                                                                                                      *

                                                                                                      The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                                                                      - *
                                                                                                      + * The term "range attribute" derives from the way DynamoDB stores items with + * the same partition key physically close together, in sorted order by the sort key + * value.

                                                                                                      + *
                                                                                                      */ KeySchema?: KeySchemaElement[]; /** *

                                                                                                      Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

                                                                                                      + * secondary index. These are in addition to the primary key attributes and index key + * attributes, which are automatically projected.

                                                                                                      */ Projection?: Projection; /** *

                                                                                                      The current state of the global secondary index:

                                                                                                      - *
                                                                                                        + *
                                                                                                          *
                                                                                                        • - *

                                                                                                          - * CREATING - The index is being created.

                                                                                                          + *

                                                                                                          + * CREATING - The index is being created.

                                                                                                          *
                                                                                                        • *
                                                                                                        • - *

                                                                                                          - * UPDATING - The index is being updated.

                                                                                                          + *

                                                                                                          + * UPDATING - The index is being updated.

                                                                                                          *
                                                                                                        • *
                                                                                                        • - *

                                                                                                          - * DELETING - The index is being deleted.

                                                                                                          + *

                                                                                                          + * DELETING - The index is being deleted.

                                                                                                          *
                                                                                                        • *
                                                                                                        • - *

                                                                                                          - * ACTIVE - The index is ready for use.

                                                                                                          + *

                                                                                                          + * ACTIVE - The index is ready for use.

                                                                                                          *
                                                                                                        • *
                                                                                                        */ IndexStatus?: IndexStatus | string; /** - *

                                                                                                        Indicates whether the index is currently backfilling. Backfilling is the process of reading items from - * the table and determining whether they can be added to the index. (Not all items will qualify: For example, a partition key - * cannot have any duplicate values.) If an item can be added to the index, DynamoDB will do so. After all items have been processed, - * the backfilling operation is complete and Backfilling is false.

                                                                                                        - *

                                                                                                        You can delete an index that is being created during the Backfilling phase - * when IndexStatus is set to CREATING and Backfilling is true. You - * can't delete the index that is being created when IndexStatus is set to - * CREATING and Backfilling is false.

                                                                                                        - * - *

                                                                                                        For indexes that were created during a CreateTable operation, the Backfilling attribute does not appear in the DescribeTable output.

                                                                                                        - *
                                                                                                        + *

                                                                                                        Indicates whether the index is currently backfilling. Backfilling + * is the process of reading items from the table and determining whether they can be added + * to the index. (Not all items will qualify: For example, a partition key cannot have any + * duplicate values.) If an item can be added to the index, DynamoDB will do so. After all + * items have been processed, the backfilling operation is complete and + * Backfilling is false.

                                                                                                        + *

                                                                                                        You can delete an index that is being created during the Backfilling + * phase when IndexStatus is set to CREATING and Backfilling is + * true. You can't delete the index that is being created when IndexStatus is + * set to CREATING and Backfilling is false.

                                                                                                        + * + *

                                                                                                        For indexes that were created during a CreateTable operation, the + * Backfilling attribute does not appear in the + * DescribeTable output.

                                                                                                        + *
                                                                                                        */ Backfilling?: boolean; /** - *

                                                                                                        Represents the provisioned throughput settings for the specified global secondary index.

                                                                                                        - *

                                                                                                        For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                                                                                        + *

                                                                                                        Represents the provisioned throughput settings for the specified global secondary + * index.

                                                                                                        + *

                                                                                                        For current minimum and maximum provisioned throughput values, see Service, + * Account, and Table Quotas in the Amazon DynamoDB Developer + * Guide.

                                                                                                        */ ProvisionedThroughput?: ProvisionedThroughputDescription; /** - *

                                                                                                        The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                        + *

                                                                                                        The total size of the specified index, in bytes. DynamoDB updates this value + * approximately every six hours. Recent changes might not be reflected in this + * value.

                                                                                                        */ IndexSizeBytes?: number; /** - *

                                                                                                        The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                        + *

                                                                                                        The number of items in the specified index. DynamoDB updates this value approximately + * every six hours. Recent changes might not be reflected in this value.

                                                                                                        */ ItemCount?: number; @@ -2577,42 +2682,49 @@ export interface LocalSecondaryIndexDescription { IndexName?: string; /** - *

                                                                                                        The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:

                                                                                                        - *
                                                                                                          + *

                                                                                                          The complete key schema for the local secondary index, consisting of one or more pairs + * of attribute names and key types:

                                                                                                          + *
                                                                                                            *
                                                                                                          • - *

                                                                                                            - * HASH - partition key

                                                                                                            + *

                                                                                                            + * HASH - partition key

                                                                                                            *
                                                                                                          • *
                                                                                                          • - *

                                                                                                            - * RANGE - sort key

                                                                                                            + *

                                                                                                            + * RANGE - sort key

                                                                                                            *
                                                                                                          • *
                                                                                                          - * - *

                                                                                                          The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                                                                          + * + *

                                                                                                          The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's usage of + * an internal hash function to evenly distribute data items across partitions, based + * on their partition key values.

                                                                                                          *

                                                                                                          The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                                                                          - *
                                                                                                          + * The term "range attribute" derives from the way DynamoDB stores items with the same + * partition key physically close together, in sorted order by the sort key + * value.

                                                                                                          + *
                                                                                                          */ KeySchema?: KeySchemaElement[]; /** *

                                                                                                          Represents attributes that are copied (projected) from the table into the global - * secondary index. These are in addition to the primary key attributes and index key - * attributes, which are automatically projected.

                                                                                                          + * secondary index. These are in addition to the primary key attributes and index key + * attributes, which are automatically projected.

                                                                                                          */ Projection?: Projection; /** - *

                                                                                                          The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                          + *

                                                                                                          The total size of the specified index, in bytes. DynamoDB updates this value + * approximately every six hours. Recent changes might not be reflected in this + * value.

                                                                                                          */ IndexSizeBytes?: number; /** - *

                                                                                                          The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                          + *

                                                                                                          The number of items in the specified index. DynamoDB updates this value + * approximately every six hours. Recent changes might not be reflected in this + * value.

                                                                                                          */ ItemCount?: number; @@ -2679,17 +2791,17 @@ export type TableStatus = */ export interface TableDescription { /** - *

                                                                                                          An array of AttributeDefinition objects. Each of these objects describes one attribute - * in the table and index key schema.

                                                                                                          - *

                                                                                                          Each AttributeDefinition object in this array is composed of:

                                                                                                          - *
                                                                                                            + *

                                                                                                            An array of AttributeDefinition objects. Each of these objects describes + * one attribute in the table and index key schema.

                                                                                                            + *

                                                                                                            Each AttributeDefinition object in this array is composed of:

                                                                                                            + *
                                                                                                              *
                                                                                                            • - *

                                                                                                              - * AttributeName - The name of the attribute.

                                                                                                              + *

                                                                                                              + * AttributeName - The name of the attribute.

                                                                                                              *
                                                                                                            • *
                                                                                                            • - *

                                                                                                              - * AttributeType - The data type for the attribute.

                                                                                                              + *

                                                                                                              + * AttributeType - The data type for the attribute.

                                                                                                              *
                                                                                                            • *
                                                                                                            */ @@ -2701,80 +2813,80 @@ export interface TableDescription { TableName?: string; /** - *

                                                                                                            The primary key structure for the table. Each KeySchemaElement consists of:

                                                                                                            - *
                                                                                                              + *

                                                                                                              The primary key structure for the table. Each KeySchemaElement consists + * of:

                                                                                                              + *
                                                                                                                *
                                                                                                              • - *

                                                                                                                - * AttributeName - The name of the attribute.

                                                                                                                + *

                                                                                                                + * AttributeName - The name of the attribute.

                                                                                                                *
                                                                                                              • *
                                                                                                              • - *

                                                                                                                - * KeyType - The role of the attribute:

                                                                                                                - *
                                                                                                                  + *

                                                                                                                  + * KeyType - The role of the attribute:

                                                                                                                  + *
                                                                                                                    *
                                                                                                                  • - *

                                                                                                                    - * HASH - partition key

                                                                                                                    - *
                                                                                                                  • + *

                                                                                                                    + * HASH - partition key

                                                                                                                    + * *
                                                                                                                  • - *

                                                                                                                    - * RANGE - sort key

                                                                                                                    - *
                                                                                                                  • + *

                                                                                                                    + * RANGE - sort key

                                                                                                                    + * *
                                                                                                                  - * - *

                                                                                                                  The partition key of an item is also known as its hash attribute. The - * term "hash attribute" derives from DynamoDB's usage of an internal hash function to - * evenly distribute data items across partitions, based on their partition key values.

                                                                                                                  - *

                                                                                                                  The sort key of an item is also known as its range attribute. - * The term "range attribute" derives from the way DynamoDB stores items with the same - * partition key physically close together, in sorted order by the sort key value.

                                                                                                                  - *
                                                                                                                  + * + *

                                                                                                                  The partition key of an item is also known as its hash + * attribute. The term "hash attribute" derives from DynamoDB's + * usage of an internal hash function to evenly distribute data items across + * partitions, based on their partition key values.

                                                                                                                  + *

                                                                                                                  The sort key of an item is also known as its range + * attribute. The term "range attribute" derives from the way + * DynamoDB stores items with the same partition key physically close together, + * in sorted order by the sort key value.

                                                                                                                  + *
                                                                                                                  * * *
                                                                                                                - *

                                                                                                                For more information about primary keys, see Primary Key in the - * Amazon DynamoDB Developer Guide.

                                                                                                                + *

                                                                                                                For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer + * Guide.

                                                                                                                */ KeySchema?: KeySchemaElement[]; /** *

                                                                                                                The current state of the table:

                                                                                                                - *
                                                                                                                  + *
                                                                                                                    *
                                                                                                                  • - *

                                                                                                                    - * CREATING - The table is being created.

                                                                                                                    + *

                                                                                                                    + * CREATING - The table is being created.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * UPDATING - The table is being updated.

                                                                                                                    + *

                                                                                                                    + * UPDATING - The table is being updated.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * DELETING - The table is being deleted.

                                                                                                                    + *

                                                                                                                    + * DELETING - The table is being deleted.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * ACTIVE - The table is ready for use.

                                                                                                                    + *

                                                                                                                    + * ACTIVE - The table is ready for use.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The AWS KMS - * key used to encrypt the table in inaccessible. Table operations - * may fail due to failure to use the AWS KMS key. DynamoDB will - * initiate the table archival process when a table's AWS KMS key - * remains inaccessible for more than seven days. - *

                                                                                                                    + *

                                                                                                                    + * INACCESSIBLE_ENCRYPTION_CREDENTIALS - The KMS key + * used to encrypt the table in inaccessible. Table operations may fail due to + * failure to use the KMS key. DynamoDB will initiate the + * table archival process when a table's KMS key remains + * inaccessible for more than seven days.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * ARCHIVING - The table is being archived. Operations - * are not allowed until archival is complete. - *

                                                                                                                    + *

                                                                                                                    + * ARCHIVING - The table is being archived. Operations are not allowed + * until archival is complete.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  • - *

                                                                                                                    - * ARCHIVED - The table has been archived. See the - * ArchivalReason for more information. - *

                                                                                                                    + *

                                                                                                                    + * ARCHIVED - The table has been archived. See the ArchivalReason for + * more information.

                                                                                                                    *
                                                                                                                  • *
                                                                                                                  */ @@ -2786,17 +2898,21 @@ export interface TableDescription { CreationDateTime?: Date; /** - *

                                                                                                                  The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.

                                                                                                                  + *

                                                                                                                  The provisioned throughput settings for the table, consisting of read and write + * capacity units, along with data about increases and decreases.

                                                                                                                  */ ProvisionedThroughput?: ProvisionedThroughputDescription; /** - *

                                                                                                                  The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                                  + *

                                                                                                                  The total size of the specified table, in bytes. DynamoDB updates this value + * approximately every six hours. Recent changes might not be reflected in this + * value.

                                                                                                                  */ TableSizeBytes?: number; /** - *

                                                                                                                  The number of items in the specified table. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                                  + *

                                                                                                                  The number of items in the specified table. DynamoDB updates this value approximately + * every six hours. Recent changes might not be reflected in this value.

                                                                                                                  */ ItemCount?: number; @@ -2816,179 +2932,191 @@ export interface TableDescription { BillingModeSummary?: BillingModeSummary; /** - *

                                                                                                                  Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of:

                                                                                                                  - *
                                                                                                                    + *

                                                                                                                    Represents one or more local secondary indexes on the table. Each index is scoped to a + * given partition key value. Tables with one or more local secondary indexes are subject + * to an item collection size limit, where the amount of data within a given item + * collection cannot exceed 10 GB. Each element is composed of:

                                                                                                                    + *
                                                                                                                      *
                                                                                                                    • - *

                                                                                                                      - * IndexName - The name of the local secondary index.

                                                                                                                      + *

                                                                                                                      + * IndexName - The name of the local secondary index.

                                                                                                                      *
                                                                                                                    • *
                                                                                                                    • - *

                                                                                                                      - * KeySchema - Specifies the complete index key schema. The attribute names in the - * key schema must be between 1 and 255 characters (inclusive). The key schema must begin - * with the same partition key as the table.

                                                                                                                      + *

                                                                                                                      + * KeySchema - Specifies the complete index key schema. The attribute + * names in the key schema must be between 1 and 255 characters (inclusive). The + * key schema must begin with the same partition key as the table.

                                                                                                                      *
                                                                                                                    • *
                                                                                                                    • - *

                                                                                                                      - * Projection - Specifies - * attributes that are copied (projected) from the table into the index. These are in - * addition to the primary key attributes and index key - * attributes, which are automatically projected. Each - * attribute specification is composed of:

                                                                                                                      - *
                                                                                                                        + *

                                                                                                                        + * Projection - Specifies attributes that are copied (projected) from + * the table into the index. These are in addition to the primary key attributes + * and index key attributes, which are automatically projected. Each attribute + * specification is composed of:

                                                                                                                        + *
                                                                                                                          *
                                                                                                                        • - *

                                                                                                                          - * ProjectionType - One - * of the following:

                                                                                                                          - *
                                                                                                                            + *

                                                                                                                            + * ProjectionType - One of the following:

                                                                                                                            + *
                                                                                                                              *
                                                                                                                            • - *

                                                                                                                              - * KEYS_ONLY - Only the index and primary keys are projected into the - * index.

                                                                                                                              - *
                                                                                                                            • + *

                                                                                                                              + * KEYS_ONLY - Only the index and primary keys are + * projected into the index.

                                                                                                                              + * *
                                                                                                                            • - *

                                                                                                                              - * INCLUDE - Only the specified table attributes are projected - * into the index. The list of projected attributes is in - * NonKeyAttributes.

                                                                                                                              - *
                                                                                                                            • + *

                                                                                                                              + * INCLUDE - Only the specified table attributes are + * projected into the index. The list of projected attributes is in + * NonKeyAttributes.

                                                                                                                              + * *
                                                                                                                            • - *

                                                                                                                              - * ALL - All of the table attributes are projected into the - * index.

                                                                                                                              - *
                                                                                                                            • + *

                                                                                                                              + * ALL - All of the table attributes are projected + * into the index.

                                                                                                                              + * *
                                                                                                                            - * + * *
                                                                                                                          • - *

                                                                                                                            - * NonKeyAttributes - A list of one or more non-key attribute names that are - * projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

                                                                                                                            - *
                                                                                                                          • + *

                                                                                                                            + * NonKeyAttributes - A list of one or more non-key attribute + * names that are projected into the secondary index. The total count of + * attributes provided in NonKeyAttributes, summed across all + * of the secondary indexes, must not exceed 20. If you project the same + * attribute into two different indexes, this counts as two distinct + * attributes when determining the total.

                                                                                                                            + * *
                                                                                                                          *
                                                                                                                        • *
                                                                                                                        • - *

                                                                                                                          - * IndexSizeBytes - Represents the total size of the index, in bytes. DynamoDB updates - * this value approximately every six hours. Recent changes might not be reflected in this - * value.

                                                                                                                          + *

                                                                                                                          + * IndexSizeBytes - Represents the total size of the index, in bytes. + * DynamoDB updates this value approximately every six hours. Recent changes might + * not be reflected in this value.

                                                                                                                          *
                                                                                                                        • *
                                                                                                                        • - *

                                                                                                                          - * ItemCount - Represents the number of items in the index. DynamoDB updates this value - * approximately every six hours. Recent changes might not be reflected in this value.

                                                                                                                          + *

                                                                                                                          + * ItemCount - Represents the number of items in the index. DynamoDB + * updates this value approximately every six hours. Recent changes might not be + * reflected in this value.

                                                                                                                          *
                                                                                                                        • *
                                                                                                                        - *

                                                                                                                        If the table is in the DELETING state, no information about indexes will be - * returned.

                                                                                                                        + *

                                                                                                                        If the table is in the DELETING state, no information about indexes will + * be returned.

                                                                                                                        */ LocalSecondaryIndexes?: LocalSecondaryIndexDescription[]; /** - *

                                                                                                                        The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of:

                                                                                                                        - *
                                                                                                                          + *

                                                                                                                          The global secondary indexes, if any, on the table. Each index is scoped to a given + * partition key value. Each element is composed of:

                                                                                                                          + *
                                                                                                                            *
                                                                                                                          • - *

                                                                                                                            - * Backfilling - If true, then the index is currently in the backfilling - * phase. Backfilling occurs only when a new global secondary index is added to the - * table. It is the process by which DynamoDB populates the new index with data from the - * table. (This attribute does not appear for indexes that were created during a - * CreateTable operation.)

                                                                                                                            - *

                                                                                                                            You can delete an index that is being created during the Backfilling - * phase when IndexStatus is set to CREATING and Backfilling - * is true. You can't delete the index that is being created when - * IndexStatus is set to CREATING and Backfilling is false. - * (This attribute does not appear for indexes that were created during a - * CreateTable operation.)

                                                                                                                            + *

                                                                                                                            + * Backfilling - If true, then the index is currently in the + * backfilling phase. Backfilling occurs only when a new global secondary index is + * added to the table. It is the process by which DynamoDB populates the new index + * with data from the table. (This attribute does not appear for indexes that were + * created during a CreateTable operation.)

                                                                                                                            + *

                                                                                                                            You can delete an index that is being created during the + * Backfilling phase when IndexStatus is set to + * CREATING and Backfilling is true. You can't delete the index that + * is being created when IndexStatus is set to CREATING and + * Backfilling is false. (This attribute does not appear for + * indexes that were created during a CreateTable operation.)

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • - *

                                                                                                                            - * IndexName - The name of the global secondary index.

                                                                                                                            + *

                                                                                                                            + * IndexName - The name of the global secondary index.

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • - *

                                                                                                                            - * IndexSizeBytes - The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six - * hours. Recent changes might not be reflected in this value. - *

                                                                                                                            + *

                                                                                                                            + * IndexSizeBytes - The total size of the global secondary index, in + * bytes. DynamoDB updates this value approximately every six hours. Recent changes + * might not be reflected in this value.

                                                                                                                            *
                                                                                                                          • *
                                                                                                                          • - *

                                                                                                                            - * IndexStatus - The current status of the global secondary index:

                                                                                                                            - *
                                                                                                                              + *

                                                                                                                              + * IndexStatus - The current status of the global secondary + * index:

                                                                                                                              + *
                                                                                                                                *
                                                                                                                              • - *

                                                                                                                                - * CREATING - The index is being created.

                                                                                                                                - *
                                                                                                                              • + *

                                                                                                                                + * CREATING - The index is being created.

                                                                                                                                + * *
                                                                                                                              • - *

                                                                                                                                - * UPDATING - The index is being updated.

                                                                                                                                - *
                                                                                                                              • + *

                                                                                                                                + * UPDATING - The index is being updated.

                                                                                                                                + * *
                                                                                                                              • - *

                                                                                                                                - * DELETING - The index is being deleted.

                                                                                                                                - *
                                                                                                                              • + *

                                                                                                                                + * DELETING - The index is being deleted.

                                                                                                                                + * *
                                                                                                                              • - *

                                                                                                                                - * ACTIVE - The index is ready for use.

                                                                                                                                - *
                                                                                                                              • + *

                                                                                                                                + * ACTIVE - The index is ready for use.

                                                                                                                                + * *
                                                                                                                              * *
                                                                                                                            • - *

                                                                                                                              - * ItemCount - The number of items in the global secondary index. DynamoDB updates this value approximately every six - * hours. Recent changes might not be reflected in this value. - *

                                                                                                                              + *

                                                                                                                              + * ItemCount - The number of items in the global secondary index. + * DynamoDB updates this value approximately every six hours. Recent changes might + * not be reflected in this value.

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • - *

                                                                                                                              - * KeySchema - Specifies the complete index key schema. The attribute names in the - * key schema must be between 1 and 255 characters (inclusive). The key schema must begin - * with the same partition key as the table.

                                                                                                                              + *

                                                                                                                              + * KeySchema - Specifies the complete index key schema. The attribute + * names in the key schema must be between 1 and 255 characters (inclusive). The + * key schema must begin with the same partition key as the table.

                                                                                                                              *
                                                                                                                            • *
                                                                                                                            • - *

                                                                                                                              - * Projection - Specifies - * attributes that are copied (projected) from the table into the index. These are in - * addition to the primary key attributes and index key - * attributes, which are automatically projected. Each - * attribute specification is composed of:

                                                                                                                              - *
                                                                                                                                + *

                                                                                                                                + * Projection - Specifies attributes that are copied (projected) from + * the table into the index. These are in addition to the primary key attributes + * and index key attributes, which are automatically projected. Each attribute + * specification is composed of:

                                                                                                                                + *
                                                                                                                                  *
                                                                                                                                • - *

                                                                                                                                  - * ProjectionType - One - * of the following:

                                                                                                                                  - *
                                                                                                                                    + *

                                                                                                                                    + * ProjectionType - One of the following:

                                                                                                                                    + *
                                                                                                                                      *
                                                                                                                                    • - *

                                                                                                                                      - * KEYS_ONLY - Only the index and primary keys are projected into the - * index.

                                                                                                                                      - *
                                                                                                                                    • + *

                                                                                                                                      + * KEYS_ONLY - Only the index and primary keys are + * projected into the index.

                                                                                                                                      + * *
                                                                                                                                    • - *

                                                                                                                                      - * INCLUDE - In addition to the attributes described in KEYS_ONLY, the secondary index will include other non-key attributes that you specify.

                                                                                                                                      - *
                                                                                                                                    • + *

                                                                                                                                      + * INCLUDE - In addition to the attributes described + * in KEYS_ONLY, the secondary index will include + * other non-key attributes that you specify.

                                                                                                                                      + * *
                                                                                                                                    • - *

                                                                                                                                      - * ALL - All of the table attributes are projected into the - * index.

                                                                                                                                      - *
                                                                                                                                    • + *

                                                                                                                                      + * ALL - All of the table attributes are projected + * into the index.

                                                                                                                                      + * *
                                                                                                                                    - * + * *
                                                                                                                                  • - *

                                                                                                                                    - * NonKeyAttributes - A list of one or more non-key attribute names that are - * projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

                                                                                                                                    - *
                                                                                                                                  • + *

                                                                                                                                    + * NonKeyAttributes - A list of one or more non-key attribute + * names that are projected into the secondary index. The total count of + * attributes provided in NonKeyAttributes, summed across all + * of the secondary indexes, must not exceed 20. If you project the same + * attribute into two different indexes, this counts as two distinct + * attributes when determining the total.

                                                                                                                                    + * *
                                                                                                                                  *
                                                                                                                                • *
                                                                                                                                • - *

                                                                                                                                  - * ProvisionedThroughput - The provisioned throughput settings for the global secondary index, - * consisting of read and write capacity units, along with data about increases and - * decreases.

                                                                                                                                  + *

                                                                                                                                  + * ProvisionedThroughput - The provisioned throughput settings for the + * global secondary index, consisting of read and write capacity units, along with + * data about increases and decreases.

                                                                                                                                  *
                                                                                                                                • *
                                                                                                                                - *

                                                                                                                                If the table is in the DELETING state, no information about indexes will be - * returned.

                                                                                                                                + *

                                                                                                                                If the table is in the DELETING state, no information about indexes will + * be returned.

                                                                                                                                */ GlobalSecondaryIndexes?: GlobalSecondaryIndexDescription[]; @@ -3000,16 +3128,19 @@ export interface TableDescription { /** *

                                                                                                                                A timestamp, in ISO 8601 format, for this stream.

                                                                                                                                * - *

                                                                                                                                Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:

                                                                                                                                - *
                                                                                                                                  + *

                                                                                                                                  Note that LatestStreamLabel is not a unique identifier for the stream, + * because it is possible that a stream from another table might have the same timestamp. + * However, the combination of the following three elements is guaranteed to be + * unique:

                                                                                                                                  + *
                                                                                                                                    *
                                                                                                                                  • - *

                                                                                                                                    AWS customer ID

                                                                                                                                    + *

                                                                                                                                    Amazon Web Services customer ID

                                                                                                                                    *
                                                                                                                                  • *
                                                                                                                                  • - *

                                                                                                                                    Table name

                                                                                                                                    + *

                                                                                                                                    Table name

                                                                                                                                    *
                                                                                                                                  • *
                                                                                                                                  • - *

                                                                                                                                    + *

                                                                                                                                    * StreamLabel *

                                                                                                                                    *
                                                                                                                                  • @@ -3018,12 +3149,14 @@ export interface TableDescription { LatestStreamLabel?: string; /** - *

                                                                                                                                    The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table.

                                                                                                                                    + *

                                                                                                                                    The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this + * table.

                                                                                                                                    */ LatestStreamArn?: string; /** - *

                                                                                                                                    Represents the version of global tables in use, if the table is replicated across AWS Regions.

                                                                                                                                    + *

                                                                                                                                    Represents the version of global tables + * in use, if the table is replicated across Amazon Web Services Regions.

                                                                                                                                    */ GlobalTableVersion?: string; @@ -3077,9 +3210,9 @@ export namespace CreateTableOutput { } /** - *

                                                                                                                                    The operation conflicts with the resource's availability. For example, you attempted to - * recreate an existing table, or tried to delete a table currently in the CREATING - * state.

                                                                                                                                    + *

                                                                                                                                    The operation conflicts with the resource's availability. For example, you + * attempted to recreate an existing table, or tried to delete a table currently in the + * CREATING state.

                                                                                                                                    */ export interface ResourceInUseException extends __SmithyException, $MetadataBearer { name: "ResourceInUseException"; @@ -3153,7 +3286,8 @@ export namespace DeleteGlobalSecondaryIndexAction { export type ReturnValue = "ALL_NEW" | "ALL_OLD" | "NONE" | "UPDATED_NEW" | "UPDATED_OLD"; /** - *

                                                                                                                                    Operation was rejected because there is an ongoing transaction for the item.

                                                                                                                                    + *

                                                                                                                                    Operation was rejected because there is an ongoing transaction for the + * item.

                                                                                                                                    */ export interface TransactionConflictException extends __SmithyException, $MetadataBearer { name: "TransactionConflictException"; @@ -3280,7 +3414,8 @@ export namespace DescribeBackupOutput { export interface DescribeContinuousBackupsInput { /** - *

                                                                                                                                    Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.

                                                                                                                                    + *

                                                                                                                                    Name of the table for which the customer wants to check the continuous backups and + * point in time recovery settings.

                                                                                                                                    */ TableName: string | undefined; } @@ -3296,7 +3431,8 @@ export namespace DescribeContinuousBackupsInput { export interface DescribeContinuousBackupsOutput { /** - *

                                                                                                                                    Represents the continuous backups and point in time recovery settings on the table.

                                                                                                                                    + *

                                                                                                                                    Represents the continuous backups and point in time recovery settings on the + * table.

                                                                                                                                    */ ContinuousBackupsDescription?: ContinuousBackupsDescription; } @@ -3367,12 +3503,12 @@ export interface DescribeContributorInsightsOutput { IndexName?: string; /** - *

                                                                                                                                    List of names of the associated Alpine rules.

                                                                                                                                    + *

                                                                                                                                    List of names of the associated contributor insights rules.

                                                                                                                                    */ ContributorInsightsRuleList?: string[]; /** - *

                                                                                                                                    Current Status contributor insights.

                                                                                                                                    + *

                                                                                                                                    Current status of contributor insights.

                                                                                                                                    */ ContributorInsightsStatus?: ContributorInsightsStatus | string; @@ -3382,21 +3518,25 @@ export interface DescribeContributorInsightsOutput { LastUpdateDateTime?: Date; /** - *

                                                                                                                                    Returns information about the last failure that encountered.

                                                                                                                                    - *

                                                                                                                                    The most common exceptions for a FAILED status are:

                                                                                                                                    - *
                                                                                                                                      + *

                                                                                                                                      Returns information about the last failure that was encountered.

                                                                                                                                      + *

                                                                                                                                      The most common exceptions for a FAILED status are:

                                                                                                                                      + *
                                                                                                                                        *
                                                                                                                                      • - *

                                                                                                                                        LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for - * other tables/indexes OR disable Contributor Insights rules before retrying.

                                                                                                                                        + *

                                                                                                                                        LimitExceededException - Per-account Amazon CloudWatch Contributor Insights + * rule limit reached. Please disable Contributor Insights for other tables/indexes + * OR disable Contributor Insights rules before retrying.

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • - *

                                                                                                                                        AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.

                                                                                                                                        + *

                                                                                                                                        AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be + * modified due to insufficient permissions.

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • - *

                                                                                                                                        AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.

                                                                                                                                        + *

                                                                                                                                        AccessDeniedException - Failed to create service-linked role for Contributor + * Insights due to insufficient permissions.

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • - *

                                                                                                                                        InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.

                                                                                                                                        + *

                                                                                                                                        InternalServerError - Failed to create Amazon CloudWatch Contributor Insights + * rules. Please retry request.

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      */ @@ -3502,7 +3642,8 @@ export interface ExportDescription { ExportArn?: string; /** - *

                                                                                                                                      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

                                                                                                                                      + *

                                                                                                                                      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or + * FAILED.

                                                                                                                                      */ ExportStatus?: ExportStatus | string; @@ -3549,7 +3690,8 @@ export interface ExportDescription { S3Bucket?: string; /** - *

                                                                                                                                      The ID of the AWS account that owns the bucket containing the export.

                                                                                                                                      + *

                                                                                                                                      The ID of the Amazon Web Services account that owns the bucket containing the + * export.

                                                                                                                                      */ S3BucketOwner?: string; @@ -3560,24 +3702,26 @@ export interface ExportDescription { S3Prefix?: string; /** - *

                                                                                                                                      Type of encryption used on the bucket where export data is stored. Valid values - * for S3SseAlgorithm are:

                                                                                                                                      + *

                                                                                                                                      Type of encryption used on the bucket where export data is stored. Valid values for + * S3SseAlgorithm are:

                                                                                                                                      *
                                                                                                                                        *
                                                                                                                                      • *

                                                                                                                                        - * AES256 - server-side encryption with Amazon S3 managed keys

                                                                                                                                        + * AES256 - server-side encryption with Amazon S3 managed + * keys

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      • *

                                                                                                                                        - * KMS - server-side encryption with AWS KMS managed keys

                                                                                                                                        + * KMS - server-side encryption with KMS managed + * keys

                                                                                                                                        *
                                                                                                                                      • *
                                                                                                                                      */ S3SseAlgorithm?: S3SseAlgorithm | string; /** - *

                                                                                                                                      The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is - * stored (if applicable).

                                                                                                                                      + *

                                                                                                                                      The ID of the KMS managed key used to encrypt the S3 bucket where + * export data is stored (if applicable).

                                                                                                                                      */ S3SseKmsKeyId?: string; @@ -3593,7 +3737,7 @@ export interface ExportDescription { /** *

                                                                                                                                      The format of the exported data. Valid values for ExportFormat are - * DYNAMODB_JSON or ION.

                                                                                                                                      + * DYNAMODB_JSON or ION.

                                                                                                                                      */ ExportFormat?: ExportFormat | string; @@ -3722,52 +3866,55 @@ export namespace DescribeGlobalTableSettingsInput { */ export interface ReplicaGlobalSecondaryIndexSettingsDescription { /** - *

                                                                                                                                      The name of the global secondary index. The name must be unique among all other indexes on this table.

                                                                                                                                      + *

                                                                                                                                      The name of the global secondary index. The name must be unique among all other + * indexes on this table.

                                                                                                                                      */ IndexName: string | undefined; /** - *

                                                                                                                                      - * The current status of the global secondary index:

                                                                                                                                      - *
                                                                                                                                        + *

                                                                                                                                        The current status of the global secondary index:

                                                                                                                                        + *
                                                                                                                                          *
                                                                                                                                        • - *

                                                                                                                                          - * CREATING - The global secondary index is being created.

                                                                                                                                          - *
                                                                                                                                        • + *

                                                                                                                                          + * CREATING - The global secondary index is being created.

                                                                                                                                          + * *
                                                                                                                                        • - *

                                                                                                                                          - * UPDATING - The global secondary index is being updated.

                                                                                                                                          - *
                                                                                                                                        • + *

                                                                                                                                          + * UPDATING - The global secondary index is being updated.

                                                                                                                                          + * *
                                                                                                                                        • - *

                                                                                                                                          - * DELETING - The global secondary index is being deleted.

                                                                                                                                          - *
                                                                                                                                        • + *

                                                                                                                                          + * DELETING - The global secondary index is being deleted.

                                                                                                                                          + * *
                                                                                                                                        • - *

                                                                                                                                          - * ACTIVE - The global secondary index is ready for use.

                                                                                                                                          - *
                                                                                                                                        • + *

                                                                                                                                          + * ACTIVE - The global secondary index is ready for use.

                                                                                                                                          + * *
                                                                                                                                        */ IndexStatus?: IndexStatus | string; /** - *

                                                                                                                                        The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.

                                                                                                                                        + *

                                                                                                                                        The maximum number of strongly consistent reads consumed per second before DynamoDB + * returns a ThrottlingException.

                                                                                                                                        */ ProvisionedReadCapacityUnits?: number; /** - *

                                                                                                                                        Auto scaling settings for a global secondary index replica's read capacity units.

                                                                                                                                        + *

                                                                                                                                        Auto scaling settings for a global secondary index replica's read capacity + * units.

                                                                                                                                        */ ProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription; /** - *

                                                                                                                                        The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

                                                                                                                                        + *

                                                                                                                                        The maximum number of writes consumed per second before DynamoDB returns a + * ThrottlingException.

                                                                                                                                        */ ProvisionedWriteCapacityUnits?: number; /** *

                                                                                                                                        Auto scaling settings for a global secondary index replica's write capacity - * units.

                                                                                                                                        + * units.

                                                                                                                                        */ ProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription; } @@ -3792,22 +3939,22 @@ export interface ReplicaSettingsDescription { /** *

                                                                                                                                        The current state of the Region:

                                                                                                                                        - *
                                                                                                                                          + *
                                                                                                                                            *
                                                                                                                                          • - *

                                                                                                                                            - * CREATING - The Region is being created.

                                                                                                                                            + *

                                                                                                                                            + * CREATING - The Region is being created.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • - *

                                                                                                                                            - * UPDATING - The Region is being updated.

                                                                                                                                            + *

                                                                                                                                            + * UPDATING - The Region is being updated.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • - *

                                                                                                                                            - * DELETING - The Region is being deleted.

                                                                                                                                            + *

                                                                                                                                            + * DELETING - The Region is being deleted.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          • - *

                                                                                                                                            - * ACTIVE - The Region is ready for use.

                                                                                                                                            + *

                                                                                                                                            + * ACTIVE - The Region is ready for use.

                                                                                                                                            *
                                                                                                                                          • *
                                                                                                                                          */ @@ -3819,10 +3966,9 @@ export interface ReplicaSettingsDescription { ReplicaBillingModeSummary?: BillingModeSummary; /** - *

                                                                                                                                          The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. - * For more information, see Specifying Read and Write - * Requirements in the Amazon DynamoDB Developer Guide. - *

                                                                                                                                          + *

                                                                                                                                          The maximum number of strongly consistent reads consumed per second before DynamoDB + * returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB + * Developer Guide.

                                                                                                                                          */ ReplicaProvisionedReadCapacityUnits?: number; @@ -3832,9 +3978,9 @@ export interface ReplicaSettingsDescription { ReplicaProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription; /** - *

                                                                                                                                          The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. - * For more information, see Specifying Read and Write - * Requirements in the Amazon DynamoDB Developer Guide.

                                                                                                                                          + *

                                                                                                                                          The maximum number of writes consumed per second before DynamoDB returns a + * ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB + * Developer Guide.

                                                                                                                                          */ ReplicaProvisionedWriteCapacityUnits?: number; @@ -3948,7 +4094,8 @@ export namespace DescribeKinesisStreamingDestinationOutput { } /** - *

                                                                                                                                          Represents the input of a DescribeLimits operation. Has no content.

                                                                                                                                          + *

                                                                                                                                          Represents the input of a DescribeLimits operation. Has no + * content.

                                                                                                                                          */ export interface DescribeLimitsInput {} @@ -3972,8 +4119,8 @@ export interface DescribeLimitsOutput { AccountMaxReadCapacityUnits?: number; /** - *

                                                                                                                                          The maximum total write capacity units that your account allows you to provision across - * all of your tables in this Region.

                                                                                                                                          + *

                                                                                                                                          The maximum total write capacity units that your account allows you to provision + * across all of your tables in this Region.

                                                                                                                                          */ AccountMaxWriteCapacityUnits?: number; @@ -4066,22 +4213,22 @@ export interface ReplicaGlobalSecondaryIndexAutoScalingDescription { /** *

                                                                                                                                          The current state of the replica global secondary index:

                                                                                                                                          - *
                                                                                                                                            + *
                                                                                                                                              *
                                                                                                                                            • - *

                                                                                                                                              - * CREATING - The index is being created.

                                                                                                                                              + *

                                                                                                                                              + * CREATING - The index is being created.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • - *

                                                                                                                                              - * UPDATING - The index is being updated.

                                                                                                                                              + *

                                                                                                                                              + * UPDATING - The index is being updated.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • - *

                                                                                                                                              - * DELETING - The index is being deleted.

                                                                                                                                              + *

                                                                                                                                              + * DELETING - The index is being deleted.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            • - *

                                                                                                                                              - * ACTIVE - The index is ready for use.

                                                                                                                                              + *

                                                                                                                                              + * ACTIVE - The index is ready for use.

                                                                                                                                              *
                                                                                                                                            • *
                                                                                                                                            */ @@ -4089,13 +4236,13 @@ export interface ReplicaGlobalSecondaryIndexAutoScalingDescription { /** *

                                                                                                                                            Represents the auto scaling settings for a global table or global secondary - * index.

                                                                                                                                            + * index.

                                                                                                                                            */ ProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription; /** *

                                                                                                                                            Represents the auto scaling settings for a global table or global secondary - * index.

                                                                                                                                            + * index.

                                                                                                                                            */ ProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription; } @@ -4125,34 +4272,34 @@ export interface ReplicaAutoScalingDescription { /** *

                                                                                                                                            Represents the auto scaling settings for a global table or global secondary - * index.

                                                                                                                                            + * index.

                                                                                                                                            */ ReplicaProvisionedReadCapacityAutoScalingSettings?: AutoScalingSettingsDescription; /** *

                                                                                                                                            Represents the auto scaling settings for a global table or global secondary - * index.

                                                                                                                                            + * index.

                                                                                                                                            */ ReplicaProvisionedWriteCapacityAutoScalingSettings?: AutoScalingSettingsDescription; /** *

                                                                                                                                            The current state of the replica:

                                                                                                                                            - *
                                                                                                                                              + *
                                                                                                                                                *
                                                                                                                                              • - *

                                                                                                                                                - * CREATING - The replica is being created.

                                                                                                                                                + *

                                                                                                                                                + * CREATING - The replica is being created.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • - *

                                                                                                                                                - * UPDATING - The replica is being updated.

                                                                                                                                                + *

                                                                                                                                                + * UPDATING - The replica is being updated.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • - *

                                                                                                                                                - * DELETING - The replica is being deleted.

                                                                                                                                                + *

                                                                                                                                                + * DELETING - The replica is being deleted.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              • - *

                                                                                                                                                - * ACTIVE - The replica is ready for use.

                                                                                                                                                + *

                                                                                                                                                + * ACTIVE - The replica is ready for use.

                                                                                                                                                *
                                                                                                                                              • *
                                                                                                                                              */ @@ -4179,22 +4326,22 @@ export interface TableAutoScalingDescription { /** *

                                                                                                                                              The current state of the table:

                                                                                                                                              - *
                                                                                                                                                + *
                                                                                                                                                  *
                                                                                                                                                • - *

                                                                                                                                                  - * CREATING - The table is being created.

                                                                                                                                                  + *

                                                                                                                                                  + * CREATING - The table is being created.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  - * UPDATING - The table is being updated.

                                                                                                                                                  + *

                                                                                                                                                  + * UPDATING - The table is being updated.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  - * DELETING - The table is being deleted.

                                                                                                                                                  + *

                                                                                                                                                  + * DELETING - The table is being deleted.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • - *

                                                                                                                                                  - * ACTIVE - The table is ready for use.

                                                                                                                                                  + *

                                                                                                                                                  + * ACTIVE - The table is ready for use.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                */ @@ -4311,9 +4458,8 @@ export namespace KinesisStreamingDestinationOutput { } /** - *

                                                                                                                                                - * There was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table. - *

                                                                                                                                                + *

                                                                                                                                                There was an attempt to insert an item with the same primary key as an item that + * already exists in the DynamoDB table.

                                                                                                                                                */ export interface DuplicateItemException extends __SmithyException, $MetadataBearer { name: "DuplicateItemException"; @@ -4331,8 +4477,8 @@ export namespace DuplicateItemException { } /** - *

                                                                                                                                                DynamoDB rejected the request because you retried a request with a different payload but - * with an idempotent token that was already used.

                                                                                                                                                + *

                                                                                                                                                DynamoDB rejected the request because you retried a request with a + * different payload but with an idempotent token that was already used.

                                                                                                                                                */ export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer { name: "IdempotentParameterMismatchException"; @@ -4401,13 +4547,13 @@ export interface ExportTableToPointInTimeInput { *

                                                                                                                                                Providing a ClientToken makes the call to * ExportTableToPointInTimeInput idempotent, meaning that multiple * identical calls have the same effect as one single call.

                                                                                                                                                - *

                                                                                                                                                A client token is valid for 8 hours after the first request that uses it is - * completed. After 8 hours, any request with the same client token is treated as a new - * request. Do not resubmit the same request with the same client token for more than 8 - * hours, or the result might not be idempotent.

                                                                                                                                                + *

                                                                                                                                                A client token is valid for 8 hours after the first request that uses it is completed. + * After 8 hours, any request with the same client token is treated as a new request. Do + * not resubmit the same request with the same client token for more than 8 hours, or the + * result might not be idempotent.

                                                                                                                                                *

                                                                                                                                                If you submit a request with the same client token but a change in other parameters * within the 8-hour idempotency window, DynamoDB returns an - * IdempotentParameterMismatch exception.

                                                                                                                                                + * IdempotentParameterMismatch exception.

                                                                                                                                                */ ClientToken?: string; @@ -4417,7 +4563,8 @@ export interface ExportTableToPointInTimeInput { S3Bucket: string | undefined; /** - *

                                                                                                                                                The ID of the AWS account that owns the bucket the export will be stored in.

                                                                                                                                                + *

                                                                                                                                                The ID of the Amazon Web Services account that owns the bucket the export will be + * stored in.

                                                                                                                                                */ S3BucketOwner?: string; @@ -4433,19 +4580,21 @@ export interface ExportTableToPointInTimeInput { *
                                                                                                                                                  *
                                                                                                                                                • *

                                                                                                                                                  - * AES256 - server-side encryption with Amazon S3 managed keys

                                                                                                                                                  + * AES256 - server-side encryption with Amazon S3 managed + * keys

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  - * KMS - server-side encryption with AWS KMS managed keys

                                                                                                                                                  + * KMS - server-side encryption with KMS managed + * keys

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                */ S3SseAlgorithm?: S3SseAlgorithm | string; /** - *

                                                                                                                                                The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will - * be stored (if applicable).

                                                                                                                                                + *

                                                                                                                                                The ID of the KMS managed key used to encrypt the S3 bucket where + * export data will be stored (if applicable).

                                                                                                                                                */ S3SseKmsKeyId?: string; @@ -4530,12 +4679,14 @@ export interface ListBackupsInput { Limit?: number; /** - *

                                                                                                                                                Only backups created after this time are listed. TimeRangeLowerBound is inclusive.

                                                                                                                                                + *

                                                                                                                                                Only backups created after this time are listed. TimeRangeLowerBound is + * inclusive.

                                                                                                                                                */ TimeRangeLowerBound?: Date; /** - *

                                                                                                                                                Only backups created before this time are listed. TimeRangeUpperBound is exclusive.

                                                                                                                                                + *

                                                                                                                                                Only backups created before this time are listed. TimeRangeUpperBound is + * exclusive.

                                                                                                                                                */ TimeRangeUpperBound?: Date; @@ -4544,13 +4695,14 @@ export interface ListBackupsInput { * LastEvaluatedBackupArn is the Amazon Resource Name (ARN) of the backup last * evaluated when the current page of results was returned, inclusive of the current page * of results. This value may be specified as the ExclusiveStartBackupArn of a - * new ListBackups operation in order to fetch the next page of results.

                                                                                                                                                + * new ListBackups operation in order to fetch the next page of results. + *

                                                                                                                                                */ ExclusiveStartBackupArn?: string; /** *

                                                                                                                                                The backups from the table specified by BackupType are listed.

                                                                                                                                                - *

                                                                                                                                                Where BackupType can be:

                                                                                                                                                + *

                                                                                                                                                Where BackupType can be:

                                                                                                                                                *
                                                                                                                                                  *
                                                                                                                                                • *

                                                                                                                                                  @@ -4558,8 +4710,7 @@ export interface ListBackupsInput { *

                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  - * SYSTEM - On-demand backup automatically created by - * DynamoDB.

                                                                                                                                                  + * SYSTEM - On-demand backup automatically created by DynamoDB.

                                                                                                                                                  *
                                                                                                                                                • *
                                                                                                                                                • *

                                                                                                                                                  @@ -4586,18 +4737,15 @@ export interface ListBackupsOutput { BackupSummaries?: BackupSummary[]; /** - *

                                                                                                                                                  - * The ARN of the backup last evaluated when the current page of results was returned, - * inclusive of the current page of results. This value may be specified as the - * ExclusiveStartBackupArn of a new ListBackups operation in order to fetch the next page of results. - *

                                                                                                                                                  - *

                                                                                                                                                  - * If LastEvaluatedBackupArn is empty, then the last page of results has been processed and there are no - * more results to be retrieved. - *

                                                                                                                                                  - *

                                                                                                                                                  If LastEvaluatedBackupArn is not empty, this may or may not indicate that - * there is more data to be returned. All results are guaranteed to have been returned if - * and only if no value for LastEvaluatedBackupArn is returned.

                                                                                                                                                  + *

                                                                                                                                                  The ARN of the backup last evaluated when the current page of results was returned, + * inclusive of the current page of results. This value may be specified as the + * ExclusiveStartBackupArn of a new ListBackups operation in + * order to fetch the next page of results.

                                                                                                                                                  + *

                                                                                                                                                  If LastEvaluatedBackupArn is empty, then the last page of results has + * been processed and there are no more results to be retrieved.

                                                                                                                                                  + *

                                                                                                                                                  If LastEvaluatedBackupArn is not empty, this may or may not indicate + * that there is more data to be returned. All results are guaranteed to have been returned + * if and only if no value for LastEvaluatedBackupArn is returned.

                                                                                                                                                  */ LastEvaluatedBackupArn?: string; } @@ -4696,7 +4844,8 @@ export interface ExportSummary { ExportArn?: string; /** - *

                                                                                                                                                  Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

                                                                                                                                                  + *

                                                                                                                                                  Export can be in one of the following states: IN_PROGRESS, COMPLETED, or + * FAILED.

                                                                                                                                                  */ ExportStatus?: ExportStatus | string; } @@ -4740,9 +4889,12 @@ export interface ListGlobalTablesInput { ExclusiveStartGlobalTableName?: string; /** - *

                                                                                                                                                  The maximum number of table names to return, if the parameter is not specified DynamoDB defaults to 100.

                                                                                                                                                  - *

                                                                                                                                                  If the number of global tables DynamoDB finds reaches this limit, it stops the operation and returns the table names collected up to that point, - * with a table name in the LastEvaluatedGlobalTableName to apply in a subsequent operation to the ExclusiveStartGlobalTableName parameter.

                                                                                                                                                  + *

                                                                                                                                                  The maximum number of table names to return, if the parameter is not specified + * DynamoDB defaults to 100.

                                                                                                                                                  + *

                                                                                                                                                  If the number of global tables DynamoDB finds reaches this limit, it stops the + * operation and returns the table names collected up to that point, with a table name in + * the LastEvaluatedGlobalTableName to apply in a subsequent operation to the + * ExclusiveStartGlobalTableName parameter.

                                                                                                                                                  */ Limit?: number; @@ -4811,14 +4963,15 @@ export namespace ListGlobalTablesOutput { */ export interface ListTablesInput { /** - *

                                                                                                                                                  The first table name that this operation will evaluate. Use the value that was returned for - * LastEvaluatedTableName in a previous operation, so that you can obtain the next page - * of results.

                                                                                                                                                  + *

                                                                                                                                                  The first table name that this operation will evaluate. Use the value that was + * returned for LastEvaluatedTableName in a previous operation, so that you + * can obtain the next page of results.

                                                                                                                                                  */ ExclusiveStartTableName?: string; /** - *

                                                                                                                                                  A maximum number of table names to return. If this parameter is not specified, the limit is 100.

                                                                                                                                                  + *

                                                                                                                                                  A maximum number of table names to return. If this parameter is not specified, the + * limit is 100.

                                                                                                                                                  */ Limit?: number; } @@ -4837,19 +4990,20 @@ export namespace ListTablesInput { */ export interface ListTablesOutput { /** - *

                                                                                                                                                  The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.

                                                                                                                                                  - *

                                                                                                                                                  If LastEvaluatedTableName also appears in the output, you can use this value as the - * ExclusiveStartTableName parameter in a subsequent ListTables request and - * obtain the next page of results.

                                                                                                                                                  + *

                                                                                                                                                  The names of the tables associated with the current account at the current endpoint. + * The maximum size of this array is 100.

                                                                                                                                                  + *

                                                                                                                                                  If LastEvaluatedTableName also appears in the output, you can use this + * value as the ExclusiveStartTableName parameter in a subsequent + * ListTables request and obtain the next page of results.

                                                                                                                                                  */ TableNames?: string[]; /** *

                                                                                                                                                  The name of the last table in the current page of results. Use this value as the - * ExclusiveStartTableName in a new request to obtain the next page of results, until - * all the table names are returned.

                                                                                                                                                  - *

                                                                                                                                                  If you do not receive a LastEvaluatedTableName value in the response, this means that - * there are no more table names to be retrieved.

                                                                                                                                                  + * ExclusiveStartTableName in a new request to obtain the next page of + * results, until all the table names are returned.

                                                                                                                                                  + *

                                                                                                                                                  If you do not receive a LastEvaluatedTableName value in the response, + * this means that there are no more table names to be retrieved.

                                                                                                                                                  */ LastEvaluatedTableName?: string; } @@ -4865,13 +5019,15 @@ export namespace ListTablesOutput { export interface ListTagsOfResourceInput { /** - *

                                                                                                                                                  The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

                                                                                                                                                  + *

                                                                                                                                                  The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource + * Name (ARN).

                                                                                                                                                  */ ResourceArn: string | undefined; /** *

                                                                                                                                                  An optional string that, if supplied, must be copied from the output of a previous - * call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.

                                                                                                                                                  + * call to ListTagOfResource. When provided in this manner, this API fetches the next page + * of results.

                                                                                                                                                  */ NextToken?: string; } @@ -4892,8 +5048,8 @@ export interface ListTagsOfResourceOutput { Tags?: Tag[]; /** - *

                                                                                                                                                  If this value is returned, there are additional results to be displayed. To retrieve them, - * call ListTagsOfResource again, with NextToken set to this value.

                                                                                                                                                  + *

                                                                                                                                                  If this value is returned, there are additional results to be displayed. To retrieve + * them, call ListTagsOfResource again, with NextToken set to this value.

                                                                                                                                                  */ NextToken?: string; } @@ -4926,16 +5082,16 @@ export interface RestoreTableFromBackupInput { BillingModeOverride?: BillingMode | string; /** - *

                                                                                                                                                  List of global secondary indexes for the restored table. The indexes - * provided should match existing secondary indexes. You can choose to exclude - * some or all of the indexes at the time of restore.

                                                                                                                                                  + *

                                                                                                                                                  List of global secondary indexes for the restored table. The indexes provided should + * match existing secondary indexes. You can choose to exclude some or all of the indexes + * at the time of restore.

                                                                                                                                                  */ GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[]; /** - *

                                                                                                                                                  List of local secondary indexes for the restored table. The indexes - * provided should match existing secondary indexes. You can choose to exclude - * some or all of the indexes at the time of restore.

                                                                                                                                                  + *

                                                                                                                                                  List of local secondary indexes for the restored table. The indexes provided should + * match existing secondary indexes. You can choose to exclude some or all of the indexes + * at the time of restore.

                                                                                                                                                  */ LocalSecondaryIndexOverride?: LocalSecondaryIndex[]; @@ -4994,7 +5150,8 @@ export namespace TableAlreadyExistsException { } /** - *

                                                                                                                                                  An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime and LatestRestorableDateTime.

                                                                                                                                                  + *

                                                                                                                                                  An invalid restore time was specified. RestoreDateTime must be between + * EarliestRestorableDateTime and LatestRestorableDateTime.

                                                                                                                                                  */ export interface InvalidRestoreTimeException extends __SmithyException, $MetadataBearer { name: "InvalidRestoreTimeException"; @@ -5013,8 +5170,8 @@ export namespace InvalidRestoreTimeException { export interface RestoreTableToPointInTimeInput { /** - *

                                                                                                                                                  The DynamoDB table that will be restored. This value is an Amazon - * Resource Name (ARN).

                                                                                                                                                  + *

                                                                                                                                                  The DynamoDB table that will be restored. This value is an Amazon Resource Name + * (ARN).

                                                                                                                                                  */ SourceTableArn?: string; @@ -5030,7 +5187,7 @@ export interface RestoreTableToPointInTimeInput { /** *

                                                                                                                                                  Restore the table to the latest possible time. LatestRestorableDateTime - * is typically 5 minutes before the current time.

                                                                                                                                                  + * is typically 5 minutes before the current time.

                                                                                                                                                  */ UseLatestRestorableTime?: boolean; @@ -5045,16 +5202,16 @@ export interface RestoreTableToPointInTimeInput { BillingModeOverride?: BillingMode | string; /** - *

                                                                                                                                                  List of global secondary indexes for the restored table. The indexes - * provided should match existing secondary indexes. You can choose to exclude - * some or all of the indexes at the time of restore.

                                                                                                                                                  + *

                                                                                                                                                  List of global secondary indexes for the restored table. The indexes provided should + * match existing secondary indexes. You can choose to exclude some or all of the indexes + * at the time of restore.

                                                                                                                                                  */ GlobalSecondaryIndexOverride?: GlobalSecondaryIndex[]; /** - *

                                                                                                                                                  List of local secondary indexes for the restored table. The indexes - * provided should match existing secondary indexes. You can choose to exclude - * some or all of the indexes at the time of restore.

                                                                                                                                                  + *

                                                                                                                                                  List of local secondary indexes for the restored table. The indexes provided should + * match existing secondary indexes. You can choose to exclude some or all of the indexes + * at the time of restore.

                                                                                                                                                  */ LocalSecondaryIndexOverride?: LocalSecondaryIndex[]; @@ -5096,7 +5253,8 @@ export namespace RestoreTableToPointInTimeOutput { export interface TagResourceInput { /** - *

                                                                                                                                                  Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

                                                                                                                                                  + *

                                                                                                                                                  Identifies the Amazon DynamoDB resource to which tags should be added. This value is + * an Amazon Resource Name (ARN).

                                                                                                                                                  */ ResourceArn: string | undefined; @@ -5143,7 +5301,8 @@ export namespace UntagResourceInput { */ export interface PointInTimeRecoverySpecification { /** - *

                                                                                                                                                  Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.

                                                                                                                                                  + *

                                                                                                                                                  Indicates whether point in time recovery is enabled (true) or disabled (false) on the + * table.

                                                                                                                                                  */ PointInTimeRecoveryEnabled: boolean | undefined; } @@ -5180,7 +5339,8 @@ export namespace UpdateContinuousBackupsInput { export interface UpdateContinuousBackupsOutput { /** - *

                                                                                                                                                  Represents the continuous backups and point in time recovery settings on the table.

                                                                                                                                                  + *

                                                                                                                                                  Represents the continuous backups and point in time recovery settings on the + * table.

                                                                                                                                                  */ ContinuousBackupsDescription?: ContinuousBackupsDescription; } @@ -5284,15 +5444,15 @@ export namespace ReplicaNotFoundException { /** *

                                                                                                                                                  Represents one of the following:

                                                                                                                                                  - *
                                                                                                                                                    + *
                                                                                                                                                      *
                                                                                                                                                    • - *

                                                                                                                                                      A new replica to be added to an existing global table.

                                                                                                                                                      + *

                                                                                                                                                      A new replica to be added to an existing global table.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      New parameters for an existing replica.

                                                                                                                                                      + *

                                                                                                                                                      New parameters for an existing replica.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    • - *

                                                                                                                                                      An existing replica to be removed from an existing global table.

                                                                                                                                                      + *

                                                                                                                                                      An existing replica to be removed from an existing global table.

                                                                                                                                                      *
                                                                                                                                                    • *
                                                                                                                                                    */ @@ -5373,23 +5533,26 @@ export namespace IndexNotFoundException { } /** - *

                                                                                                                                                    Represents the settings of a global secondary index for a global table that will be modified.

                                                                                                                                                    + *

                                                                                                                                                    Represents the settings of a global secondary index for a global table that will be + * modified.

                                                                                                                                                    */ export interface GlobalTableGlobalSecondaryIndexSettingsUpdate { /** - *

                                                                                                                                                    The name of the global secondary index. The name must be unique among all other indexes on this table.

                                                                                                                                                    + *

                                                                                                                                                    The name of the global secondary index. The name must be unique among all other + * indexes on this table.

                                                                                                                                                    */ IndexName: string | undefined; /** - *

                                                                                                                                                    The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. + *

                                                                                                                                                    The maximum number of writes consumed per second before DynamoDB returns a + * ThrottlingException. *

                                                                                                                                                    */ ProvisionedWriteCapacityUnits?: number; /** *

                                                                                                                                                    Auto scaling settings for managing a global secondary index's write capacity - * units.

                                                                                                                                                    + * units.

                                                                                                                                                    */ ProvisionedWriteCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate; } @@ -5404,22 +5567,25 @@ export namespace GlobalTableGlobalSecondaryIndexSettingsUpdate { } /** - *

                                                                                                                                                    Represents the settings of a global secondary index for a global table that will be modified.

                                                                                                                                                    + *

                                                                                                                                                    Represents the settings of a global secondary index for a global table that will be + * modified.

                                                                                                                                                    */ export interface ReplicaGlobalSecondaryIndexSettingsUpdate { /** - *

                                                                                                                                                    The name of the global secondary index. The name must be unique among all other indexes on this table.

                                                                                                                                                    + *

                                                                                                                                                    The name of the global secondary index. The name must be unique among all other + * indexes on this table.

                                                                                                                                                    */ IndexName: string | undefined; /** - *

                                                                                                                                                    The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.

                                                                                                                                                    + *

                                                                                                                                                    The maximum number of strongly consistent reads consumed per second before DynamoDB + * returns a ThrottlingException.

                                                                                                                                                    */ ProvisionedReadCapacityUnits?: number; /** *

                                                                                                                                                    Auto scaling settings for managing a global secondary index replica's read capacity - * units.

                                                                                                                                                    + * units.

                                                                                                                                                    */ ProvisionedReadCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate; } @@ -5443,20 +5609,21 @@ export interface ReplicaSettingsUpdate { RegionName: string | undefined; /** - *

                                                                                                                                                    The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. - * For more information, see Specifying Read and Write - * Requirements in the Amazon DynamoDB Developer Guide. - *

                                                                                                                                                    + *

                                                                                                                                                    The maximum number of strongly consistent reads consumed per second before DynamoDB + * returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB + * Developer Guide.

                                                                                                                                                    */ ReplicaProvisionedReadCapacityUnits?: number; /** - *

                                                                                                                                                    Auto scaling settings for managing a global table replica's read capacity units.

                                                                                                                                                    + *

                                                                                                                                                    Auto scaling settings for managing a global table replica's read capacity + * units.

                                                                                                                                                    */ ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate; /** - *

                                                                                                                                                    Represents the settings of a global secondary index for a global table that will be modified.

                                                                                                                                                    + *

                                                                                                                                                    Represents the settings of a global secondary index for a global table that will be + * modified.

                                                                                                                                                    */ ReplicaGlobalSecondaryIndexSettingsUpdate?: ReplicaGlobalSecondaryIndexSettingsUpdate[]; } @@ -5477,23 +5644,28 @@ export interface UpdateGlobalTableSettingsInput { GlobalTableName: string | undefined; /** - *

                                                                                                                                                    The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

                                                                                                                                                    - *
                                                                                                                                                      + *

                                                                                                                                                      The billing mode of the global table. If GlobalTableBillingMode is not + * specified, the global table defaults to PROVISIONED capacity billing + * mode.

                                                                                                                                                      + *
                                                                                                                                                        *
                                                                                                                                                      • - *

                                                                                                                                                        - * PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                                                                                                                                        + *

                                                                                                                                                        + * PROVISIONED - We recommend using PROVISIONED for + * predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      • - *

                                                                                                                                                        - * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode. - *

                                                                                                                                                        + *

                                                                                                                                                        + * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST + * for unpredictable workloads. PAY_PER_REQUEST sets the billing mode + * to On-Demand Mode.

                                                                                                                                                        *
                                                                                                                                                      • *
                                                                                                                                                      */ GlobalTableBillingMode?: BillingMode | string; /** - *

                                                                                                                                                      The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. + *

                                                                                                                                                      The maximum number of writes consumed per second before DynamoDB returns a + * ThrottlingException. *

                                                                                                                                                      */ GlobalTableProvisionedWriteCapacityUnits?: number; @@ -5505,7 +5677,8 @@ export interface UpdateGlobalTableSettingsInput { GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate?: AutoScalingSettingsUpdate; /** - *

                                                                                                                                                      Represents the settings of a global secondary index for a global table that will be modified.

                                                                                                                                                      + *

                                                                                                                                                      Represents the settings of a global secondary index for a global table that will be + * modified.

                                                                                                                                                      */ GlobalTableGlobalSecondaryIndexSettingsUpdate?: GlobalTableGlobalSecondaryIndexSettingsUpdate[]; @@ -5546,7 +5719,8 @@ export namespace UpdateGlobalTableSettingsOutput { } /** - *

                                                                                                                                                      Represents the new provisioned throughput settings to be applied to a global secondary index.

                                                                                                                                                      + *

                                                                                                                                                      Represents the new provisioned throughput settings to be applied to a global secondary + * index.

                                                                                                                                                      */ export interface UpdateGlobalSecondaryIndexAction { /** @@ -5555,8 +5729,11 @@ export interface UpdateGlobalSecondaryIndexAction { IndexName: string | undefined; /** - *

                                                                                                                                                      Represents the provisioned throughput settings for the specified global secondary index.

                                                                                                                                                      - *

                                                                                                                                                      For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                                                                                                                                      + *

                                                                                                                                                      Represents the provisioned throughput settings for the specified global secondary + * index.

                                                                                                                                                      + *

                                                                                                                                                      For current minimum and maximum provisioned throughput values, see Service, + * Account, and Table Quotas in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                      */ ProvisionedThroughput: ProvisionedThroughput | undefined; } @@ -5572,51 +5749,55 @@ export namespace UpdateGlobalSecondaryIndexAction { /** *

                                                                                                                                                      Represents one of the following:

                                                                                                                                                      - *
                                                                                                                                                        + *
                                                                                                                                                          *
                                                                                                                                                        • - *

                                                                                                                                                          A new global secondary index to be added to an existing table.

                                                                                                                                                          + *

                                                                                                                                                          A new global secondary index to be added to an existing table.

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • - *

                                                                                                                                                          New provisioned throughput parameters for an existing global secondary index.

                                                                                                                                                          + *

                                                                                                                                                          New provisioned throughput parameters for an existing global secondary + * index.

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        • - *

                                                                                                                                                          An existing global secondary index to be removed from an existing table.

                                                                                                                                                          + *

                                                                                                                                                          An existing global secondary index to be removed from an existing + * table.

                                                                                                                                                          *
                                                                                                                                                        • *
                                                                                                                                                        */ export interface GlobalSecondaryIndexUpdate { /** - *

                                                                                                                                                        The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.

                                                                                                                                                        + *

                                                                                                                                                        The name of an existing global secondary index, along with new provisioned throughput + * settings to be applied to that index.

                                                                                                                                                        */ Update?: UpdateGlobalSecondaryIndexAction; /** - *

                                                                                                                                                        The parameters required for creating a global secondary index on an existing table:

                                                                                                                                                        - *
                                                                                                                                                          + *

                                                                                                                                                          The parameters required for creating a global secondary index on an existing + * table:

                                                                                                                                                          + *
                                                                                                                                                            *
                                                                                                                                                          • - *

                                                                                                                                                            - * IndexName - *

                                                                                                                                                            + *

                                                                                                                                                            + * IndexName + *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            - * KeySchema - *

                                                                                                                                                            + *

                                                                                                                                                            + * KeySchema + *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            - * AttributeDefinitions - *

                                                                                                                                                            + *

                                                                                                                                                            + * AttributeDefinitions + *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            - * Projection - *

                                                                                                                                                            + *

                                                                                                                                                            + * Projection + *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          • - *

                                                                                                                                                            - * ProvisionedThroughput - *

                                                                                                                                                            + *

                                                                                                                                                            + * ProvisionedThroughput + *

                                                                                                                                                            *
                                                                                                                                                          • *
                                                                                                                                                          */ @@ -5647,16 +5828,17 @@ export interface UpdateReplicationGroupMemberAction { RegionName: string | undefined; /** - *

                                                                                                                                                          The AWS KMS customer master key (CMK) of the replica that should be used for AWS KMS encryption. - * To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias - * ARN. Note that you should only provide this parameter if the key is different from - * the default DynamoDB KMS master key alias/aws/dynamodb.

                                                                                                                                                          + *

                                                                                                                                                          The KMS key of the replica that should be used + * for KMS encryption. To specify a key, use its key ID, Amazon Resource + * Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter + * if the key is different from the default DynamoDB KMS key + * alias/aws/dynamodb.

                                                                                                                                                          */ KMSMasterKeyId?: string; /** *

                                                                                                                                                          Replica-specific provisioned throughput. If not specified, uses the source table's - * provisioned throughput settings.

                                                                                                                                                          + * provisioned throughput settings.

                                                                                                                                                          */ ProvisionedThroughputOverride?: ProvisionedThroughputOverride; @@ -5677,20 +5859,20 @@ export namespace UpdateReplicationGroupMemberAction { /** *

                                                                                                                                                          Represents one of the following:

                                                                                                                                                          - *
                                                                                                                                                            + *
                                                                                                                                                              *
                                                                                                                                                            • - *

                                                                                                                                                              A new replica to be added to an existing regional table or global table. This - * request invokes the CreateTableReplica action in the destination - * Region.

                                                                                                                                                              + *

                                                                                                                                                              A new replica to be added to an existing regional table or global table. This + * request invokes the CreateTableReplica action in the destination + * Region.

                                                                                                                                                              *
                                                                                                                                                            • *
                                                                                                                                                            • - *

                                                                                                                                                              New parameters for an existing replica. This request invokes the - * UpdateTable action in the destination Region.

                                                                                                                                                              + *

                                                                                                                                                              New parameters for an existing replica. This request invokes the + * UpdateTable action in the destination Region.

                                                                                                                                                              *
                                                                                                                                                            • *
                                                                                                                                                            • - *

                                                                                                                                                              An existing replica to be deleted. The request invokes the - * DeleteTableReplica action in the destination Region, deleting the - * replica and all if its items in the destination Region.

                                                                                                                                                              + *

                                                                                                                                                              An existing replica to be deleted. The request invokes the + * DeleteTableReplica action in the destination Region, deleting + * the replica and all if its items in the destination Region.

                                                                                                                                                              *
                                                                                                                                                            • *
                                                                                                                                                            */ @@ -5725,7 +5907,9 @@ export namespace ReplicationGroupUpdate { */ export interface UpdateTableInput { /** - *

                                                                                                                                                            An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, AttributeDefinitions must include the key element(s) of the new index.

                                                                                                                                                            + *

                                                                                                                                                            An array of attributes that describe the key schema for the table and indexes. If you + * are adding a new global secondary index to the table, AttributeDefinitions + * must include the key element(s) of the new index.

                                                                                                                                                            */ AttributeDefinitions?: AttributeDefinition[]; @@ -5735,19 +5919,22 @@ export interface UpdateTableInput { TableName: string | undefined; /** - *

                                                                                                                                                            Controls how you are charged for read and write throughput and how you manage capacity. - * When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial - * provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes - * over the past 30 minutes.

                                                                                                                                                            - *
                                                                                                                                                              + *

                                                                                                                                                              Controls how you are charged for read and write throughput and how you manage + * capacity. When switching from pay-per-request to provisioned capacity, initial + * provisioned capacity values must be set. The initial provisioned capacity values are + * estimated based on the consumed read and write capacity of your table and global + * secondary indexes over the past 30 minutes.

                                                                                                                                                              + *
                                                                                                                                                                *
                                                                                                                                                              • - *

                                                                                                                                                                - * PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                                                                                                                                                + *

                                                                                                                                                                + * PROVISIONED - We recommend using PROVISIONED for + * predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              • - *

                                                                                                                                                                - * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode. - *

                                                                                                                                                                + *

                                                                                                                                                                + * PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST + * for unpredictable workloads. PAY_PER_REQUEST sets the billing mode + * to On-Demand Mode.

                                                                                                                                                                *
                                                                                                                                                              • *
                                                                                                                                                              */ @@ -5759,34 +5946,38 @@ export interface UpdateTableInput { ProvisionedThroughput?: ProvisionedThroughput; /** - *

                                                                                                                                                              An array of one or more global secondary indexes for the table. For each index in the array, you can request one action:

                                                                                                                                                              - *
                                                                                                                                                                + *

                                                                                                                                                                An array of one or more global secondary indexes for the table. For each index in the + * array, you can request one action:

                                                                                                                                                                + *
                                                                                                                                                                  *
                                                                                                                                                                • - *

                                                                                                                                                                  - * Create - add a new global secondary index to the table.

                                                                                                                                                                  + *

                                                                                                                                                                  + * Create - add a new global secondary index to the table.

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                • - *

                                                                                                                                                                  - * Update - modify the provisioned throughput settings of an existing global secondary index.

                                                                                                                                                                  + *

                                                                                                                                                                  + * Update - modify the provisioned throughput settings of an existing + * global secondary index.

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                • - *

                                                                                                                                                                  - * Delete - remove a global secondary index from the table.

                                                                                                                                                                  + *

                                                                                                                                                                  + * Delete - remove a global secondary index from the table.

                                                                                                                                                                  *
                                                                                                                                                                • *
                                                                                                                                                                - *

                                                                                                                                                                You can create or delete only one global secondary index per UpdateTable operation.

                                                                                                                                                                - *

                                                                                                                                                                For more information, see Managing Global Secondary - * Indexes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                + *

                                                                                                                                                                You can create or delete only one global secondary index per UpdateTable + * operation.

                                                                                                                                                                + *

                                                                                                                                                                For more information, see Managing Global + * Secondary Indexes in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                */ GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexUpdate[]; /** *

                                                                                                                                                                Represents the DynamoDB Streams configuration for the table.

                                                                                                                                                                - * - *

                                                                                                                                                                You receive a ResourceInUseException if you try to enable a stream on a - * table that already has a stream, or if you try to disable a stream on a table that + * + *

                                                                                                                                                                You receive a ResourceInUseException if you try to enable a stream on + * a table that already has a stream, or if you try to disable a stream on a table that * doesn't have a stream.

                                                                                                                                                                - *
                                                                                                                                                                + * */ StreamSpecification?: StreamSpecification; @@ -5797,9 +5988,10 @@ export interface UpdateTableInput { /** *

                                                                                                                                                                A list of replica update actions (create, delete, or update) for the table.

                                                                                                                                                                - * - *

                                                                                                                                                                This property only applies to Version 2019.11.21 of global tables.

                                                                                                                                                                - *
                                                                                                                                                                + * + *

                                                                                                                                                                This property only applies to Version + * 2019.11.21 of global tables.

                                                                                                                                                                + *
                                                                                                                                                                */ ReplicaUpdates?: ReplicationGroupUpdate[]; } @@ -5834,7 +6026,7 @@ export namespace UpdateTableOutput { /** *

                                                                                                                                                                Represents the auto scaling settings of a global secondary index for a global table - * that will be modified.

                                                                                                                                                                + * that will be modified.

                                                                                                                                                                */ export interface GlobalSecondaryIndexAutoScalingUpdate { /** @@ -5844,7 +6036,7 @@ export interface GlobalSecondaryIndexAutoScalingUpdate { /** *

                                                                                                                                                                Represents the auto scaling settings to be modified for a global table or global - * secondary index.

                                                                                                                                                                + * secondary index.

                                                                                                                                                                */ ProvisionedWriteCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate; } @@ -5859,8 +6051,8 @@ export namespace GlobalSecondaryIndexAutoScalingUpdate { } /** - *

                                                                                                                                                                Represents the auto scaling settings of a global secondary index for a replica - * that will be modified.

                                                                                                                                                                + *

                                                                                                                                                                Represents the auto scaling settings of a global secondary index for a replica that + * will be modified.

                                                                                                                                                                */ export interface ReplicaGlobalSecondaryIndexAutoScalingUpdate { /** @@ -5870,7 +6062,7 @@ export interface ReplicaGlobalSecondaryIndexAutoScalingUpdate { /** *

                                                                                                                                                                Represents the auto scaling settings to be modified for a global table or global - * secondary index.

                                                                                                                                                                + * secondary index.

                                                                                                                                                                */ ProvisionedReadCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate; } @@ -5894,14 +6086,14 @@ export interface ReplicaAutoScalingUpdate { RegionName: string | undefined; /** - *

                                                                                                                                                                Represents the auto scaling settings of global secondary indexes that will - * be modified.

                                                                                                                                                                + *

                                                                                                                                                                Represents the auto scaling settings of global secondary indexes that will be + * modified.

                                                                                                                                                                */ ReplicaGlobalSecondaryIndexUpdates?: ReplicaGlobalSecondaryIndexAutoScalingUpdate[]; /** *

                                                                                                                                                                Represents the auto scaling settings to be modified for a global table or global - * secondary index.

                                                                                                                                                                + * secondary index.

                                                                                                                                                                */ ReplicaProvisionedReadCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate; } @@ -5917,8 +6109,8 @@ export namespace ReplicaAutoScalingUpdate { export interface UpdateTableReplicaAutoScalingInput { /** - *

                                                                                                                                                                Represents the auto scaling settings of the global secondary indexes of the replica - * to be updated.

                                                                                                                                                                + *

                                                                                                                                                                Represents the auto scaling settings of the global secondary indexes of the replica to + * be updated.

                                                                                                                                                                */ GlobalSecondaryIndexUpdates?: GlobalSecondaryIndexAutoScalingUpdate[]; @@ -5929,13 +6121,13 @@ export interface UpdateTableReplicaAutoScalingInput { /** *

                                                                                                                                                                Represents the auto scaling settings to be modified for a global table or global - * secondary index.

                                                                                                                                                                + * secondary index.

                                                                                                                                                                */ ProvisionedWriteCapacityAutoScalingUpdate?: AutoScalingSettingsUpdate; /** *

                                                                                                                                                                Represents the auto scaling settings of replicas of the table that will be - * modified.

                                                                                                                                                                + * modified.

                                                                                                                                                                */ ReplicaUpdates?: ReplicaAutoScalingUpdate[]; } @@ -6001,7 +6193,8 @@ export interface UpdateTimeToLiveInput { TableName: string | undefined; /** - *

                                                                                                                                                                Represents the settings used to enable or disable Time to Live for the specified table.

                                                                                                                                                                + *

                                                                                                                                                                Represents the settings used to enable or disable Time to Live for the specified + * table.

                                                                                                                                                                */ TimeToLiveSpecification: TimeToLiveSpecification | undefined; } @@ -6033,9 +6226,10 @@ export namespace UpdateTimeToLiveOutput { /** *

                                                                                                                                                                Represents the data for an attribute.

                                                                                                                                                                - *

                                                                                                                                                                Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

                                                                                                                                                                - *

                                                                                                                                                                For more information, see Data Types in the - * Amazon DynamoDB Developer Guide.

                                                                                                                                                                + *

                                                                                                                                                                Each attribute value is described as a name-value pair. The name is the data type, and + * the value is the data itself.

                                                                                                                                                                + *

                                                                                                                                                                For more information, see Data Types in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                */ export type AttributeValue = | AttributeValue.BMember @@ -6052,8 +6246,8 @@ export type AttributeValue = export namespace AttributeValue { /** - *

                                                                                                                                                                An attribute of type String. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type String. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "S": "Hello" *

                                                                                                                                                                */ @@ -6072,11 +6266,13 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Number. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Number. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "N": "123.45" *

                                                                                                                                                                - *

                                                                                                                                                                Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

                                                                                                                                                                + *

                                                                                                                                                                Numbers are sent across the network to DynamoDB as strings, to maximize compatibility + * across languages and libraries. However, DynamoDB treats them as number type attributes + * for mathematical operations.

                                                                                                                                                                */ export interface NMember { S?: never; @@ -6093,8 +6289,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Binary. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Binary. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "B": "dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk" *

                                                                                                                                                                */ @@ -6113,8 +6309,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type String Set. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type String Set. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "SS": ["Giraffe", "Hippo" ,"Zebra"] *

                                                                                                                                                                */ @@ -6133,11 +6329,13 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Number Set. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Number Set. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "NS": ["42.2", "-19", "7.5", "3.14"] *

                                                                                                                                                                - *

                                                                                                                                                                Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

                                                                                                                                                                + *

                                                                                                                                                                Numbers are sent across the network to DynamoDB as strings, to maximize compatibility + * across languages and libraries. However, DynamoDB treats them as number type attributes + * for mathematical operations.

                                                                                                                                                                */ export interface NSMember { S?: never; @@ -6154,8 +6352,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Binary Set. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Binary Set. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "BS": ["U3Vubnk=", "UmFpbnk=", "U25vd3k="] *

                                                                                                                                                                */ @@ -6174,8 +6372,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Map. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Map. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "M": {"Name": {"S": "Joe"}, "Age": {"N": "35"}} *

                                                                                                                                                                */ @@ -6194,8 +6392,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type List. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type List. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N", "3.14159"}] *

                                                                                                                                                                */ @@ -6214,8 +6412,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Null. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Null. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "NULL": true *

                                                                                                                                                                */ @@ -6234,8 +6432,8 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                An attribute of type Boolean. For example:

                                                                                                                                                                - *

                                                                                                                                                                + *

                                                                                                                                                                An attribute of type Boolean. For example:

                                                                                                                                                                + *

                                                                                                                                                                * "BOOL": true *

                                                                                                                                                                */ @@ -6323,112 +6521,123 @@ export namespace AttributeValue { } /** - *

                                                                                                                                                                For the UpdateItem operation, represents the attributes to be modified, the action to - * perform on each, and the new value for each.

                                                                                                                                                                - * - *

                                                                                                                                                                You cannot use UpdateItem to update any primary key attributes. Instead, you will - * need to delete the item, and then use PutItem to create a new item with new - * attributes.

                                                                                                                                                                - *
                                                                                                                                                                - *

                                                                                                                                                                Attribute values cannot be null; string and binary type attributes must have lengths greater - * than zero; and set type attributes must not be empty. Requests with empty values will be - * rejected with a ValidationException exception.

                                                                                                                                                                + *

                                                                                                                                                                For the UpdateItem operation, represents the attributes to be modified, + * the action to perform on each, and the new value for each.

                                                                                                                                                                + * + *

                                                                                                                                                                You cannot use UpdateItem to update any primary key attributes. + * Instead, you will need to delete the item, and then use PutItem to + * create a new item with new attributes.

                                                                                                                                                                + *
                                                                                                                                                                + *

                                                                                                                                                                Attribute values cannot be null; string and binary type attributes must have lengths + * greater than zero; and set type attributes must not be empty. Requests with empty values + * will be rejected with a ValidationException exception.

                                                                                                                                                                */ export interface AttributeValueUpdate { /** *

                                                                                                                                                                Represents the data for an attribute.

                                                                                                                                                                - *

                                                                                                                                                                Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

                                                                                                                                                                - *

                                                                                                                                                                For more information, see Data Types in the Amazon DynamoDB Developer Guide. - *

                                                                                                                                                                + *

                                                                                                                                                                Each attribute value is described as a name-value pair. The name is the data type, and + * the value is the data itself.

                                                                                                                                                                + *

                                                                                                                                                                For more information, see Data Types in the Amazon DynamoDB Developer Guide. + *

                                                                                                                                                                */ Value?: AttributeValue; /** - *

                                                                                                                                                                Specifies how to perform the update. Valid values are PUT (default), DELETE, - * and ADD. The behavior depends on whether the specified primary key already exists - * in the table.

                                                                                                                                                                + *

                                                                                                                                                                Specifies how to perform the update. Valid values are PUT (default), + * DELETE, and ADD. The behavior depends on whether the + * specified primary key already exists in the table.

                                                                                                                                                                * - *

                                                                                                                                                                - * If an item with the specified Key is found in the table: - *

                                                                                                                                                                + *

                                                                                                                                                                + * If an item with the specified Key is found in + * the table: + *

                                                                                                                                                                * - *
                                                                                                                                                                  + *
                                                                                                                                                                    *
                                                                                                                                                                  • - *

                                                                                                                                                                    - * PUT - Adds the specified attribute to the item. If the attribute already - * exists, it is replaced by the new value.

                                                                                                                                                                    + *

                                                                                                                                                                    + * PUT - Adds the specified attribute to the item. If the attribute + * already exists, it is replaced by the new value.

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • - *

                                                                                                                                                                    - * DELETE - If no value is specified, the attribute and its value are removed - * from the item. The data type of the specified value must match the existing value's data - * type.

                                                                                                                                                                    - *

                                                                                                                                                                    If a set of values is specified, then those values are subtracted from the old - * set. For example, if the attribute value was the set [a,b,c] and the - * DELETE action specified [a,c], then the final attribute value would - * be [b]. Specifying an empty set is an error.

                                                                                                                                                                    + *

                                                                                                                                                                    + * DELETE - If no value is specified, the attribute and its value are + * removed from the item. The data type of the specified value must match the + * existing value's data type.

                                                                                                                                                                    + *

                                                                                                                                                                    If a set of values is specified, then those values are + * subtracted from the old set. For example, if the attribute value was the set + * [a,b,c] and the DELETE action specified + * [a,c], then the final attribute value would be + * [b]. Specifying an empty set is an error.

                                                                                                                                                                    *
                                                                                                                                                                  • *
                                                                                                                                                                  • - *

                                                                                                                                                                    - * ADD - If the attribute does not already exist, then the attribute and its - * values are added to the item. If the attribute does exist, then the behavior of - * ADD depends on the data type of the attribute:

                                                                                                                                                                    - *
                                                                                                                                                                      + *

                                                                                                                                                                      + * ADD - If the attribute does not already exist, then the attribute + * and its values are added to the item. If the attribute does exist, then the + * behavior of ADD depends on the data type of the attribute:

                                                                                                                                                                      + *
                                                                                                                                                                        *
                                                                                                                                                                      • - *

                                                                                                                                                                        If the existing attribute is a number, and if Value is also a number, then the - * Value is mathematically added to the existing attribute. If Value is a - * negative number, then it is subtracted from the existing attribute.

                                                                                                                                                                        - * - *

                                                                                                                                                                        If you use ADD to increment or decrement a number value for an item - * that doesn't exist before the update, DynamoDB uses 0 as the initial value.

                                                                                                                                                                        - *

                                                                                                                                                                        In addition, if you use ADD to update an existing item, and intend to - * increment or decrement an attribute value which does not yet exist, DynamoDB uses - * 0 as the initial value. For example, suppose that the item you want - * to update does not yet have an attribute named itemcount, but you decide to - * ADD the number 3 to this attribute anyway, even though - * it currently does not exist. DynamoDB will create the itemcount attribute, set - * its initial value to 0, and finally add 3 to it. The - * result will be a new itemcount attribute in the item, with a value of - * 3.

                                                                                                                                                                        - *
                                                                                                                                                                        - *
                                                                                                                                                                      • + *

                                                                                                                                                                        If the existing attribute is a number, and if Value is + * also a number, then the Value is mathematically added to + * the existing attribute. If Value is a negative number, then + * it is subtracted from the existing attribute.

                                                                                                                                                                        + * + *

                                                                                                                                                                        If you use ADD to increment or decrement a number + * value for an item that doesn't exist before the update, DynamoDB + * uses 0 as the initial value.

                                                                                                                                                                        + *

                                                                                                                                                                        In addition, if you use ADD to update an existing + * item, and intend to increment or decrement an attribute value which + * does not yet exist, DynamoDB uses 0 as the initial + * value. For example, suppose that the item you want to update does + * not yet have an attribute named itemcount, but + * you decide to ADD the number 3 to this + * attribute anyway, even though it currently does not exist. DynamoDB + * will create the itemcount attribute, set its + * initial value to 0, and finally add 3 to + * it. The result will be a new itemcount + * attribute in the item, with a value of 3.

                                                                                                                                                                        + *
                                                                                                                                                                        + * *
                                                                                                                                                                      • - *

                                                                                                                                                                        If the existing data type is a set, and if the Value is also a set, then the - * Value is added to the existing set. (This is a set operation, not - * mathematical addition.) For example, if the attribute value was the set - * [1,2], and the ADD action specified [3], then - * the final attribute value would be [1,2,3]. An error occurs if an Add - * action is specified for a set attribute and the attribute type specified does not - * match the existing set type.

                                                                                                                                                                        - *

                                                                                                                                                                        Both sets must have the same primitive data type. For example, if the existing data - * type is a set of strings, the Value must also be a set of strings. The same - * holds true for number sets and binary sets.

                                                                                                                                                                        - *
                                                                                                                                                                      • + *

                                                                                                                                                                        If the existing data type is a set, and if the Value is + * also a set, then the Value is added to the existing set. + * (This is a set operation, not mathematical + * addition.) For example, if the attribute value was the set + * [1,2], and the ADD action specified + * [3], then the final attribute value would be + * [1,2,3]. An error occurs if an Add action is specified + * for a set attribute and the attribute type specified does not match the + * existing set type.

                                                                                                                                                                        + *

                                                                                                                                                                        Both sets must have the same primitive data type. For example, if the + * existing data type is a set of strings, the Value must also + * be a set of strings. The same holds true for number sets and binary + * sets.

                                                                                                                                                                        + * *
                                                                                                                                                                      - *

                                                                                                                                                                      This action is only valid for an existing attribute whose data type is number or is a - * set. Do not use ADD for any other data types.

                                                                                                                                                                      + *

                                                                                                                                                                      This action is only valid for an existing attribute whose data type is number + * or is a set. Do not use ADD for any other data types.

                                                                                                                                                                      * *
                                                                                                                                                                    * - *

                                                                                                                                                                    - * If no item with the specified Key is found: - *

                                                                                                                                                                    + *

                                                                                                                                                                    + * If no item with the specified Key is + * found: + *

                                                                                                                                                                    * - *
                                                                                                                                                                      + *
                                                                                                                                                                        *
                                                                                                                                                                      • - *

                                                                                                                                                                        - * PUT - DynamoDB creates a new item with the specified primary key, and then adds - * the attribute.

                                                                                                                                                                        + *

                                                                                                                                                                        + * PUT - DynamoDB creates a new item with the specified primary key, + * and then adds the attribute.

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • - *

                                                                                                                                                                        - * DELETE - Nothing happens; there is no attribute to delete.

                                                                                                                                                                        + *

                                                                                                                                                                        + * DELETE - Nothing happens; there is no attribute to delete.

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      • - *

                                                                                                                                                                        - * ADD - DynamoDB creates an item with the supplied primary key and number (or set - * of numbers) for the attribute value. The only data types allowed are number and number - * set; no other data types can be specified.

                                                                                                                                                                        + *

                                                                                                                                                                        + * ADD - DynamoDB creates an item with the supplied primary key and + * number (or set of numbers) for the attribute value. The only data types allowed + * are number and number set; no other data types can be specified.

                                                                                                                                                                        *
                                                                                                                                                                      • *
                                                                                                                                                                      */ @@ -6446,29 +6655,21 @@ export namespace AttributeValueUpdate { } /** - *

                                                                                                                                                                      - * A PartiQL batch statement request. - *

                                                                                                                                                                      + *

                                                                                                                                                                      A PartiQL batch statement request.

                                                                                                                                                                      */ export interface BatchStatementRequest { /** - *

                                                                                                                                                                      - * A valid PartiQL statement. - *

                                                                                                                                                                      + *

                                                                                                                                                                      A valid PartiQL statement.

                                                                                                                                                                      */ Statement: string | undefined; /** - *

                                                                                                                                                                      - * The parameters associated with a PartiQL statement in the batch request. - *

                                                                                                                                                                      + *

                                                                                                                                                                      The parameters associated with a PartiQL statement in the batch request.

                                                                                                                                                                      */ Parameters?: AttributeValue[]; /** - *

                                                                                                                                                                      - * The read consistency of the PartiQL batch request. - *

                                                                                                                                                                      + *

                                                                                                                                                                      The read consistency of the PartiQL batch request.

                                                                                                                                                                      */ ConsistentRead?: boolean; } @@ -6484,29 +6685,21 @@ export namespace BatchStatementRequest { } /** - *

                                                                                                                                                                      - * A PartiQL batch statement response.. - *

                                                                                                                                                                      + *

                                                                                                                                                                      A PartiQL batch statement response..

                                                                                                                                                                      */ export interface BatchStatementResponse { /** - *

                                                                                                                                                                      - * The error associated with a failed PartiQL batch statement. - *

                                                                                                                                                                      + *

                                                                                                                                                                      The error associated with a failed PartiQL batch statement.

                                                                                                                                                                      */ Error?: BatchStatementError; /** - *

                                                                                                                                                                      - * The table name associated with a failed PartiQL batch statement. - *

                                                                                                                                                                      + *

                                                                                                                                                                      The table name associated with a failed PartiQL batch statement.

                                                                                                                                                                      */ TableName?: string; /** - *

                                                                                                                                                                      - * A DynamoDB item associated with a BatchStatementResponse - *

                                                                                                                                                                      + *

                                                                                                                                                                      A DynamoDB item associated with a BatchStatementResponse

                                                                                                                                                                      */ Item?: { [key: string]: AttributeValue }; } @@ -6530,11 +6723,10 @@ export namespace BatchStatementResponse { } /** - *

                                                                                                                                                                      An ordered list of errors for each item in the request which caused the transaction - * to get cancelled. The values of the list are ordered according to the ordering of the - * TransactWriteItems request parameter. If no error - * occurred for the associated item an error with a Null code and Null message will be present. - *

                                                                                                                                                                      + *

                                                                                                                                                                      An ordered list of errors for each item in the request which caused the transaction to + * get cancelled. The values of the list are ordered according to the ordering of the + * TransactWriteItems request parameter. If no error occurred for the + * associated item an error with a Null code and Null message will be present.

                                                                                                                                                                      */ export interface CancellationReason { /** @@ -6572,186 +6764,228 @@ export namespace CancellationReason { } /** - *

                                                                                                                                                                      Represents the selection criteria for a Query or Scan operation:

                                                                                                                                                                      - *
                                                                                                                                                                        + *

                                                                                                                                                                        Represents the selection criteria for a Query or Scan + * operation:

                                                                                                                                                                        + *
                                                                                                                                                                          *
                                                                                                                                                                        • - *

                                                                                                                                                                          For a Query operation, Condition is used for specifying the - * KeyConditions to use when querying a table or an index. For KeyConditions, - * only the following comparison operators are supported:

                                                                                                                                                                          - *

                                                                                                                                                                          - * EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN - *

                                                                                                                                                                          - *

                                                                                                                                                                          - * Condition is also used in a QueryFilter, which evaluates the query results - * and returns only the desired values.

                                                                                                                                                                          + *

                                                                                                                                                                          For a Query operation, Condition is used for + * specifying the KeyConditions to use when querying a table or an + * index. For KeyConditions, only the following comparison operators + * are supported:

                                                                                                                                                                          + *

                                                                                                                                                                          + * EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN + *

                                                                                                                                                                          + *

                                                                                                                                                                          + * Condition is also used in a QueryFilter, which + * evaluates the query results and returns only the desired values.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        • - *

                                                                                                                                                                          For a Scan operation, Condition is used in a ScanFilter, which - * evaluates the scan results and returns only the desired values.

                                                                                                                                                                          + *

                                                                                                                                                                          For a Scan operation, Condition is used in a + * ScanFilter, which evaluates the scan results and returns only + * the desired values.

                                                                                                                                                                          *
                                                                                                                                                                        • *
                                                                                                                                                                        */ export interface Condition { /** - *

                                                                                                                                                                        One or more values to evaluate against the supplied attribute. The number of values in the - * list depends on the ComparisonOperator being used.

                                                                                                                                                                        - *

                                                                                                                                                                        For type Number, value comparisons are numeric.

                                                                                                                                                                        - *

                                                                                                                                                                        String value comparisons for greater than, equals, or less than are based on ASCII character - * code values. For example, a is greater than A, and a - * is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                                                                                                                                                        - *

                                                                                                                                                                        For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.

                                                                                                                                                                        + *

                                                                                                                                                                        One or more values to evaluate against the supplied attribute. The number of values in + * the list depends on the ComparisonOperator being used.

                                                                                                                                                                        + *

                                                                                                                                                                        For type Number, value comparisons are numeric.

                                                                                                                                                                        + *

                                                                                                                                                                        String value comparisons for greater than, equals, or less than are based on ASCII + * character code values. For example, a is greater than A, and + * a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                                                                                                                                                        + *

                                                                                                                                                                        For Binary, DynamoDB treats each byte of the binary data as unsigned when it + * compares binary values.

                                                                                                                                                                        */ AttributeValueList?: AttributeValue[]; /** - *

                                                                                                                                                                        A comparator for evaluating attributes. For example, equals, greater than, less than, etc.

                                                                                                                                                                        - *

                                                                                                                                                                        The following comparison operators are available:

                                                                                                                                                                        - *

                                                                                                                                                                        - * EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN - *

                                                                                                                                                                        - *

                                                                                                                                                                        The following are descriptions of each comparison operator.

                                                                                                                                                                        - *
                                                                                                                                                                          - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * EQ : Equal. EQ is supported for all data types, including lists and maps.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not equal {"NS":["6", "2", "1"]}.

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * NE : Not equal. NE is supported for all data types, including lists and maps.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue of type String, - * Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not equal {"NS":["6", "2", "1"]}.

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * LE : Less than or equal.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * LT : Less than.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * GE : Greater than or equal.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * GT : Greater than.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * NOT_NULL : The attribute exists. NOT_NULL is supported for all data types, including lists and maps.

                                                                                                                                                                          - * - *

                                                                                                                                                                          This operator tests for the existence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NOT_NULL, the result is a Boolean true. This result is because the attribute "a" exists; its data type is not relevant to the NOT_NULL comparison operator.

                                                                                                                                                                          - *
                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * NULL : The attribute does not exist. NULL is supported for all data types, including lists and maps.

                                                                                                                                                                          - * - *

                                                                                                                                                                          This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NULL, the result is a Boolean false. This is because the attribute "a" exists; its data type is not relevant to the NULL comparison operator.

                                                                                                                                                                          - *
                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * CONTAINS : Checks for a subsequence, or value in a set.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then - * the operator checks for a substring match. If the target attribute of the comparison is - * of type Binary, then the operator looks for a subsequence of the target that matches the input. - * If the target attribute of the comparison is a set ("SS", "NS", or "BS"), then the - * operator evaluates to true if it finds an exact match with any member of the set.

                                                                                                                                                                          - *

                                                                                                                                                                          CONTAINS is supported for lists: When evaluating "a CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list.

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * NOT_CONTAINS : Checks for absence of a subsequence, or absence of a value in - * a set.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If the target attribute of the comparison is a String, then - * the operator checks for the absence of a substring match. If the target attribute of the - * comparison is Binary, then the operator checks for the absence of a subsequence of the - * target that matches the input. If the target attribute of the comparison is a set ("SS", - * "NS", or "BS"), then the operator evaluates to true if it does not find an exact match with any member of the set.

                                                                                                                                                                          - *

                                                                                                                                                                          NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list.

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * BEGINS_WITH : Checks for a prefix.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue of type String or - * Binary (not a Number or a set type). The target attribute of the comparison must be of type String or - * Binary (not a Number or a set type).

                                                                                                                                                                          - *

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * IN : Checks for matching elements in a list.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList can contain one or more AttributeValue - * elements of type String, Number, or Binary. These attributes are compared against an - * existing attribute of an item. If any elements of the input are equal to the item - * attribute, the expression evaluates to true.

                                                                                                                                                                          - *
                                                                                                                                                                        • - *
                                                                                                                                                                        • - *

                                                                                                                                                                          - * BETWEEN : Greater than or equal to the first value, and less than or equal - * to the second value.

                                                                                                                                                                          - *

                                                                                                                                                                          - * AttributeValueList must contain two AttributeValue elements of the same - * type, either String, Number, or Binary (not a set type). A target attribute matches if the - * target value is greater than, or equal to, the first element and less than, or equal to, - * the second element. If an item contains an AttributeValue element of a different type than - * the one provided in the request, the value does not match. For example, - * {"S":"6"} does not compare to {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]} - *

                                                                                                                                                                          + *

                                                                                                                                                                          A comparator for evaluating attributes. For example, equals, greater than, less than, + * etc.

                                                                                                                                                                          + *

                                                                                                                                                                          The following comparison operators are available:

                                                                                                                                                                          + *

                                                                                                                                                                          + * EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | + * BEGINS_WITH | IN | BETWEEN + *

                                                                                                                                                                          + *

                                                                                                                                                                          The following are descriptions of each comparison operator.

                                                                                                                                                                          + *
                                                                                                                                                                            + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * EQ : Equal. EQ is supported for all data types, + * including lists and maps.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, Binary, String Set, Number Set, or Binary Set. + * If an item contains an AttributeValue element of a different type + * than the one provided in the request, the value does not match. For example, + * {"S":"6"} does not equal {"N":"6"}. Also, + * {"N":"6"} does not equal {"NS":["6", "2", + * "1"]}.

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * NE : Not equal. NE is supported for all data types, + * including lists and maps.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * of type String, Number, Binary, String Set, Number Set, or Binary Set. If an + * item contains an AttributeValue of a different type than the one + * provided in the request, the value does not match. For example, + * {"S":"6"} does not equal {"N":"6"}. Also, + * {"N":"6"} does not equal {"NS":["6", "2", + * "1"]}.

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * LE : Less than or equal.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If an item contains + * an AttributeValue element of a different type than the one provided + * in the request, the value does not match. For example, {"S":"6"} + * does not equal {"N":"6"}. Also, {"N":"6"} does not + * compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * LT : Less than.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * of type String, Number, or Binary (not a set type). If an item contains an + * AttributeValue element of a different type than the one + * provided in the request, the value does not match. For example, + * {"S":"6"} does not equal {"N":"6"}. Also, + * {"N":"6"} does not compare to {"NS":["6", "2", + * "1"]}.

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * GE : Greater than or equal.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If an item contains + * an AttributeValue element of a different type than the one provided + * in the request, the value does not match. For example, {"S":"6"} + * does not equal {"N":"6"}. Also, {"N":"6"} does not + * compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * GT : Greater than.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If an item contains + * an AttributeValue element of a different type than the one provided + * in the request, the value does not match. For example, {"S":"6"} + * does not equal {"N":"6"}. Also, {"N":"6"} does not + * compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * NOT_NULL : The attribute exists. NOT_NULL is supported + * for all data types, including lists and maps.

                                                                                                                                                                            + * + *

                                                                                                                                                                            This operator tests for the existence of an attribute, not its data type. + * If the data type of attribute "a" is null, and you evaluate it + * using NOT_NULL, the result is a Boolean true. This + * result is because the attribute "a" exists; its data type is + * not relevant to the NOT_NULL comparison operator.

                                                                                                                                                                            + *
                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * NULL : The attribute does not exist. NULL is supported + * for all data types, including lists and maps.

                                                                                                                                                                            + * + *

                                                                                                                                                                            This operator tests for the nonexistence of an attribute, not its data + * type. If the data type of attribute "a" is null, and you + * evaluate it using NULL, the result is a Boolean + * false. This is because the attribute "a" + * exists; its data type is not relevant to the NULL comparison + * operator.

                                                                                                                                                                            + *
                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * CONTAINS : Checks for a subsequence, or value in a set.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If the target + * attribute of the comparison is of type String, then the operator checks for a + * substring match. If the target attribute of the comparison is of type Binary, + * then the operator looks for a subsequence of the target that matches the input. + * If the target attribute of the comparison is a set ("SS", + * "NS", or "BS"), then the operator evaluates to + * true if it finds an exact match with any member of the set.

                                                                                                                                                                            + *

                                                                                                                                                                            CONTAINS is supported for lists: When evaluating "a CONTAINS b", + * "a" can be a list; however, "b" cannot be a set, a + * map, or a list.

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * NOT_CONTAINS : Checks for absence of a subsequence, or absence of a + * value in a set.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If the target + * attribute of the comparison is a String, then the operator checks for the + * absence of a substring match. If the target attribute of the comparison is + * Binary, then the operator checks for the absence of a subsequence of the target + * that matches the input. If the target attribute of the comparison is a set + * ("SS", "NS", or "BS"), then the + * operator evaluates to true if it does not find an exact + * match with any member of the set.

                                                                                                                                                                            + *

                                                                                                                                                                            NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS + * b", "a" can be a list; however, "b" cannot + * be a set, a map, or a list.

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * BEGINS_WITH : Checks for a prefix.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * of type String or Binary (not a Number or a set type). The target attribute of + * the comparison must be of type String or Binary (not a Number or a set + * type).

                                                                                                                                                                            + *

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * IN : Checks for matching elements in a list.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList can contain one or more + * AttributeValue elements of type String, Number, or Binary. + * These attributes are compared against an existing attribute of an item. If any + * elements of the input are equal to the item attribute, the expression evaluates + * to true.

                                                                                                                                                                            + *
                                                                                                                                                                          • + *
                                                                                                                                                                          • + *

                                                                                                                                                                            + * BETWEEN : Greater than or equal to the first value, and less than + * or equal to the second value.

                                                                                                                                                                            + *

                                                                                                                                                                            + * AttributeValueList must contain two AttributeValue + * elements of the same type, either String, Number, or Binary (not a set type). A + * target attribute matches if the target value is greater than, or equal to, the + * first element and less than, or equal to, the second element. If an item + * contains an AttributeValue element of a different type than the one + * provided in the request, the value does not match. For example, + * {"S":"6"} does not compare to {"N":"6"}. Also, + * {"N":"6"} does not compare to {"NS":["6", "2", + * "1"]} + *

                                                                                                                                                                            *
                                                                                                                                                                          • *
                                                                                                                                                                          - *

                                                                                                                                                                          For usage examples of AttributeValueList and ComparisonOperator, see - * Legacy Conditional Parameters - * in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                          + *

                                                                                                                                                                          For usage examples of AttributeValueList and + * ComparisonOperator, see Legacy + * Conditional Parameters in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                          */ ComparisonOperator: ComparisonOperator | string | undefined; } @@ -6773,7 +7007,9 @@ export namespace Condition { */ export interface DeleteRequest { /** - *

                                                                                                                                                                          A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

                                                                                                                                                                          + *

                                                                                                                                                                          A map of attribute name to attribute values, representing the primary key of the item + * to delete. All of the table's primary key attributes must be specified, and their data + * types must match those of the table's key schema.

                                                                                                                                                                          */ Key: { [key: string]: AttributeValue } | undefined; } @@ -6798,30 +7034,24 @@ export namespace DeleteRequest { export interface ExecuteStatementInput { /** - *

                                                                                                                                                                          - * The PartiQL statement representing the operation to run. - *

                                                                                                                                                                          + *

                                                                                                                                                                          The PartiQL statement representing the operation to run.

                                                                                                                                                                          */ Statement: string | undefined; /** - *

                                                                                                                                                                          - * The parameters for the PartiQL statement, if any. - *

                                                                                                                                                                          + *

                                                                                                                                                                          The parameters for the PartiQL statement, if any.

                                                                                                                                                                          */ Parameters?: AttributeValue[]; /** - *

                                                                                                                                                                          - * The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used. - *

                                                                                                                                                                          + *

                                                                                                                                                                          The consistency of a read operation. If set to true, then a strongly + * consistent read is used; otherwise, an eventually consistent read is used.

                                                                                                                                                                          */ ConsistentRead?: boolean; /** - *

                                                                                                                                                                          - * Set this value to get remaining results, if NextToken was returned in the statement response. - *

                                                                                                                                                                          + *

                                                                                                                                                                          Set this value to get remaining results, if NextToken was returned in the + * statement response.

                                                                                                                                                                          */ NextToken?: string; } @@ -6838,12 +7068,12 @@ export namespace ExecuteStatementInput { /** *

                                                                                                                                                                          Specifies an item and related attribute values to retrieve in a - * TransactGetItem object.

                                                                                                                                                                          + * TransactGetItem object.

                                                                                                                                                                          */ export interface Get { /** - *

                                                                                                                                                                          A map of attribute names to AttributeValue objects that - * specifies the primary key of the item to retrieve.

                                                                                                                                                                          + *

                                                                                                                                                                          A map of attribute names to AttributeValue objects that specifies the + * primary key of the item to retrieve.

                                                                                                                                                                          */ Key: { [key: string]: AttributeValue } | undefined; @@ -6853,17 +7083,16 @@ export interface Get { TableName: string | undefined; /** - *

                                                                                                                                                                          A string that identifies one or more attributes of the specified item - * to retrieve from the table. The attributes in the expression must be - * separated by commas. If no attribute names are specified, then all - * attributes of the specified item are returned. If any of the requested - * attributes are not found, they do not appear in the result.

                                                                                                                                                                          + *

                                                                                                                                                                          A string that identifies one or more attributes of the specified item to retrieve from + * the table. The attributes in the expression must be separated by commas. If no attribute + * names are specified, then all attributes of the specified item are returned. If any of + * the requested attributes are not found, they do not appear in the result.

                                                                                                                                                                          */ ProjectionExpression?: string; /** - *

                                                                                                                                                                          One or more substitution tokens for attribute names in the - * ProjectionExpression parameter.

                                                                                                                                                                          + *

                                                                                                                                                                          One or more substitution tokens for attribute names in the ProjectionExpression + * parameter.

                                                                                                                                                                          */ ExpressionAttributeNames?: { [key: string]: string }; } @@ -6896,93 +7125,120 @@ export interface GetItemInput { TableName: string | undefined; /** - *

                                                                                                                                                                          A map of attribute names to AttributeValue objects, representing the primary key of - * the item to retrieve.

                                                                                                                                                                          - *

                                                                                                                                                                          For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

                                                                                                                                                                          + *

                                                                                                                                                                          A map of attribute names to AttributeValue objects, representing the + * primary key of the item to retrieve.

                                                                                                                                                                          + *

                                                                                                                                                                          For the primary key, you must provide all of the attributes. For example, with a + * simple primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key and the sort + * key.

                                                                                                                                                                          */ Key: { [key: string]: AttributeValue } | undefined; /** - *

                                                                                                                                                                          This is a legacy parameter. Use ProjectionExpression instead. For more information, see - * AttributesToGet in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                          + *

                                                                                                                                                                          This is a legacy parameter. Use ProjectionExpression instead. For more + * information, see AttributesToGet in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                          */ AttributesToGet?: string[]; /** - *

                                                                                                                                                                          Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.

                                                                                                                                                                          + *

                                                                                                                                                                          Determines the read consistency model: If set to true, then the operation + * uses strongly consistent reads; otherwise, the operation uses eventually consistent + * reads.

                                                                                                                                                                          */ ConsistentRead?: boolean; /** - *

                                                                                                                                                                          Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                          - *
                                                                                                                                                                            + *

                                                                                                                                                                            Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                            + *
                                                                                                                                                                              *
                                                                                                                                                                            • - *

                                                                                                                                                                              - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                              - *

                                                                                                                                                                              Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                              + *

                                                                                                                                                                              + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                              + *

                                                                                                                                                                              Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                              *
                                                                                                                                                                            • *
                                                                                                                                                                            • - *

                                                                                                                                                                              - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                              + *

                                                                                                                                                                              + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                              *
                                                                                                                                                                            • *
                                                                                                                                                                            • - *

                                                                                                                                                                              - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                              + *

                                                                                                                                                                              + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                              *
                                                                                                                                                                            • *
                                                                                                                                                                            */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                            A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                                                                                                                                                            - *

                                                                                                                                                                            If no attribute names are specified, then all attributes are returned. If any of the + *

                                                                                                                                                                            A string that identifies one or more attributes to retrieve from the table. These + * attributes can include scalars, sets, or elements of a JSON document. The attributes in + * the expression must be separated by commas.

                                                                                                                                                                            + *

                                                                                                                                                                            If no attribute names are specified, then all attributes are returned. If any of the * requested attributes are not found, they do not appear in the result.

                                                                                                                                                                            - *

                                                                                                                                                                            For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer + *

                                                                                                                                                                            For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                            */ ProjectionExpression?: string; /** - *

                                                                                                                                                                            One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                            - *
                                                                                                                                                                              + *

                                                                                                                                                                              One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                              + *
                                                                                                                                                                                *
                                                                                                                                                                              • - *

                                                                                                                                                                                To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                + *

                                                                                                                                                                                To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              • - *

                                                                                                                                                                                To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                + *

                                                                                                                                                                                To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              • - *

                                                                                                                                                                                To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                + *

                                                                                                                                                                                To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                *
                                                                                                                                                                              • *
                                                                                                                                                                              - *

                                                                                                                                                                              Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                              - *
                                                                                                                                                                                + *

                                                                                                                                                                                Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                + *
                                                                                                                                                                                  *
                                                                                                                                                                                • - *

                                                                                                                                                                                  - * Percentile - *

                                                                                                                                                                                  + *

                                                                                                                                                                                  + * Percentile + *

                                                                                                                                                                                  *
                                                                                                                                                                                • *
                                                                                                                                                                                - *

                                                                                                                                                                                The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                - *
                                                                                                                                                                                  + *

                                                                                                                                                                                  The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + * Guide). To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                  + *
                                                                                                                                                                                    *
                                                                                                                                                                                  • - *

                                                                                                                                                                                    - * {"#P":"Percentile"} - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    + * {"#P":"Percentile"} + *

                                                                                                                                                                                    *
                                                                                                                                                                                  • *
                                                                                                                                                                                  - *

                                                                                                                                                                                  You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                  - *
                                                                                                                                                                                    + *

                                                                                                                                                                                    You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                    + *
                                                                                                                                                                                      *
                                                                                                                                                                                    • - *

                                                                                                                                                                                      - * #P = :val - *

                                                                                                                                                                                      + *

                                                                                                                                                                                      + * #P = :val + *

                                                                                                                                                                                      *
                                                                                                                                                                                    • *
                                                                                                                                                                                    - * - *

                                                                                                                                                                                    Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                    - *
                                                                                                                                                                                    - *

                                                                                                                                                                                    For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer + * + *

                                                                                                                                                                                    Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                    + * + *

                                                                                                                                                                                    For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                    */ ExpressionAttributeNames?: { [key: string]: string }; @@ -7011,8 +7267,8 @@ export namespace GetItemInput { */ export interface GetItemOutput { /** - *

                                                                                                                                                                                    A map of attribute names to AttributeValue objects, as specified - * by ProjectionExpression.

                                                                                                                                                                                    + *

                                                                                                                                                                                    A map of attribute names to AttributeValue objects, as specified by + * ProjectionExpression.

                                                                                                                                                                                    */ Item?: { [key: string]: AttributeValue }; @@ -7047,18 +7303,25 @@ export namespace GetItemOutput { /** *

                                                                                                                                                                                    Information about item collections, if any, that were affected by the operation. - * ItemCollectionMetrics is only returned if the request asked for it. If the - * table does not have any local secondary indexes, this information is not returned in the response.

                                                                                                                                                                                    + * ItemCollectionMetrics is only returned if the request asked for it. If + * the table does not have any local secondary indexes, this information is not returned in + * the response.

                                                                                                                                                                                    */ export interface ItemCollectionMetrics { /** - *

                                                                                                                                                                                    The partition key value of the item collection. This value is the same as the partition key value of the item.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The partition key value of the item collection. This value is the same as the + * partition key value of the item.

                                                                                                                                                                                    */ ItemCollectionKey?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                    An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                                                                                                                                                                    - *

                                                                                                                                                                                    The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

                                                                                                                                                                                    + *

                                                                                                                                                                                    An estimate of item collection size, in gigabytes. This value is a two-element array + * containing a lower bound and an upper bound for the estimate. The estimate includes the + * size of all the items in the table, plus the size of all attributes projected into all + * of the local secondary indexes on that table. Use this estimate to measure whether a + * local secondary index is approaching its size limit.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The estimate is subject to change over time; therefore, do not rely on the precision + * or accuracy of the estimate.

                                                                                                                                                                                    */ SizeEstimateRangeGB?: number[]; } @@ -7110,22 +7373,16 @@ export namespace ItemResponse { } /** - *

                                                                                                                                                                                    - * Represents a PartiQL statment that uses parameters. - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    Represents a PartiQL statment that uses parameters.

                                                                                                                                                                                    */ export interface ParameterizedStatement { /** - *

                                                                                                                                                                                    - * A PartiQL statment that uses parameters. - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    A PartiQL statment that uses parameters.

                                                                                                                                                                                    */ Statement: string | undefined; /** - *

                                                                                                                                                                                    - * The parameter values. - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    The parameter values.

                                                                                                                                                                                    */ Parameters?: AttributeValue[]; } @@ -7145,11 +7402,11 @@ export namespace ParameterizedStatement { */ export interface PutRequest { /** - *

                                                                                                                                                                                    A map of attribute name to attribute values, representing the primary key of an item to - * be processed by PutItem. All of the table's primary key attributes must be - * specified, and their data types must match those of the table's key schema. If any - * attributes are present in the item that are part of an index key schema for the table, - * their types must match the index key schema.

                                                                                                                                                                                    + *

                                                                                                                                                                                    A map of attribute name to attribute values, representing the primary key of an item + * to be processed by PutItem. All of the table's primary key attributes must + * be specified, and their data types must match those of the table's key schema. If any + * attributes are present in the item that are part of an index key schema for the table, + * their types must match the index key schema.

                                                                                                                                                                                    */ Item: { [key: string]: AttributeValue } | undefined; } @@ -7174,16 +7431,16 @@ export namespace PutRequest { export interface ExecuteStatementOutput { /** - *

                                                                                                                                                                                    - * If a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty. - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    If a read operation was used, this property will contain the result of the read + * operation; a map of attribute names and their values. For the write operations this + * value will be empty.

                                                                                                                                                                                    */ Items?: { [key: string]: AttributeValue }[]; /** - *

                                                                                                                                                                                    - * If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results. - *

                                                                                                                                                                                    + *

                                                                                                                                                                                    If the response of a read request exceeds the response payload limit DynamoDB will set + * this value in the response. If set, you can use that this value in the subsequent + * request to get the remaining results.

                                                                                                                                                                                    */ NextToken?: string; } @@ -7209,79 +7466,97 @@ export namespace ExecuteStatementOutput { } /** - *

                                                                                                                                                                                    Represents a set of primary keys and, for each key, the attributes to retrieve from the table.

                                                                                                                                                                                    - *

                                                                                                                                                                                    For each primary key, you must provide all of the key attributes. For example, with a - * simple primary key, you only need to provide the partition key. For a composite - * primary key, you must provide both the partition key and the sort key.

                                                                                                                                                                                    + *

                                                                                                                                                                                    Represents a set of primary keys and, for each key, the attributes to retrieve from + * the table.

                                                                                                                                                                                    + *

                                                                                                                                                                                    For each primary key, you must provide all of the key attributes. + * For example, with a simple primary key, you only need to provide the partition key. For + * a composite primary key, you must provide both the partition key + * and the sort key.

                                                                                                                                                                                    */ export interface KeysAndAttributes { /** - *

                                                                                                                                                                                    The primary key attribute values that define the items and the attributes associated with the items.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The primary key attribute values that define the items and the attributes associated + * with the items.

                                                                                                                                                                                    */ Keys: { [key: string]: AttributeValue }[] | undefined; /** - *

                                                                                                                                                                                    This is a legacy parameter. Use ProjectionExpression instead. For more information, see - * Legacy Conditional Parameters in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                    + *

                                                                                                                                                                                    This is a legacy parameter. Use ProjectionExpression instead. For more + * information, see Legacy + * Conditional Parameters in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                    */ AttributesToGet?: string[]; /** - *

                                                                                                                                                                                    The consistency of a read operation. If set to true, then a strongly consistent - * read is used; otherwise, an eventually consistent read is used.

                                                                                                                                                                                    + *

                                                                                                                                                                                    The consistency of a read operation. If set to true, then a strongly + * consistent read is used; otherwise, an eventually consistent read is used.

                                                                                                                                                                                    */ ConsistentRead?: boolean; /** - *

                                                                                                                                                                                    A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, - * sets, or elements of a JSON document. The attributes in the ProjectionExpression must be separated by - * commas.

                                                                                                                                                                                    - *

                                                                                                                                                                                    If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

                                                                                                                                                                                    - *

                                                                                                                                                                                    For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                    + *

                                                                                                                                                                                    A string that identifies one or more attributes to retrieve from the table. These + * attributes can include scalars, sets, or elements of a JSON document. The attributes in + * the ProjectionExpression must be separated by commas.

                                                                                                                                                                                    + *

                                                                                                                                                                                    If no attribute names are specified, then all attributes will be returned. If any of + * the requested attributes are not found, they will not appear in the result.

                                                                                                                                                                                    + *

                                                                                                                                                                                    For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                    */ ProjectionExpression?: string; /** - *

                                                                                                                                                                                    One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                    - *
                                                                                                                                                                                      + *

                                                                                                                                                                                      One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                      + *
                                                                                                                                                                                        *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                        + *

                                                                                                                                                                                        To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                        + *

                                                                                                                                                                                        To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      • - *

                                                                                                                                                                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                        + *

                                                                                                                                                                                        To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                        *
                                                                                                                                                                                      • *
                                                                                                                                                                                      - *

                                                                                                                                                                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                      - *
                                                                                                                                                                                        + *

                                                                                                                                                                                        Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                        + *
                                                                                                                                                                                          *
                                                                                                                                                                                        • - *

                                                                                                                                                                                          - * Percentile - *

                                                                                                                                                                                          + *

                                                                                                                                                                                          + * Percentile + *

                                                                                                                                                                                          *
                                                                                                                                                                                        • *
                                                                                                                                                                                        - *

                                                                                                                                                                                        The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                        - *
                                                                                                                                                                                          + *

                                                                                                                                                                                          The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + * Guide). To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                          + *
                                                                                                                                                                                            *
                                                                                                                                                                                          • - *

                                                                                                                                                                                            - * {"#P":"Percentile"} - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            + * {"#P":"Percentile"} + *

                                                                                                                                                                                            *
                                                                                                                                                                                          • *
                                                                                                                                                                                          - *

                                                                                                                                                                                          You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                          - *
                                                                                                                                                                                            + *

                                                                                                                                                                                            You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                            + *
                                                                                                                                                                                              *
                                                                                                                                                                                            • - *

                                                                                                                                                                                              - * #P = :val - *

                                                                                                                                                                                              + *

                                                                                                                                                                                              + * #P = :val + *

                                                                                                                                                                                              *
                                                                                                                                                                                            • *
                                                                                                                                                                                            - * - *

                                                                                                                                                                                            Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                            - *
                                                                                                                                                                                            - *

                                                                                                                                                                                            For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                            + * + *

                                                                                                                                                                                            Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                            + *
                                                                                                                                                                                            + *

                                                                                                                                                                                            For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                            */ ExpressionAttributeNames?: { [key: string]: string }; } @@ -7311,9 +7586,9 @@ export namespace KeysAndAttributes { */ export interface TransactGetItem { /** - *

                                                                                                                                                                                            Contains the primary key that identifies the item to get, together - * with the name of the table that contains the item, and optionally - * the specific attributes of the item to retrieve.

                                                                                                                                                                                            + *

                                                                                                                                                                                            Contains the primary key that identifies the item to get, together with the name of + * the table that contains the item, and optionally the specific attributes of the item to + * retrieve.

                                                                                                                                                                                            */ Get: Get | undefined; } @@ -7330,9 +7605,7 @@ export namespace TransactGetItem { export interface BatchExecuteStatementInput { /** - *

                                                                                                                                                                                            - * The list of PartiQL statements representing the batch to run. - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            The list of PartiQL statements representing the batch to run.

                                                                                                                                                                                            */ Statements: BatchStatementRequest[] | undefined; } @@ -7349,9 +7622,7 @@ export namespace BatchExecuteStatementInput { export interface BatchExecuteStatementOutput { /** - *

                                                                                                                                                                                            - * The response to each PartiQL statement in the batch. - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            The response to each PartiQL statement in the batch.

                                                                                                                                                                                            */ Responses?: BatchStatementResponse[]; } @@ -7368,16 +7639,13 @@ export namespace BatchExecuteStatementOutput { export interface ExecuteTransactionInput { /** - *

                                                                                                                                                                                            - * The list of PartiQL statements representing the transaction to run. - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            The list of PartiQL statements representing the transaction to run.

                                                                                                                                                                                            */ TransactStatements: ParameterizedStatement[] | undefined; /** - *

                                                                                                                                                                                            - * Set this value to get remaining results, if NextToken was returned in the statement response. - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            Set this value to get remaining results, if NextToken was returned in the + * statement response.

                                                                                                                                                                                            */ ClientRequestToken?: string; } @@ -7396,9 +7664,7 @@ export namespace ExecuteTransactionInput { export interface ExecuteTransactionOutput { /** - *

                                                                                                                                                                                            - * The response to a PartiQL transaction. - *

                                                                                                                                                                                            + *

                                                                                                                                                                                            The response to a PartiQL transaction.

                                                                                                                                                                                            */ Responses?: ItemResponse[]; } @@ -7415,23 +7681,23 @@ export namespace ExecuteTransactionOutput { export interface TransactGetItemsOutput { /** - *

                                                                                                                                                                                            If the ReturnConsumedCapacity value was TOTAL, - * this is an array of ConsumedCapacity objects, one for each table - * addressed by TransactGetItem objects in the TransactItems - * parameter. These ConsumedCapacity objects report the read-capacity - * units consumed by the TransactGetItems call in that table.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If the ReturnConsumedCapacity value was TOTAL, this + * is an array of ConsumedCapacity objects, one for each table addressed by + * TransactGetItem objects in the TransactItems + * parameter. These ConsumedCapacity objects report the read-capacity units + * consumed by the TransactGetItems call in that table.

                                                                                                                                                                                            */ ConsumedCapacity?: ConsumedCapacity[]; /** - *

                                                                                                                                                                                            An ordered array of up to 25 ItemResponse objects, each of which corresponds - * to the TransactGetItem object in the same position in the - * TransactItems array. Each ItemResponse object - * contains a Map of the name-value pairs that are the projected attributes of - * the requested item.

                                                                                                                                                                                            - *

                                                                                                                                                                                            If a requested item could not be retrieved, the corresponding ItemResponse - * object is Null, or if the requested item has no projected attributes, the corresponding - * ItemResponse object is an empty Map.

                                                                                                                                                                                            + *

                                                                                                                                                                                            An ordered array of up to 25 ItemResponse objects, each of which + * corresponds to the TransactGetItem object in the same position in the + * TransactItems array. Each ItemResponse object + * contains a Map of the name-value pairs that are the projected attributes of the + * requested item.

                                                                                                                                                                                            + *

                                                                                                                                                                                            If a requested item could not be retrieved, the corresponding + * ItemResponse object is Null, or if the requested item has no projected + * attributes, the corresponding ItemResponse object is an empty Map.

                                                                                                                                                                                            */ Responses?: ItemResponse[]; } @@ -7448,205 +7714,238 @@ export namespace TransactGetItemsOutput { /** *

                                                                                                                                                                                            The entire transaction request was canceled.

                                                                                                                                                                                            - *

                                                                                                                                                                                            DynamoDB cancels a TransactWriteItems request under the following circumstances:

                                                                                                                                                                                            - *
                                                                                                                                                                                              + *

                                                                                                                                                                                              DynamoDB cancels a TransactWriteItems request under the following + * circumstances:

                                                                                                                                                                                              + *
                                                                                                                                                                                                *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                A condition in one of the condition expressions is not met.

                                                                                                                                                                                                + *

                                                                                                                                                                                                A condition in one of the condition expressions is not met.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                A table in the TransactWriteItems request is in a different account or region.

                                                                                                                                                                                                + *

                                                                                                                                                                                                A table in the TransactWriteItems request is in a different + * account or region.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                More than one action in the TransactWriteItems operation targets the same item.

                                                                                                                                                                                                + *

                                                                                                                                                                                                More than one action in the TransactWriteItems operation + * targets the same item.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                There is insufficient provisioned capacity for the transaction to be completed.

                                                                                                                                                                                                + *

                                                                                                                                                                                                There is insufficient provisioned capacity for the transaction to be + * completed.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                An item size becomes too large (larger than 400 KB), or a local secondary index (LSI) - * becomes too large, or a similar validation error occurs because of changes made by the transaction.

                                                                                                                                                                                                + *

                                                                                                                                                                                                An item size becomes too large (larger than 400 KB), or a local secondary + * index (LSI) becomes too large, or a similar validation error occurs because of + * changes made by the transaction.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              • - *

                                                                                                                                                                                                There is a user error, such as an invalid data format.

                                                                                                                                                                                                + *

                                                                                                                                                                                                There is a user error, such as an invalid data format.

                                                                                                                                                                                                *
                                                                                                                                                                                              • *
                                                                                                                                                                                              * - *

                                                                                                                                                                                              DynamoDB cancels a TransactGetItems request under the following circumstances:

                                                                                                                                                                                              - *
                                                                                                                                                                                                + *

                                                                                                                                                                                                DynamoDB cancels a TransactGetItems request under the + * following circumstances:

                                                                                                                                                                                                + *
                                                                                                                                                                                                  *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  There is an ongoing TransactGetItems operation that conflicts with a concurrent - * PutItem, UpdateItem, DeleteItem or TransactWriteItems request. - * In this case the TransactGetItems operation fails with a TransactionCanceledException.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  There is an ongoing TransactGetItems operation that conflicts + * with a concurrent PutItem, UpdateItem, + * DeleteItem or TransactWriteItems request. In this + * case the TransactGetItems operation fails with a + * TransactionCanceledException.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  A table in the TransactGetItems request is in a different account or region.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  A table in the TransactGetItems request is in a different + * account or region.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  There is insufficient provisioned capacity for the transaction to be completed.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  There is insufficient provisioned capacity for the transaction to be + * completed.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                • - *

                                                                                                                                                                                                  There is a user error, such as an invalid data format.

                                                                                                                                                                                                  + *

                                                                                                                                                                                                  There is a user error, such as an invalid data format.

                                                                                                                                                                                                  *
                                                                                                                                                                                                • *
                                                                                                                                                                                                * - * - *

                                                                                                                                                                                                If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons property. This property is not set for other languages. - * Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have NONE code and Null message.

                                                                                                                                                                                                - *
                                                                                                                                                                                                - *

                                                                                                                                                                                                Cancellation reason codes and possible error messages:

                                                                                                                                                                                                - *
                                                                                                                                                                                                  + * + *

                                                                                                                                                                                                  If using Java, DynamoDB lists the cancellation reasons on the + * CancellationReasons property. This property is not set for other + * languages. Transaction cancellation reasons are ordered in the order of requested + * items, if an item has no error it will have NONE code and + * Null message.

                                                                                                                                                                                                  + *
                                                                                                                                                                                                  + *

                                                                                                                                                                                                  Cancellation reason codes and possible error messages:

                                                                                                                                                                                                  + *
                                                                                                                                                                                                    *
                                                                                                                                                                                                  • - *

                                                                                                                                                                                                    No Errors:

                                                                                                                                                                                                    - *
                                                                                                                                                                                                      + *

                                                                                                                                                                                                      No Errors:

                                                                                                                                                                                                      + *
                                                                                                                                                                                                        *
                                                                                                                                                                                                      • - *

                                                                                                                                                                                                        Code: NONE - *

                                                                                                                                                                                                        - *
                                                                                                                                                                                                      • + *

                                                                                                                                                                                                        Code: NONE + *

                                                                                                                                                                                                        + * *
                                                                                                                                                                                                      • - *

                                                                                                                                                                                                        Message: null - *

                                                                                                                                                                                                        - *
                                                                                                                                                                                                      • + *

                                                                                                                                                                                                        Message: null + *

                                                                                                                                                                                                        + * *
                                                                                                                                                                                                      * *
                                                                                                                                                                                                    • - *

                                                                                                                                                                                                      Conditional Check Failed:

                                                                                                                                                                                                      - *
                                                                                                                                                                                                        + *

                                                                                                                                                                                                        Conditional Check Failed:

                                                                                                                                                                                                        + *
                                                                                                                                                                                                          *
                                                                                                                                                                                                        • - *

                                                                                                                                                                                                          Code: ConditionalCheckFailed - *

                                                                                                                                                                                                          - *
                                                                                                                                                                                                        • + *

                                                                                                                                                                                                          Code: ConditionalCheckFailed + *

                                                                                                                                                                                                          + * *
                                                                                                                                                                                                        • - *

                                                                                                                                                                                                          Message: The conditional request failed.

                                                                                                                                                                                                          - *
                                                                                                                                                                                                        • + *

                                                                                                                                                                                                          Message: The conditional request failed.

                                                                                                                                                                                                          + * *
                                                                                                                                                                                                        * *
                                                                                                                                                                                                      • - *

                                                                                                                                                                                                        Item Collection Size Limit Exceeded:

                                                                                                                                                                                                        - *
                                                                                                                                                                                                          + *

                                                                                                                                                                                                          Item Collection Size Limit Exceeded:

                                                                                                                                                                                                          + *
                                                                                                                                                                                                            *
                                                                                                                                                                                                          • - *

                                                                                                                                                                                                            Code: ItemCollectionSizeLimitExceeded - *

                                                                                                                                                                                                            - *
                                                                                                                                                                                                          • + *

                                                                                                                                                                                                            Code: ItemCollectionSizeLimitExceeded + *

                                                                                                                                                                                                            + * *
                                                                                                                                                                                                          • - *

                                                                                                                                                                                                            Message: Collection size exceeded.

                                                                                                                                                                                                            - *
                                                                                                                                                                                                          • + *

                                                                                                                                                                                                            Message: Collection size exceeded.

                                                                                                                                                                                                            + * *
                                                                                                                                                                                                          * *
                                                                                                                                                                                                        • - *

                                                                                                                                                                                                          Transaction Conflict:

                                                                                                                                                                                                          - *
                                                                                                                                                                                                            + *

                                                                                                                                                                                                            Transaction Conflict:

                                                                                                                                                                                                            + *
                                                                                                                                                                                                              *
                                                                                                                                                                                                            • - *

                                                                                                                                                                                                              Code: TransactionConflict - *

                                                                                                                                                                                                              - *
                                                                                                                                                                                                            • + *

                                                                                                                                                                                                              Code: TransactionConflict + *

                                                                                                                                                                                                              + * *
                                                                                                                                                                                                            • - *

                                                                                                                                                                                                              Message: Transaction is ongoing for the item.

                                                                                                                                                                                                              - *
                                                                                                                                                                                                            • + *

                                                                                                                                                                                                              Message: Transaction is ongoing for the item.

                                                                                                                                                                                                              + * *
                                                                                                                                                                                                            * *
                                                                                                                                                                                                          • - *

                                                                                                                                                                                                            Provisioned Throughput Exceeded:

                                                                                                                                                                                                            - *
                                                                                                                                                                                                              + *

                                                                                                                                                                                                              Provisioned Throughput Exceeded:

                                                                                                                                                                                                              + *
                                                                                                                                                                                                                *
                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                Code: ProvisionedThroughputExceeded - *

                                                                                                                                                                                                                - *
                                                                                                                                                                                                              • + *

                                                                                                                                                                                                                Code: ProvisionedThroughputExceeded + *

                                                                                                                                                                                                                + * *
                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                Messages:

                                                                                                                                                                                                                - *
                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                  Messages:

                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                    *
                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                    The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the - * UpdateTable API.

                                                                                                                                                                                                                    - * - *

                                                                                                                                                                                                                    This Message is received when provisioned throughput is exceeded is on a provisioned DynamoDB table.

                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                  • + *

                                                                                                                                                                                                                    The level of configured provisioned throughput for the + * table was exceeded. Consider increasing your provisioning level + * with the UpdateTable API.

                                                                                                                                                                                                                    + * + *

                                                                                                                                                                                                                    This Message is received when provisioned throughput is + * exceeded is on a provisioned DynamoDB + * table.

                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                    + * *
                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                    The level of configured provisioned throughput for one or more global secondary indexes of the table was exceeded. - * Consider increasing your provisioning level for the under-provisioned global secondary indexes with the UpdateTable API.

                                                                                                                                                                                                                    - * - *

                                                                                                                                                                                                                    This message is returned when provisioned throughput is exceeded is on a provisioned GSI.

                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                  • + *

                                                                                                                                                                                                                    The level of configured provisioned throughput for one or + * more global secondary indexes of the table was exceeded. + * Consider increasing your provisioning level for the + * under-provisioned global secondary indexes with the UpdateTable + * API.

                                                                                                                                                                                                                    + * + *

                                                                                                                                                                                                                    This message is returned when provisioned throughput is + * exceeded is on a provisioned GSI.

                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                    + * *
                                                                                                                                                                                                                  * - * + * *
                                                                                                                                                                                                                *
                                                                                                                                                                                                              • *
                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                Throttling Error:

                                                                                                                                                                                                                - *
                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                  Throttling Error:

                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                    *
                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                    Code: ThrottlingError - *

                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                  • + *

                                                                                                                                                                                                                    Code: ThrottlingError + *

                                                                                                                                                                                                                    + * *
                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                    Messages:

                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Messages:

                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                        *
                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                        Throughput exceeds the current capacity of your table or index. - * DynamoDB is automatically scaling your table or index so please try - * again shortly. If exceptions persist, check if you have a hot key: - * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

                                                                                                                                                                                                                        - * - *

                                                                                                                                                                                                                        This message is returned when writes get throttled on an On-Demand table as DynamoDB is automatically scaling the table.

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                      • + *

                                                                                                                                                                                                                        Throughput exceeds the current capacity of your table or + * index. DynamoDB is automatically scaling your table or + * index so please try again shortly. If exceptions persist, check + * if you have a hot key: + * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

                                                                                                                                                                                                                        + * + *

                                                                                                                                                                                                                        This message is returned when writes get throttled on an + * On-Demand table as DynamoDB is automatically + * scaling the table.

                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                        + * *
                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                        Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so - * please try again shortly.

                                                                                                                                                                                                                        - * - *

                                                                                                                                                                                                                        This message is returned when when writes get throttled on an On-Demand GSI as DynamoDB is automatically scaling the GSI.

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                      • + *

                                                                                                                                                                                                                        Throughput exceeds the current capacity for one or more + * global secondary indexes. DynamoDB is automatically + * scaling your index so please try again shortly.

                                                                                                                                                                                                                        + * + *

                                                                                                                                                                                                                        This message is returned when when writes get throttled on + * an On-Demand GSI as DynamoDB is automatically + * scaling the GSI.

                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                        + * *
                                                                                                                                                                                                                      * - * + * *
                                                                                                                                                                                                                    *
                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                    Validation Error:

                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                      Validation Error:

                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                        *
                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                        Code: ValidationError - *

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                      • + *

                                                                                                                                                                                                                        Code: ValidationError + *

                                                                                                                                                                                                                        + * *
                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                        Messages:

                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          Messages:

                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                            *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            One or more parameter values were invalid.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            One or more parameter values were invalid.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            The update expression attempted to update the secondary index key beyond allowed size limits.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            The update expression attempted to update the secondary + * index key beyond allowed size limits.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            The update expression attempted to update the secondary index key to unsupported type.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            The update expression attempted to update the secondary + * index key to unsupported type.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            An operand in the update expression has an incorrect data type.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            An operand in the update expression has an incorrect data + * type.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            Item size to update has exceeded the maximum allowed size.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            Item size to update has exceeded the maximum allowed + * size.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            Number overflow. Attempting to store a number with magnitude larger than supported range.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            Number overflow. Attempting to store a number with + * magnitude larger than supported range.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            Type mismatch for attribute to update.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            Type mismatch for attribute to update.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            Nesting Levels have exceeded supported limits.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            Nesting Levels have exceeded supported limits.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            The document path provided in the update expression is invalid for update.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            The document path provided in the update expression is + * invalid for update.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                            The provided expression refers to an attribute that does not exist in the item.

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                            The provided expression refers to an attribute that does + * not exist in the item.

                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                          * - * + * *
                                                                                                                                                                                                                        *
                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                      @@ -7678,64 +7977,85 @@ export namespace TransactionCanceledException { */ export interface BatchGetItemInput { /** - *

                                                                                                                                                                                                                      A map of one or more table names and, for each table, a map that describes one or more items to retrieve from that table. Each table name can be used only once per BatchGetItem request.

                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                      Each element in the map of items to retrieve consists of the following:

                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                        A map of one or more table names and, for each table, a map that describes one or more + * items to retrieve from that table. Each table name can be used only once per + * BatchGetItem request.

                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                        Each element in the map of items to retrieve consists of the following:

                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                          *
                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                          - * ConsistentRead - If true, a strongly consistent read is used; if - * false (the default), an eventually consistent read is used.

                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                          + * ConsistentRead - If true, a strongly consistent read + * is used; if false (the default), an eventually consistent read is + * used.

                                                                                                                                                                                                                          *
                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                          - * ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                            + * ExpressionAttributeNames - One or more substitution tokens for + * attribute names in the ProjectionExpression parameter. The + * following are some use cases for using + * ExpressionAttributeNames:

                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                              *
                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                              To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                            • + *

                                                                                                                                                                                                                              To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                                                              + * *
                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                              To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                            • + *

                                                                                                                                                                                                                              To create a placeholder for repeating occurrences of an attribute name + * in an expression.

                                                                                                                                                                                                                              + * *
                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                              To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                            • + *

                                                                                                                                                                                                                              To prevent special characters in an attribute name from being + * misinterpreted in an expression.

                                                                                                                                                                                                                              + * *
                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                            Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                              Use the # character in an expression to + * dereference an attribute name. For example, consider the following attribute + * name:

                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                *
                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                - * Percentile - *

                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                              • + *

                                                                                                                                                                                                                                + * Percentile + *

                                                                                                                                                                                                                                + * *
                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                              The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                The name of this attribute conflicts with a reserved word, so it cannot be + * used directly in an expression. (For the complete list of reserved words, see + * Reserved + * Words in the Amazon DynamoDB Developer Guide). + * To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                  - * {"#P":"Percentile"} - *

                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                • + *

                                                                                                                                                                                                                                  + * {"#P":"Percentile"} + *

                                                                                                                                                                                                                                  + * *
                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  You could then use this substitution in an expression, as in this + * example:

                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                    - * #P = :val - *

                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                  • + *

                                                                                                                                                                                                                                    + * #P = :val + *

                                                                                                                                                                                                                                    + * *
                                                                                                                                                                                                                                  - * - *

                                                                                                                                                                                                                                  Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                  For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB + * + *

                                                                                                                                                                                                                                  Tokens that begin with the : character + * are expression attribute values, which are placeholders + * for the actual value at runtime.

                                                                                                                                                                                                                                  + * + *

                                                                                                                                                                                                                                  For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB * Developer Guide.

                                                                                                                                                                                                                                  * *
                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                  - * Keys - An array of primary key attribute values that define specific items in the - * table. For each primary key, you must provide all of the key attributes. For - * example, with a simple primary key, you only need to provide the partition key value. For a - * composite key, you must provide both the partition key value and the sort key value.

                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  + * Keys - An array of primary key attribute values that define + * specific items in the table. For each primary key, you must provide + * all of the key attributes. For example, with a simple + * primary key, you only need to provide the partition key value. For a composite + * key, you must provide both the partition key value and the + * sort key value.

                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                  @@ -7746,15 +8066,14 @@ export interface BatchGetItemInput { *

                                                                                                                                                                                                                                  If no attribute names are specified, then all attributes are returned. If any * of the requested attributes are not found, they do not appear in the * result.

                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                  For more information, see - * Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  For more information, see Accessing Item Attributes in the Amazon DynamoDB + * Developer Guide.

                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                  - * AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see - * AttributesToGet in the Amazon DynamoDB Developer Guide. - * - *

                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  + * AttributesToGet - This is a legacy parameter. Use + * ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                  * *
                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                @@ -7762,20 +8081,29 @@ export interface BatchGetItemInput { RequestItems: { [key: string]: KeysAndAttributes } | undefined; /** - *

                                                                                                                                                                                                                                Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                  Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                    - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                    - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                    - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                  */ @@ -7802,232 +8130,280 @@ export namespace BatchGetItemInput { /** *

                                                                                                                                                                                                                                  Represents a condition to be compared with an attribute value. This condition can be - * used with DeleteItem, PutItem, or UpdateItem - * operations; if the comparison evaluates to true, the operation succeeds; if not, the - * operation fails. You can use ExpectedAttributeValue in one of two different - * ways:

                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                    + * used with DeleteItem, PutItem, or UpdateItem + * operations; if the comparison evaluates to true, the operation succeeds; if not, the + * operation fails. You can use ExpectedAttributeValue in one of two different + * ways:

                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                      Use AttributeValueList to specify one or more values to compare against an - * attribute. Use ComparisonOperator to specify how you want to perform the - * comparison. If the comparison evaluates to true, then the conditional operation - * succeeds.

                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                      Use AttributeValueList to specify one or more values to compare + * against an attribute. Use ComparisonOperator to specify how you + * want to perform the comparison. If the comparison evaluates to true, then the + * conditional operation succeeds.

                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                      Use Value to specify a value that DynamoDB will compare against an attribute. If the - * values match, then ExpectedAttributeValue evaluates to true and the conditional - * operation succeeds. Optionally, you can also set Exists to false, indicating that - * you do not expect to find the attribute value in the table. In this case, the - * conditional operation succeeds only if the comparison evaluates to false.

                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                      Use Value to specify a value that DynamoDB will compare against + * an attribute. If the values match, then ExpectedAttributeValue + * evaluates to true and the conditional operation succeeds. Optionally, you can + * also set Exists to false, indicating that you do + * not expect to find the attribute value in the table. In this + * case, the conditional operation succeeds only if the comparison evaluates to + * false.

                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    - * Value and Exists are incompatible with AttributeValueList and - * ComparisonOperator. Note that if you use both sets of parameters at once, DynamoDB will - * return a ValidationException exception.

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    + * Value and Exists are incompatible with + * AttributeValueList and ComparisonOperator. Note that if + * you use both sets of parameters at once, DynamoDB will return a + * ValidationException exception.

                                                                                                                                                                                                                                    */ export interface ExpectedAttributeValue { /** *

                                                                                                                                                                                                                                    Represents the data for the expected attribute.

                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                    For more information, see Data Types in the - * Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    Each attribute value is described as a name-value pair. The name is the data type, and + * the value is the data itself.

                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                    For more information, see Data Types in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                    */ Value?: AttributeValue; /** - *

                                                                                                                                                                                                                                    Causes DynamoDB to evaluate the value before attempting a conditional operation:

                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                      Causes DynamoDB to evaluate the value before attempting a conditional + * operation:

                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                        If Exists is true, DynamoDB will check to see if that attribute value - * already exists in the table. If it is found, then the operation succeeds. If it is not - * found, the operation fails with a ConditionCheckFailedException.

                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                        If Exists is true, DynamoDB will check to + * see if that attribute value already exists in the table. If it is found, then + * the operation succeeds. If it is not found, the operation fails with a + * ConditionCheckFailedException.

                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                        If Exists is false, DynamoDB assumes that the attribute value does - * not exist in the table. If in fact the value does not exist, then the assumption - * is valid and the operation succeeds. If the value is found, despite the assumption that it - * does not exist, the operation fails with a ConditionCheckFailedException.

                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                        If Exists is false, DynamoDB assumes that + * the attribute value does not exist in the table. If in fact the value does not + * exist, then the assumption is valid and the operation succeeds. If the value is + * found, despite the assumption that it does not exist, the operation fails with a + * ConditionCheckFailedException.

                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                      The default setting for Exists is true. If you supply a Value all - * by itself, DynamoDB assumes the attribute exists: You don't have to set Exists to - * true, because it is implied.

                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                      DynamoDB returns a ValidationException if:

                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                        The default setting for Exists is true. If you supply a + * Value all by itself, DynamoDB assumes the attribute exists: + * You don't have to set Exists to true, because it is + * implied.

                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                        DynamoDB returns a ValidationException if:

                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * Exists is true but there is no Value to check. (You expect a - * value to exist, but don't specify what that value is.)

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          + * Exists is true but there is no Value to + * check. (You expect a value to exist, but don't specify what that value + * is.)

                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * Exists is false but you also provide a Value. (You cannot - * expect an attribute to have a value, while also expecting it not to exist.)

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          + * Exists is false but you also provide a + * Value. (You cannot expect an attribute to have a value, while + * also expecting it not to exist.)

                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                        */ Exists?: boolean; /** - *

                                                                                                                                                                                                                                        A comparator for evaluating attributes in the AttributeValueList. For example, equals, - * greater than, less than, etc.

                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                        The following comparison operators are available:

                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                        - * EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN - *

                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                        The following are descriptions of each comparison operator.

                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * EQ : Equal. EQ is supported for all data types, including lists and maps.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not equal {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * NE : Not equal. NE is supported for all data types, including lists and maps.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue of type String, - * Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not equal {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * LE : Less than or equal.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * LT : Less than.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * GE : Greater than or equal.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * GT : Greater than.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If an item contains an AttributeValue element of a different - * type than the one provided in the request, the value does not match. For example, - * {"S":"6"} does not equal {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * NOT_NULL : The attribute exists. NOT_NULL is supported for all data types, including lists and maps.

                                                                                                                                                                                                                                          - * - *

                                                                                                                                                                                                                                          This operator tests for the existence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NOT_NULL, the result is a Boolean true. This result is because the attribute "a" exists; its data type is not relevant to the NOT_NULL comparison operator.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * NULL : The attribute does not exist. NULL is supported for all data types, including lists and maps.

                                                                                                                                                                                                                                          - * - *

                                                                                                                                                                                                                                          This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute "a" is null, and you evaluate it using NULL, the result is a Boolean false. This is because the attribute "a" exists; its data type is not relevant to the NULL comparison operator.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * CONTAINS : Checks for a subsequence, or value in a set.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then - * the operator checks for a substring match. If the target attribute of the comparison is - * of type Binary, then the operator looks for a subsequence of the target that matches the input. - * If the target attribute of the comparison is a set ("SS", "NS", or "BS"), then the - * operator evaluates to true if it finds an exact match with any member of the set.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          CONTAINS is supported for lists: When evaluating "a CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * NOT_CONTAINS : Checks for absence of a subsequence, or absence of a value in - * a set.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue element of type String, - * Number, or Binary (not a set type). If the target attribute of the comparison is a String, then - * the operator checks for the absence of a substring match. If the target attribute of the - * comparison is Binary, then the operator checks for the absence of a subsequence of the - * target that matches the input. If the target attribute of the comparison is a set ("SS", - * "NS", or "BS"), then the operator evaluates to true if it does not find an exact match with any member of the set.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS b", "a" can be a list; however, "b" cannot be a set, a map, or a list.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * BEGINS_WITH : Checks for a prefix.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain only one AttributeValue of type String or - * Binary (not a Number or a set type). The target attribute of the comparison must be of type String or - * Binary (not a Number or a set type).

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * IN : Checks for matching elements in a list.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList can contain one or more AttributeValue - * elements of type String, Number, or Binary. These attributes are compared against an - * existing attribute of an item. If any elements of the input are equal to the item - * attribute, the expression evaluates to true.

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                        • - *
                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                          - * BETWEEN : Greater than or equal to the first value, and less than or equal - * to the second value.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          - * AttributeValueList must contain two AttributeValue elements of the same - * type, either String, Number, or Binary (not a set type). A target attribute matches if the - * target value is greater than, or equal to, the first element and less than, or equal to, - * the second element. If an item contains an AttributeValue element of a different type than - * the one provided in the request, the value does not match. For example, - * {"S":"6"} does not compare to {"N":"6"}. Also, - * {"N":"6"} does not compare to {"NS":["6", "2", "1"]} - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A comparator for evaluating attributes in the AttributeValueList. For + * example, equals, greater than, less than, etc.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          The following comparison operators are available:

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          + * EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | + * BEGINS_WITH | IN | BETWEEN + *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          The following are descriptions of each comparison operator.

                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * EQ : Equal. EQ is supported for all data types, + * including lists and maps.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, Binary, String Set, Number Set, or Binary Set. + * If an item contains an AttributeValue element of a different type + * than the one provided in the request, the value does not match. For example, + * {"S":"6"} does not equal {"N":"6"}. Also, + * {"N":"6"} does not equal {"NS":["6", "2", + * "1"]}.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * NE : Not equal. NE is supported for all data types, + * including lists and maps.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * of type String, Number, Binary, String Set, Number Set, or Binary Set. If an + * item contains an AttributeValue of a different type than the one + * provided in the request, the value does not match. For example, + * {"S":"6"} does not equal {"N":"6"}. Also, + * {"N":"6"} does not equal {"NS":["6", "2", + * "1"]}.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * LE : Less than or equal.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If an item contains + * an AttributeValue element of a different type than the one provided + * in the request, the value does not match. For example, {"S":"6"} + * does not equal {"N":"6"}. Also, {"N":"6"} does not + * compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * LT : Less than.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * of type String, Number, or Binary (not a set type). If an item contains an + * AttributeValue element of a different type than the one + * provided in the request, the value does not match. For example, + * {"S":"6"} does not equal {"N":"6"}. Also, + * {"N":"6"} does not compare to {"NS":["6", "2", + * "1"]}.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * GE : Greater than or equal.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If an item contains + * an AttributeValue element of a different type than the one provided + * in the request, the value does not match. For example, {"S":"6"} + * does not equal {"N":"6"}. Also, {"N":"6"} does not + * compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * GT : Greater than.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If an item contains + * an AttributeValue element of a different type than the one provided + * in the request, the value does not match. For example, {"S":"6"} + * does not equal {"N":"6"}. Also, {"N":"6"} does not + * compare to {"NS":["6", "2", "1"]}.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * NOT_NULL : The attribute exists. NOT_NULL is supported + * for all data types, including lists and maps.

                                                                                                                                                                                                                                            + * + *

                                                                                                                                                                                                                                            This operator tests for the existence of an attribute, not its data type. + * If the data type of attribute "a" is null, and you evaluate it + * using NOT_NULL, the result is a Boolean true. This + * result is because the attribute "a" exists; its data type is + * not relevant to the NOT_NULL comparison operator.

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * NULL : The attribute does not exist. NULL is supported + * for all data types, including lists and maps.

                                                                                                                                                                                                                                            + * + *

                                                                                                                                                                                                                                            This operator tests for the nonexistence of an attribute, not its data + * type. If the data type of attribute "a" is null, and you + * evaluate it using NULL, the result is a Boolean + * false. This is because the attribute "a" + * exists; its data type is not relevant to the NULL comparison + * operator.

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * CONTAINS : Checks for a subsequence, or value in a set.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If the target + * attribute of the comparison is of type String, then the operator checks for a + * substring match. If the target attribute of the comparison is of type Binary, + * then the operator looks for a subsequence of the target that matches the input. + * If the target attribute of the comparison is a set ("SS", + * "NS", or "BS"), then the operator evaluates to + * true if it finds an exact match with any member of the set.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            CONTAINS is supported for lists: When evaluating "a CONTAINS b", + * "a" can be a list; however, "b" cannot be a set, a + * map, or a list.

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * NOT_CONTAINS : Checks for absence of a subsequence, or absence of a + * value in a set.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * element of type String, Number, or Binary (not a set type). If the target + * attribute of the comparison is a String, then the operator checks for the + * absence of a substring match. If the target attribute of the comparison is + * Binary, then the operator checks for the absence of a subsequence of the target + * that matches the input. If the target attribute of the comparison is a set + * ("SS", "NS", or "BS"), then the + * operator evaluates to true if it does not find an exact + * match with any member of the set.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            NOT_CONTAINS is supported for lists: When evaluating "a NOT CONTAINS + * b", "a" can be a list; however, "b" cannot + * be a set, a map, or a list.

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * BEGINS_WITH : Checks for a prefix.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain only one AttributeValue + * of type String or Binary (not a Number or a set type). The target attribute of + * the comparison must be of type String or Binary (not a Number or a set + * type).

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * IN : Checks for matching elements in a list.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList can contain one or more + * AttributeValue elements of type String, Number, or Binary. + * These attributes are compared against an existing attribute of an item. If any + * elements of the input are equal to the item attribute, the expression evaluates + * to true.

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                            + * BETWEEN : Greater than or equal to the first value, and less than + * or equal to the second value.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            + * AttributeValueList must contain two AttributeValue + * elements of the same type, either String, Number, or Binary (not a set type). A + * target attribute matches if the target value is greater than, or equal to, the + * first element and less than, or equal to, the second element. If an item + * contains an AttributeValue element of a different type than the one + * provided in the request, the value does not match. For example, + * {"S":"6"} does not compare to {"N":"6"}. Also, + * {"N":"6"} does not compare to {"NS":["6", "2", + * "1"]} + *

                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                          */ ComparisonOperator?: ComparisonOperator | string; /** - *

                                                                                                                                                                                                                                          One or more values to evaluate against the supplied attribute. The number of values in the - * list depends on the ComparisonOperator being used.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          For type Number, value comparisons are numeric.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          String value comparisons for greater than, equals, or less than are based on ASCII character - * code values. For example, a is greater than A, and a - * is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          For information on specifying data types in JSON, see JSON Data Format in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          One or more values to evaluate against the supplied attribute. The number of values in + * the list depends on the ComparisonOperator being used.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          For type Number, value comparisons are numeric.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          String value comparisons for greater than, equals, or less than are based on ASCII + * character code values. For example, a is greater than A, and + * a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          For Binary, DynamoDB treats each byte of the binary data as unsigned when it + * compares binary values.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          For information on specifying data types in JSON, see JSON Data Format + * in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                          */ AttributeValueList?: AttributeValue[]; } @@ -8047,15 +8423,15 @@ export namespace ExpectedAttributeValue { export interface TransactGetItemsInput { /** - *

                                                                                                                                                                                                                                          An ordered array of up to 25 TransactGetItem objects, - * each of which contains a Get structure.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          An ordered array of up to 25 TransactGetItem objects, each of which + * contains a Get structure.

                                                                                                                                                                                                                                          */ TransactItems: TransactGetItem[] | undefined; /** - *

                                                                                                                                                                                                                                          A value of TOTAL causes consumed capacity information - * to be returned, and a value of NONE prevents that information - * from being returned. No other value is valid.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A value of TOTAL causes consumed capacity information to be returned, and + * a value of NONE prevents that information from being returned. No other + * value is valid.

                                                                                                                                                                                                                                          */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; } @@ -8074,10 +8450,9 @@ export namespace TransactGetItemsInput { export interface TransactWriteItemsOutput { /** - *

                                                                                                                                                                                                                                          The capacity units consumed by the entire TransactWriteItems - * operation. The values of the list are ordered according to - * the ordering of the TransactItems request parameter. - *

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          The capacity units consumed by the entire TransactWriteItems operation. + * The values of the list are ordered according to the ordering of the + * TransactItems request parameter.

                                                                                                                                                                                                                                          */ ConsumedCapacity?: ConsumedCapacity[]; @@ -8109,13 +8484,13 @@ export namespace TransactWriteItemsOutput { } /** - *

                                                                                                                                                                                                                                          Represents a request to perform a check that an item exists or to check the condition of - * specific attributes of the item.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          Represents a request to perform a check that an item exists or to check the condition + * of specific attributes of the item.

                                                                                                                                                                                                                                          */ export interface ConditionCheck { /** - *

                                                                                                                                                                                                                                          The primary key of the item to be checked. Each element consists of an - * attribute name and a value for that attribute.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          The primary key of the item to be checked. Each element consists of an attribute name + * and a value for that attribute.

                                                                                                                                                                                                                                          */ Key: { [key: string]: AttributeValue } | undefined; @@ -8125,7 +8500,8 @@ export interface ConditionCheck { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional update to succeed.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional update to + * succeed.

                                                                                                                                                                                                                                          */ ConditionExpression: string | undefined; @@ -8140,10 +8516,10 @@ export interface ConditionCheck { ExpressionAttributeValues?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to - * get the item attributes if the ConditionCheck condition fails. - * For ReturnValuesOnConditionCheckFailure, the valid - * values are: NONE and ALL_OLD.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to get the item attributes if the + * ConditionCheck condition fails. For + * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and + * ALL_OLD.

                                                                                                                                                                                                                                          */ ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | string; } @@ -8180,8 +8556,8 @@ export namespace ConditionCheck { */ export interface Delete { /** - *

                                                                                                                                                                                                                                          The primary key of the item to be deleted. Each element consists of an - * attribute name and a value for that attribute.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          The primary key of the item to be deleted. Each element consists of an attribute name + * and a value for that attribute.

                                                                                                                                                                                                                                          */ Key: { [key: string]: AttributeValue } | undefined; @@ -8191,7 +8567,8 @@ export interface Delete { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional delete to succeed.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional delete to + * succeed.

                                                                                                                                                                                                                                          */ ConditionExpression?: string; @@ -8206,10 +8583,10 @@ export interface Delete { ExpressionAttributeValues?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to - * get the item attributes if the Delete condition fails. - * For ReturnValuesOnConditionCheckFailure, the valid - * values are: NONE and ALL_OLD.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to get the item attributes if the + * Delete condition fails. For + * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and + * ALL_OLD.

                                                                                                                                                                                                                                          */ ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | string; } @@ -8246,11 +8623,11 @@ export namespace Delete { */ export interface Put { /** - *

                                                                                                                                                                                                                                          A map of attribute name to attribute values, representing the primary key - * of the item to be written by PutItem. All of the table's primary key - * attributes must be specified, and their data types must match those of the table's - * key schema. If any attributes are present in the item that are part of an index - * key schema for the table, their types must match the index key schema.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A map of attribute name to attribute values, representing the primary key of the item + * to be written by PutItem. All of the table's primary key attributes must be + * specified, and their data types must match those of the table's key schema. If any + * attributes are present in the item that are part of an index key schema for the table, + * their types must match the index key schema.

                                                                                                                                                                                                                                          */ Item: { [key: string]: AttributeValue } | undefined; @@ -8260,7 +8637,8 @@ export interface Put { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional update to succeed.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional update to + * succeed.

                                                                                                                                                                                                                                          */ ConditionExpression?: string; @@ -8275,10 +8653,10 @@ export interface Put { ExpressionAttributeValues?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to - * get the item attributes if the Put condition fails. - * For ReturnValuesOnConditionCheckFailure, the valid - * values are: NONE and ALL_OLD.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to get the item attributes if the + * Put condition fails. For + * ReturnValuesOnConditionCheckFailure, the valid values are: NONE and + * ALL_OLD.

                                                                                                                                                                                                                                          */ ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | string; } @@ -8315,14 +8693,14 @@ export namespace Put { */ export interface Update { /** - *

                                                                                                                                                                                                                                          The primary key of the item to be updated. Each element consists of - * an attribute name and a value for that attribute.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          The primary key of the item to be updated. Each element consists of an attribute name + * and a value for that attribute.

                                                                                                                                                                                                                                          */ Key: { [key: string]: AttributeValue } | undefined; /** - *

                                                                                                                                                                                                                                          An expression that defines one or more attributes to be updated, - * the action to be performed on them, and new value(s) for them.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          An expression that defines one or more attributes to be updated, the action to be + * performed on them, and new value(s) for them.

                                                                                                                                                                                                                                          */ UpdateExpression: string | undefined; @@ -8333,7 +8711,7 @@ export interface Update { /** *

                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional update to - * succeed.

                                                                                                                                                                                                                                          + * succeed.

                                                                                                                                                                                                                                          */ ConditionExpression?: string; @@ -8348,10 +8726,10 @@ export interface Update { ExpressionAttributeValues?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to - * get the item attributes if the Update condition fails. - * For ReturnValuesOnConditionCheckFailure, the valid - * values are: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          Use ReturnValuesOnConditionCheckFailure to get the item attributes if the + * Update condition fails. For + * ReturnValuesOnConditionCheckFailure, the valid values are: NONE, + * ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.

                                                                                                                                                                                                                                          */ ReturnValuesOnConditionCheckFailure?: ReturnValuesOnConditionCheckFailure | string; } @@ -8388,9 +8766,10 @@ export namespace Update { */ export interface DeleteItemOutput { /** - *

                                                                                                                                                                                                                                          A map of attribute names to AttributeValue objects, representing the item as it - * appeared before the DeleteItem operation. This map appears in the response only if - * ReturnValues was specified as ALL_OLD in the request.

                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                          A map of attribute names to AttributeValue objects, representing the item + * as it appeared before the DeleteItem operation. This map appears in the + * response only if ReturnValues was specified as ALL_OLD in the + * request.

                                                                                                                                                                                                                                          */ Attributes?: { [key: string]: AttributeValue }; @@ -8406,29 +8785,27 @@ export interface DeleteItemOutput { /** *

                                                                                                                                                                                                                                          Information about item collections, if any, that were affected by the - * DeleteItem operation. - * ItemCollectionMetrics is only returned if the - * ReturnItemCollectionMetrics parameter was specified. If the + * DeleteItem operation. ItemCollectionMetrics is only + * returned if the ReturnItemCollectionMetrics parameter was specified. If the * table does not have any local secondary indexes, this information is not returned in the * response.

                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                          Each ItemCollectionMetrics - * element consists of:

                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            Each ItemCollectionMetrics element consists of:

                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                              - * ItemCollectionKey - The partition key value of the item - * collection. This is the same as the partition key value of the item itself.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              + * ItemCollectionKey - The partition key value of the item collection. + * This is the same as the partition key value of the item itself.

                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                              - * SizeEstimateRangeGB - An estimate of item collection size, - * in gigabytes. This value is a two-element array - * containing a lower bound and an upper bound for the - * estimate. The estimate includes the size of all the - * items in the table, plus the size of all attributes - * projected into all of the local secondary indexes on that - * table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              + * SizeEstimateRangeGB - An estimate of item collection size, in + * gigabytes. This value is a two-element array containing a lower bound and an + * upper bound for the estimate. The estimate includes the size of all the items in + * the table, plus the size of all attributes projected into all of the local + * secondary indexes on that table. Use this estimate to measure whether a local + * secondary index is approaching its size limit.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              The estimate is subject to change over time; therefore, do not rely on the + * precision or accuracy of the estimate.

                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                            */ @@ -8461,9 +8838,9 @@ export namespace DeleteItemOutput { */ export interface PutItemOutput { /** - *

                                                                                                                                                                                                                                            The attribute values as they appeared before the PutItem operation, but only if - * ReturnValues is specified as ALL_OLD in the request. Each element - * consists of an attribute name and an attribute value.

                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                            The attribute values as they appeared before the PutItem operation, but + * only if ReturnValues is specified as ALL_OLD in the request. + * Each element consists of an attribute name and an attribute value.

                                                                                                                                                                                                                                            */ Attributes?: { [key: string]: AttributeValue }; @@ -8479,27 +8856,27 @@ export interface PutItemOutput { /** *

                                                                                                                                                                                                                                            Information about item collections, if any, that were affected by the - * PutItem operation. ItemCollectionMetrics - * is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table does not have any local - * secondary indexes, this information is not returned in the response.

                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                            Each ItemCollectionMetrics - * element consists of:

                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                              - * ItemCollectionKey - The partition key value of the item - * collection. This is the same as the partition key value of the item itself.

                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                            • - *
                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                              - * SizeEstimateRangeGB - An estimate of item collection size, - * in gigabytes. This value is a two-element array - * containing a lower bound and an upper bound for the - * estimate. The estimate includes the size of all the - * items in the table, plus the size of all attributes - * projected into all of the local secondary indexes on that - * table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

                                                                                                                                                                                                                                              + * PutItem operation. ItemCollectionMetrics is only returned + * if the ReturnItemCollectionMetrics parameter was specified. If the table + * does not have any local secondary indexes, this information is not returned in the + * response.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              Each ItemCollectionMetrics element consists of:

                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                              • + *

                                                                                                                                                                                                                                                + * ItemCollectionKey - The partition key value of the item collection. + * This is the same as the partition key value of the item itself.

                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                              • + *
                                                                                                                                                                                                                                              • + *

                                                                                                                                                                                                                                                + * SizeEstimateRangeGB - An estimate of item collection size, in + * gigabytes. This value is a two-element array containing a lower bound and an + * upper bound for the estimate. The estimate includes the size of all the items in + * the table, plus the size of all attributes projected into all of the local + * secondary indexes on that table. Use this estimate to measure whether a local + * secondary index is approaching its size limit.

                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                The estimate is subject to change over time; therefore, do not rely on the + * precision or accuracy of the estimate.

                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                              */ @@ -8532,34 +8909,41 @@ export namespace PutItemOutput { */ export interface QueryOutput { /** - *

                                                                                                                                                                                                                                              An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              An array of item attributes that match the query criteria. Each element in this array + * consists of an attribute name and the value for that attribute.

                                                                                                                                                                                                                                              */ Items?: { [key: string]: AttributeValue }[]; /** *

                                                                                                                                                                                                                                              The number of items in the response.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If you used a QueryFilter in the request, then Count is the number of items - * returned after the filter was applied, and ScannedCount is the number of - * matching items before the filter was applied.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then Count and ScannedCount are the - * same.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If you used a QueryFilter in the request, then Count is the + * number of items returned after the filter was applied, and ScannedCount is + * the number of matching items before the filter was applied.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then Count and + * ScannedCount are the same.

                                                                                                                                                                                                                                              */ Count?: number; /** *

                                                                                                                                                                                                                                              The number of items evaluated, before any QueryFilter is applied. A high - * ScannedCount value with few, or no, Count results indicates an inefficient - * Query operation. For more information, see Count and ScannedCount in the - * Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then ScannedCount is the same as - * Count.

                                                                                                                                                                                                                                              + * ScannedCount value with few, or no, Count results + * indicates an inefficient Query operation. For more information, see Count and + * ScannedCount in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then ScannedCount is the same + * as Count.

                                                                                                                                                                                                                                              */ ScannedCount?: number; /** - *

                                                                                                                                                                                                                                              The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If LastEvaluatedKey is empty, then the "last page" of results has been processed and there is no more data to be retrieved.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If LastEvaluatedKey is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey is empty.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              The primary key of the item where the operation stopped, inclusive of the previous + * result set. Use this value to start a new operation, excluding this value in the new + * request.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If LastEvaluatedKey is empty, then the "last page" of results has been + * processed and there is no more data to be retrieved.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If LastEvaluatedKey is not empty, it does not necessarily mean that there + * is more data in the result set. The only way to know when you have reached the end of + * the result set is when LastEvaluatedKey is empty.

                                                                                                                                                                                                                                              */ LastEvaluatedKey?: { [key: string]: AttributeValue }; @@ -8608,27 +8992,29 @@ export namespace QueryOutput { */ export interface ScanOutput { /** - *

                                                                                                                                                                                                                                              An array of item attributes that match the scan criteria. Each element in this array consists of an attribute name and the value for that attribute.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              An array of item attributes that match the scan criteria. Each element in this array + * consists of an attribute name and the value for that attribute.

                                                                                                                                                                                                                                              */ Items?: { [key: string]: AttributeValue }[]; /** *

                                                                                                                                                                                                                                              The number of items in the response.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If you set ScanFilter in the request, then Count is the number of items - * returned after the filter was applied, and ScannedCount is the number of matching items - * before the filter was applied.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then Count is the same as - * ScannedCount.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If you set ScanFilter in the request, then Count is the + * number of items returned after the filter was applied, and ScannedCount is + * the number of matching items before the filter was applied.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then Count is the same as + * ScannedCount.

                                                                                                                                                                                                                                              */ Count?: number; /** *

                                                                                                                                                                                                                                              The number of items evaluated, before any ScanFilter is applied. A high - * ScannedCount value with few, or no, Count results indicates an inefficient - * Scan operation. For more information, see Count and ScannedCount in the - * Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then ScannedCount is the same as - * Count.

                                                                                                                                                                                                                                              + * ScannedCount value with few, or no, Count results + * indicates an inefficient Scan operation. For more information, see Count and + * ScannedCount in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If you did not use a filter in the request, then ScannedCount is the same + * as Count.

                                                                                                                                                                                                                                              */ ScannedCount?: number; @@ -8636,21 +9022,21 @@ export interface ScanOutput { *

                                                                                                                                                                                                                                              The primary key of the item where the operation stopped, inclusive of the previous * result set. Use this value to start a new operation, excluding this value in the new * request.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If LastEvaluatedKey is empty, then the "last page" of results - * has been processed and there is no more data to be retrieved.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              If LastEvaluatedKey is not empty, it does not necessarily mean - * that there is more data in the result set. The only way to know when you have reached - * the end of the result set is when LastEvaluatedKey is - * empty.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If LastEvaluatedKey is empty, then the "last page" of results has been + * processed and there is no more data to be retrieved.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              If LastEvaluatedKey is not empty, it does not necessarily mean that there + * is more data in the result set. The only way to know when you have reached the end of + * the result set is when LastEvaluatedKey is empty.

                                                                                                                                                                                                                                              */ LastEvaluatedKey?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                              The capacity units consumed by the Scan operation. The data returned includes the total - * provisioned throughput consumed, along with statistics for the table and any indexes involved - * in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. - * For more information, see Provisioned - * Throughput in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              The capacity units consumed by the Scan operation. The data returned + * includes the total provisioned throughput consumed, along with statistics for the table + * and any indexes involved in the operation. ConsumedCapacity is only + * returned if the ReturnConsumedCapacity parameter was specified. For more + * information, see Provisioned Throughput in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                              */ ConsumedCapacity?: ConsumedCapacity; } @@ -8698,38 +9084,38 @@ export interface UpdateItemOutput { Attributes?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                              The capacity units consumed by the UpdateItem operation. The data returned includes the total - * provisioned throughput consumed, along with statistics for the table and any indexes involved - * in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified. - * For more information, see Provisioned - * Throughput in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              The capacity units consumed by the UpdateItem operation. The data + * returned includes the total provisioned throughput consumed, along with statistics for + * the table and any indexes involved in the operation. ConsumedCapacity is + * only returned if the ReturnConsumedCapacity parameter was specified. For + * more information, see Provisioned Throughput in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                              */ ConsumedCapacity?: ConsumedCapacity; /** *

                                                                                                                                                                                                                                              Information about item collections, if any, that were affected by the - * UpdateItem operation. - * ItemCollectionMetrics is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table - * does not have any local secondary indexes, this information is not - * returned in the response.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              Each ItemCollectionMetrics - * element consists of:

                                                                                                                                                                                                                                              + * UpdateItem operation. ItemCollectionMetrics is only + * returned if the ReturnItemCollectionMetrics parameter was specified. If the + * table does not have any local secondary indexes, this information is not returned in the + * response.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              Each ItemCollectionMetrics element consists of:

                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                - * ItemCollectionKey - The partition key value of the item - * collection. This is the same as the partition key value of the item itself.

                                                                                                                                                                                                                                                + * ItemCollectionKey - The partition key value of the item collection. + * This is the same as the partition key value of the item itself.

                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                - * SizeEstimateRangeGB - An estimate of item collection size, - * in gigabytes. This value is a two-element array - * containing a lower bound and an upper bound for the - * estimate. The estimate includes the size of all the - * items in the table, plus the size of all attributes - * projected into all of the local secondary indexes on that - * table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

                                                                                                                                                                                                                                                + * SizeEstimateRangeGB - An estimate of item collection size, in + * gigabytes. This value is a two-element array containing a lower bound and an + * upper bound for the estimate. The estimate includes the size of all the items in + * the table, plus the size of all attributes projected into all of the local + * secondary indexes on that table. Use this estimate to measure whether a local + * secondary index is approaching its size limit.

                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                The estimate is subject to change over time; therefore, do not rely on the + * precision or accuracy of the estimate.

                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                              */ @@ -8759,9 +9145,9 @@ export namespace UpdateItemOutput { /** *

                                                                                                                                                                                                                                              Represents an operation to perform - either DeleteItem or - * PutItem. You can only request one of these operations, not both, in a - * single WriteRequest. If you do need to perform both of these operations, you - * need to provide two separate WriteRequest objects.

                                                                                                                                                                                                                                              + * PutItem. You can only request one of these operations, not both, in a + * single WriteRequest. If you do need to perform both of these operations, + * you need to provide two separate WriteRequest objects.

                                                                                                                                                                                                                                              */ export interface WriteRequest { /** @@ -8791,52 +9177,56 @@ export namespace WriteRequest { */ export interface BatchGetItemOutput { /** - *

                                                                                                                                                                                                                                              A map of table name to a list of items. Each object in Responses consists of a table - * name, along with a map of attribute data consisting of the data type and attribute value.

                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                              A map of table name to a list of items. Each object in Responses consists + * of a table name, along with a map of attribute data consisting of the data type and + * attribute value.

                                                                                                                                                                                                                                              */ Responses?: { [key: string]: { [key: string]: AttributeValue }[] }; /** - *

                                                                                                                                                                                                                                              A map of tables and their respective keys that were not processed with the current response. - * The UnprocessedKeys value is in the same form as RequestItems, so the value can - * be provided directly to a subsequent BatchGetItem operation. For more information, see - * RequestItems in the Request Parameters section.

                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                              Each element consists of:

                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                A map of tables and their respective keys that were not processed with the current + * response. The UnprocessedKeys value is in the same form as + * RequestItems, so the value can be provided directly to a subsequent + * BatchGetItem operation. For more information, see + * RequestItems in the Request Parameters section.

                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                Each element consists of:

                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                  - * Keys - An array of primary key attribute values that define specific items in the - * table.

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  + * Keys - An array of primary key attribute values that define + * specific items in the table.

                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                  - * ProjectionExpression - One or more attributes to be - * retrieved from the table or index. By default, all attributes are returned. If a - * requested attribute is not found, it does not appear in the result.

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  + * ProjectionExpression - One or more attributes to be retrieved from + * the table or index. By default, all attributes are returned. If a requested + * attribute is not found, it does not appear in the result.

                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                  - * ConsistentRead - The consistency of a read operation. If set to true, - * then a strongly consistent read is used; otherwise, an eventually consistent read is - * used.

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  + * ConsistentRead - The consistency of a read operation. If set to + * true, then a strongly consistent read is used; otherwise, an + * eventually consistent read is used.

                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                If there are no unprocessed keys remaining, the response contains an empty - * UnprocessedKeys map.

                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                If there are no unprocessed keys remaining, the response contains an empty + * UnprocessedKeys map.

                                                                                                                                                                                                                                                */ UnprocessedKeys?: { [key: string]: KeysAndAttributes }; /** - *

                                                                                                                                                                                                                                                The read capacity units consumed by the entire BatchGetItem operation.

                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                Each element consists of:

                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  The read capacity units consumed by the entire BatchGetItem + * operation.

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  Each element consists of:

                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                    - * TableName - The table that consumed the provisioned throughput.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    + * TableName - The table that consumed the provisioned + * throughput.

                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                    - * CapacityUnits - The total number of capacity units consumed.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    + * CapacityUnits - The total number of capacity units consumed.

                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                  */ @@ -8884,26 +9274,29 @@ export namespace BatchGetItemOutput { export interface ScanInput { /** *

                                                                                                                                                                                                                                                  The name of the table containing the requested items; or, if you provide - * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                                                  + * IndexName, the name of the table to which that index belongs.

                                                                                                                                                                                                                                                  */ TableName: string | undefined; /** - *

                                                                                                                                                                                                                                                  The name of a secondary index to scan. This index can be any local secondary index or global secondary index. Note that if you use the IndexName parameter, you must also provide TableName.

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  The name of a secondary index to scan. This index can be any local secondary index or + * global secondary index. Note that if you use the IndexName parameter, you + * must also provide TableName.

                                                                                                                                                                                                                                                  */ IndexName?: string; /** - *

                                                                                                                                                                                                                                                  This is a legacy parameter. Use ProjectionExpression instead. For more information, see - * AttributesToGet in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                  This is a legacy parameter. Use ProjectionExpression instead. For more + * information, see AttributesToGet in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                  */ AttributesToGet?: string[]; /** - *

                                                                                                                                                                                                                                                  The maximum number of items to evaluate (not necessarily the number of matching items). - * If DynamoDB processes the number of items up to the limit while processing the results, - * it stops the operation and returns the matching values up to that point, and a key in - * LastEvaluatedKey to apply in a subsequent operation, so that you can + *

                                                                                                                                                                                                                                                  The maximum number of items to evaluate (not necessarily the number of matching + * items). If DynamoDB processes the number of items up to the limit while processing the + * results, it stops the operation and returns the matching values up to that point, and a + * key in LastEvaluatedKey to apply in a subsequent operation, so that you can * pick up where you left off. Also, if the processed dataset size exceeds 1 MB before * DynamoDB reaches this limit, it stops the operation and returns the matching values up * to the limit, and a key in LastEvaluatedKey to apply in a subsequent @@ -8913,13 +9306,12 @@ export interface ScanInput { Limit?: number; /** - *

                                                                                                                                                                                                                                                  The attributes to be returned in the - * result. You can retrieve all item attributes, specific item attributes, the count of - * matching items, or in the case of an index, some or all of the attributes projected into - * the index.

                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    The attributes to be returned in the result. You can retrieve all item attributes, + * specific item attributes, the count of matching items, or in the case of an index, some + * or all of the attributes projected into the index.

                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      * ALL_ATTRIBUTES - Returns all of the item attributes from the * specified table or index. If you query a local secondary index, then for each * matching item in the index, DynamoDB fetches the entire item from the parent @@ -8928,201 +9320,233 @@ export interface ScanInput { * required.

                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                      - * ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. - * Retrieves all attributes that have been projected into the index. If the - * index is configured to project all attributes, this return value is - * equivalent to specifying ALL_ATTRIBUTES.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      + * ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. + * Retrieves all attributes that have been projected into the index. If the index + * is configured to project all attributes, this return value is equivalent to + * specifying ALL_ATTRIBUTES.

                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                      - * COUNT - Returns the number of matching items, rather than the - * matching items themselves.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      + * COUNT - Returns the number of matching items, rather than the + * matching items themselves.

                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                      - * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in - * AttributesToGet. This return value is equivalent to - * specifying AttributesToGet without specifying any value - * for Select.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      If you query or scan a local secondary index and request only attributes that + *

                                                                                                                                                                                                                                                      + * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in + * AttributesToGet. This return value is equivalent to specifying + * AttributesToGet without specifying any value for + * Select.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      If you query or scan a local secondary index and request only attributes that * are projected into that index, the operation reads only the index and not the * table. If any of the requested attributes are not projected into the local * secondary index, DynamoDB fetches each of these attributes from the parent * table. This extra fetching incurs additional throughput cost and latency.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      If you query or scan a global secondary index, you can only request - * attributes that are projected into the index. Global secondary index queries - * cannot fetch attributes from the parent table.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      If you query or scan a global secondary index, you can only request attributes + * that are projected into the index. Global secondary index queries cannot fetch + * attributes from the parent table.

                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    If neither Select nor AttributesToGet - * are specified, DynamoDB defaults to ALL_ATTRIBUTES when accessing a - * table, and ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot - * use both Select and AttributesToGet - * together in a single request, unless the value for Select is - * SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying - * AttributesToGet without any value for - * Select.)

                                                                                                                                                                                                                                                    - * - *

                                                                                                                                                                                                                                                    If you use the ProjectionExpression parameter, then - * the value for Select can only be - * SPECIFIC_ATTRIBUTES. Any other value for - * Select will return an error.

                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    If neither Select nor AttributesToGet are specified, + * DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and + * ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both + * Select and AttributesToGet together in a single request, + * unless the value for Select is SPECIFIC_ATTRIBUTES. (This + * usage is equivalent to specifying AttributesToGet without any value for + * Select.)

                                                                                                                                                                                                                                                    + * + *

                                                                                                                                                                                                                                                    If you use the ProjectionExpression parameter, then the value for + * Select can only be SPECIFIC_ATTRIBUTES. Any other + * value for Select will return an error.

                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                    */ Select?: Select | string; /** - *

                                                                                                                                                                                                                                                    This is a legacy parameter. Use FilterExpression instead. For more information, see - * ScanFilter in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    This is a legacy parameter. Use FilterExpression instead. For more + * information, see ScanFilter in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                    */ ScanFilter?: { [key: string]: Condition }; /** - *

                                                                                                                                                                                                                                                    This is a legacy parameter. Use FilterExpression instead. For more information, see - * ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    This is a legacy parameter. Use FilterExpression instead. For more + * information, see ConditionalOperator in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                    */ ConditionalOperator?: ConditionalOperator | string; /** - *

                                                                                                                                                                                                                                                    The primary key of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedKey in the previous operation.

                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    The data type for ExclusiveStartKey must be String, Number or Binary. No set data types are allowed.

                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                    In a parallel scan, a - * Scan request that includes ExclusiveStartKey must specify the same segment - * whose previous Scan returned the corresponding value of LastEvaluatedKey.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    The primary key of the first item that this operation will evaluate. Use the value + * that was returned for LastEvaluatedKey in the previous operation.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    The data type for ExclusiveStartKey must be String, Number or Binary. No + * set data types are allowed.

                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                    In a parallel scan, a Scan request that includes + * ExclusiveStartKey must specify the same segment whose previous + * Scan returned the corresponding value of + * LastEvaluatedKey.

                                                                                                                                                                                                                                                    */ ExclusiveStartKey?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                                    Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                        - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                        Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                        + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                        Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                        - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                        + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                        - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                        + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                      */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                      For a parallel Scan request, TotalSegments represents the total number of - * segments into which the Scan operation will be divided. The value of - * TotalSegments corresponds to the number of application workers that will perform the - * parallel scan. For example, if you want to use four application threads to scan a table or an index, - * specify a TotalSegments value of 4.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      The value for TotalSegments must be greater than or equal to 1, and less than or equal - * to 1000000. If you specify a TotalSegments value of 1, the Scan operation will - * be sequential rather than parallel.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      If you specify TotalSegments, you must also specify Segment.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      For a parallel Scan request, TotalSegments represents the + * total number of segments into which the Scan operation will be divided. The + * value of TotalSegments corresponds to the number of application workers + * that will perform the parallel scan. For example, if you want to use four application + * threads to scan a table or an index, specify a TotalSegments value of + * 4.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      The value for TotalSegments must be greater than or equal to 1, and less + * than or equal to 1000000. If you specify a TotalSegments value of 1, the + * Scan operation will be sequential rather than parallel.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      If you specify TotalSegments, you must also specify + * Segment.

                                                                                                                                                                                                                                                      */ TotalSegments?: number; /** - *

                                                                                                                                                                                                                                                      For a parallel Scan request, Segment identifies an individual segment to be - * scanned by an application worker.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      Segment IDs are zero-based, so the first segment is always 0. For example, if you want to - * use four application threads to scan a table or an index, then the first thread specifies a Segment value - * of 0, the second thread specifies 1, and so on.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      The value of LastEvaluatedKey returned from a parallel Scan request must be - * used as ExclusiveStartKey with the same segment ID in a subsequent Scan - * operation.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      The value for Segment must be greater than or equal to 0, and less than the value - * provided for TotalSegments.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      If you provide Segment, you must also provide TotalSegments.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      For a parallel Scan request, Segment identifies an + * individual segment to be scanned by an application worker.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      Segment IDs are zero-based, so the first segment is always 0. For example, if you want + * to use four application threads to scan a table or an index, then the first thread + * specifies a Segment value of 0, the second thread specifies 1, and so + * on.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      The value of LastEvaluatedKey returned from a parallel Scan + * request must be used as ExclusiveStartKey with the same segment ID in a + * subsequent Scan operation.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      The value for Segment must be greater than or equal to 0, and less than + * the value provided for TotalSegments.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      If you provide Segment, you must also provide + * TotalSegments.

                                                                                                                                                                                                                                                      */ Segment?: number; /** - *

                                                                                                                                                                                                                                                      A string that identifies one or more attributes to retrieve from the specified table or index. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer + *

                                                                                                                                                                                                                                                      A string that identifies one or more attributes to retrieve from the specified table + * or index. These attributes can include scalars, sets, or elements of a JSON document. + * The attributes in the expression must be separated by commas.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      If no attribute names are specified, then all attributes will be returned. If any of + * the requested attributes are not found, they will not appear in the result.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                      */ ProjectionExpression?: string; /** - *

                                                                                                                                                                                                                                                      A string that contains conditions that DynamoDB applies after the Scan operation, but - * before the data is returned to you. Items that do not satisfy the FilterExpression - * criteria are not returned.

                                                                                                                                                                                                                                                      - * - *

                                                                                                                                                                                                                                                      A FilterExpression is applied after the items have already been read; the process of - * filtering does not consume any additional read capacity units.

                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                      For more information, see - * Filter Expressions in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      A string that contains conditions that DynamoDB applies after the Scan + * operation, but before the data is returned to you. Items that do not satisfy the + * FilterExpression criteria are not returned.

                                                                                                                                                                                                                                                      + * + *

                                                                                                                                                                                                                                                      A FilterExpression is applied after the items have already been read; + * the process of filtering does not consume any additional read capacity units.

                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                      For more information, see Filter + * Expressions in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                      */ FilterExpression?: string; /** - *

                                                                                                                                                                                                                                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                        One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                          To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                          To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                          To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                          To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                          To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                          To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                        Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                          Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                            - * Percentile - *

                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                            + * Percentile + *

                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                          The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                            The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + * Guide). To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                              - * {"#P":"Percentile"} - *

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              + * {"#P":"Percentile"} + *

                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                            You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                - * #P = :val - *

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                + * #P = :val + *

                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                              - * - *

                                                                                                                                                                                                                                                              Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer + * + *

                                                                                                                                                                                                                                                              Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                                                                                              + * + *

                                                                                                                                                                                                                                                              For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                              */ ExpressionAttributeNames?: { [key: string]: string }; /** *

                                                                                                                                                                                                                                                              One or more values that can be substituted in an expression.

                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              Use the : (colon) character in an expression to + *

                                                                                                                                                                                                                                                              Use the : (colon) character in an expression to * dereference an attribute value. For example, suppose that you wanted to check whether * the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              * Available | Backordered | Discontinued - *

                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              You would first need to specify ExpressionAttributeValues as follows:

                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              - * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } - *

                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              You would first need to specify ExpressionAttributeValues as + * follows:

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              + * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, + * ":disc":{"S":"Discontinued"} } + *

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              * ProductStatus IN (:avail, :back, :disc) - *

                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                              *

                                                                                                                                                                                                                                                              For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                              */ @@ -9130,19 +9554,23 @@ export interface ScanInput { /** *

                                                                                                                                                                                                                                                              A Boolean value that determines the read consistency model during the scan:

                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                  If ConsistentRead is false, then the data returned from - * Scan might not contain the results from other recently + *

                                                                                                                                                                                                                                                                  If ConsistentRead is false, then the data returned + * from Scan might not contain the results from other recently * completed write operations (PutItem, UpdateItem, or * DeleteItem).

                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                  If ConsistentRead is true, then all of the write operations that completed before the Scan began are guaranteed to be contained in the Scan response.

                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                  If ConsistentRead is true, then all of the write + * operations that completed before the Scan began are guaranteed to + * be contained in the Scan response.

                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                The default setting for ConsistentRead is false.

                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                The ConsistentRead parameter is not supported on global secondary indexes. If you scan a global secondary index with ConsistentRead set to true, you will receive a ValidationException.

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                The default setting for ConsistentRead is false.

                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                The ConsistentRead parameter is not supported on global secondary + * indexes. If you scan a global secondary index with ConsistentRead set to + * true, you will receive a ValidationException.

                                                                                                                                                                                                                                                                */ ConsistentRead?: boolean; } @@ -9188,40 +9616,46 @@ export namespace ScanInput { */ export interface BatchWriteItemInput { /** - *

                                                                                                                                                                                                                                                                A map of one or more table names and, for each table, a list of operations to be performed - * (DeleteRequest or PutRequest). Each element in the map consists of the - * following:

                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                  A map of one or more table names and, for each table, a list of operations to be + * performed (DeleteRequest or PutRequest). Each element in the + * map consists of the following:

                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                    - * DeleteRequest - Perform a DeleteItem operation on the specified item. The - * item to be deleted is identified by a Key subelement:

                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                      + * DeleteRequest - Perform a DeleteItem operation on the + * specified item. The item to be deleted is identified by a Key + * subelement:

                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                        - * Key - A map of primary key attribute values that uniquely identify the item. - * Each entry in this map consists of an attribute name and an attribute value. For each - * primary key, you must provide all of the key attributes. For example, with a - * simple primary key, you only need to provide a value for the partition key. For a - * composite primary key, you must provide values for both the partition key and the sort key.

                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                      • + *

                                                                                                                                                                                                                                                                        + * Key - A map of primary key attribute values that uniquely + * identify the item. Each entry in this map consists of an attribute name + * and an attribute value. For each primary key, you must provide + * all of the key attributes. For example, with a + * simple primary key, you only need to provide a value for the partition + * key. For a composite primary key, you must provide values for + * both the partition key and the sort key.

                                                                                                                                                                                                                                                                        + * *
                                                                                                                                                                                                                                                                      * *
                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                      - * PutRequest - Perform a PutItem operation on the specified item. The item to - * be put is identified by an Item subelement:

                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        + * PutRequest - Perform a PutItem operation on the + * specified item. The item to be put is identified by an Item + * subelement:

                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          * Item - A map of attributes and their values. Each entry in * this map consists of an attribute name and an attribute value. Attribute * values must not be null; string and binary type attributes must have * lengths greater than zero; and set type attributes must not be empty. * Requests that contain empty values are rejected with a * ValidationException exception.

                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                        • + *

                                                                                                                                                                                                                                                                          If you specify any attributes that are part of an index key, then the + * data types for those attributes must match those of the schema in the + * table's attribute definition.

                                                                                                                                                                                                                                                                          + * *
                                                                                                                                                                                                                                                                        * *
                                                                                                                                                                                                                                                                      @@ -9229,28 +9663,39 @@ export interface BatchWriteItemInput { RequestItems: { [key: string]: WriteRequest[] } | undefined; /** - *

                                                                                                                                                                                                                                                                      Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                          - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                          Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                          - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                          - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                        */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                                        Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during - * the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        Determines whether item collection metrics are returned. If set to SIZE, + * the response includes statistics about item collections, if any, that were modified + * during the operation are returned in the response. If set to NONE (the + * default), no statistics are returned.

                                                                                                                                                                                                                                                                        */ ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | string; } @@ -9283,158 +9728,189 @@ export interface DeleteItemInput { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                                                        A map of attribute names to AttributeValue objects, representing the primary key of - * the item to delete.

                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                        For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        A map of attribute names to AttributeValue objects, representing the + * primary key of the item to delete.

                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        For the primary key, you must provide all of the attributes. For example, with a + * simple primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key and the sort + * key.

                                                                                                                                                                                                                                                                        */ Key: { [key: string]: AttributeValue } | undefined; /** - *

                                                                                                                                                                                                                                                                        This is a legacy parameter. Use ConditionExpression instead. For more information, see - * Expected in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        This is a legacy parameter. Use ConditionExpression instead. For more + * information, see Expected in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                        */ Expected?: { [key: string]: ExpectedAttributeValue }; /** - *

                                                                                                                                                                                                                                                                        This is a legacy parameter. Use ConditionExpression instead. For more information, see - * ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                        This is a legacy parameter. Use ConditionExpression instead. For more + * information, see ConditionalOperator in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                        */ ConditionalOperator?: ConditionalOperator | string; /** - *

                                                                                                                                                                                                                                                                        Use ReturnValues if you want to get the item attributes as they appeared before they - * were deleted. For DeleteItem, the valid values are:

                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                          Use ReturnValues if you want to get the item attributes as they appeared + * before they were deleted. For DeleteItem, the valid values are:

                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            - * NONE - If ReturnValues is not specified, or if its value is - * NONE, then nothing is returned. (This setting is the default for - * ReturnValues.)

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            + * NONE - If ReturnValues is not specified, or if its + * value is NONE, then nothing is returned. (This setting is the + * default for ReturnValues.)

                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                            - * ALL_OLD - The content of the old item is returned.

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            + * ALL_OLD - The content of the old item is returned.

                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                          - * - *

                                                                                                                                                                                                                                                                          The ReturnValues parameter is used by several DynamoDB operations; however, - * DeleteItem does not recognize any values other than NONE or - * ALL_OLD.

                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                          + * + *

                                                                                                                                                                                                                                                                          The ReturnValues parameter is used by several DynamoDB operations; + * however, DeleteItem does not recognize any values other than + * NONE or ALL_OLD.

                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                          */ ReturnValues?: ReturnValue | string; /** - *

                                                                                                                                                                                                                                                                          Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                              - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                              Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                              + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                              Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                              - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                              + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                              - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                              + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                            */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                                            Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during - * the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                            Determines whether item collection metrics are returned. If set to SIZE, + * the response includes statistics about item collections, if any, that were modified + * during the operation are returned in the response. If set to NONE (the + * default), no statistics are returned.

                                                                                                                                                                                                                                                                            */ ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | string; /** - *

                                                                                                                                                                                                                                                                            A condition that must be satisfied in order for a conditional DeleteItem to - * succeed.

                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                            An expression can contain any of the following:

                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                              A condition that must be satisfied in order for a conditional DeleteItem + * to succeed.

                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                              An expression can contain any of the following:

                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size - *

                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                These function names are case-sensitive.

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                Functions: attribute_exists | attribute_not_exists | attribute_type | + * contains | begins_with | size + *

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                These function names are case-sensitive.

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                Comparison operators: = | <> | + *

                                                                                                                                                                                                                                                                                Comparison operators: = | <> | * < | > | <= | >= | * BETWEEN | IN - *

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                Logical operators: AND | OR | NOT - *

                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                Logical operators: AND | OR | NOT + *

                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                              For more information about condition expressions, see Condition Expressions in the Amazon DynamoDB Developer + *

                                                                                                                                                                                                                                                                              For more information about condition expressions, see Condition Expressions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                              */ ConditionExpression?: string; /** - *

                                                                                                                                                                                                                                                                              One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                  To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                  To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                  To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                  To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                  To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                  To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                  Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                    - * Percentile - *

                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    + * Percentile + *

                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                  The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                    The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + * Guide). To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                      - * {"#P":"Percentile"} - *

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      + * {"#P":"Percentile"} + *

                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                    You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                        - * #P = :val - *

                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                        + * #P = :val + *

                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                      - * - *

                                                                                                                                                                                                                                                                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer + * + *

                                                                                                                                                                                                                                                                                      Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                                                                                                                      + * + *

                                                                                                                                                                                                                                                                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                      */ ExpressionAttributeNames?: { [key: string]: string }; /** *

                                                                                                                                                                                                                                                                                      One or more values that can be substituted in an expression.

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      Use the : (colon) character in an expression to + * dereference an attribute value. For example, suppose that you wanted to check whether + * the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      * Available | Backordered | Discontinued - *

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      You would first need to specify ExpressionAttributeValues as follows:

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      - * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } - *

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      You would first need to specify ExpressionAttributeValues as + * follows:

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      + * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, + * ":disc":{"S":"Discontinued"} } + *

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      * ProductStatus IN (:avail, :back, :disc) - *

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                      */ @@ -9487,164 +9963,204 @@ export interface PutItemInput { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                                                                      A map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      You must provide all of the attributes for the primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide both values for both the partition key and the sort key.

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      A map of attribute name/value pairs, one for each attribute. Only the primary key + * attributes are required; you can optionally provide other attribute name-value pairs for + * the item.

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      You must provide all of the attributes for the primary key. For example, with a simple + * primary key, you only need to provide a value for the partition key. For a composite + * primary key, you must provide both values for both the partition key and the sort + * key.

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      If you specify any attributes that are part of an index key, then the data types for + * those attributes must match those of the schema in the table's attribute + * definition.

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      Empty String and Binary attribute values are allowed. Attribute values of type String + * and Binary must have a length greater than zero if the attribute is used as a key + * attribute for a table or index.

                                                                                                                                                                                                                                                                                      * - *

                                                                                                                                                                                                                                                                                      For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer + *

                                                                                                                                                                                                                                                                                      For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                      Each element in the Item map is an AttributeValue object.

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      Each element in the Item map is an AttributeValue + * object.

                                                                                                                                                                                                                                                                                      */ Item: { [key: string]: AttributeValue } | undefined; /** - *

                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see - * Expected in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use ConditionExpression instead. For more + * information, see Expected in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                      */ Expected?: { [key: string]: ExpectedAttributeValue }; /** - *

                                                                                                                                                                                                                                                                                      Use ReturnValues if you want to get the item attributes as they appeared before they - * were updated with the PutItem request. For PutItem, the valid values are:

                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                        Use ReturnValues if you want to get the item attributes as they appeared + * before they were updated with the PutItem request. For + * PutItem, the valid values are:

                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          - * NONE - If ReturnValues is not specified, or if its value is - * NONE, then nothing is returned. (This setting is the default for - * ReturnValues.)

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          + * NONE - If ReturnValues is not specified, or if its + * value is NONE, then nothing is returned. (This setting is the + * default for ReturnValues.)

                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                          - * ALL_OLD - If PutItem overwrote an attribute name-value pair, then the - * content of the old item is returned.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          + * ALL_OLD - If PutItem overwrote an attribute name-value + * pair, then the content of the old item is returned.

                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                        - * - *

                                                                                                                                                                                                                                                                                        The ReturnValues parameter is used by several DynamoDB operations; however, - * PutItem does not recognize any values other than NONE or - * ALL_OLD.

                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                        The values returned are strongly consistent.

                                                                                                                                                                                                                                                                                        + * + *

                                                                                                                                                                                                                                                                                        The ReturnValues parameter is used by several DynamoDB operations; + * however, PutItem does not recognize any values other than + * NONE or ALL_OLD.

                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                        */ ReturnValues?: ReturnValue | string; /** - *

                                                                                                                                                                                                                                                                                        Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                            - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                            Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                            + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                            Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                            - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                            + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                            - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                            + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                          */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                                                          Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during - * the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          Determines whether item collection metrics are returned. If set to SIZE, + * the response includes statistics about item collections, if any, that were modified + * during the operation are returned in the response. If set to NONE (the + * default), no statistics are returned.

                                                                                                                                                                                                                                                                                          */ ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | string; /** - *

                                                                                                                                                                                                                                                                                          This is a legacy parameter. Use ConditionExpression instead. For more information, see - * ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                          This is a legacy parameter. Use ConditionExpression instead. For more + * information, see ConditionalOperator in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                          */ ConditionalOperator?: ConditionalOperator | string; /** - *

                                                                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional PutItem operation to - * succeed.

                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                          An expression can contain any of the following:

                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                            A condition that must be satisfied in order for a conditional PutItem + * operation to succeed.

                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                            An expression can contain any of the following:

                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size - *

                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                              These function names are case-sensitive.

                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                              Functions: attribute_exists | attribute_not_exists | attribute_type | + * contains | begins_with | size + *

                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                              These function names are case-sensitive.

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              Comparison operators: = | <> | + *

                                                                                                                                                                                                                                                                                              Comparison operators: = | <> | * < | > | <= | >= | * BETWEEN | IN - *

                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                              Logical operators: AND | OR | NOT - *

                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                              Logical operators: AND | OR | NOT + *

                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                            For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer + *

                                                                                                                                                                                                                                                                                            For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                            */ ConditionExpression?: string; /** - *

                                                                                                                                                                                                                                                                                            One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                              One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                              Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                  - * Percentile - *

                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                  + * Percentile + *

                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                  The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + * Guide). To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                    - * {"#P":"Percentile"} - *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    + * {"#P":"Percentile"} + *

                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                  You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                      - * #P = :val - *

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      + * #P = :val + *

                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                    - * - *

                                                                                                                                                                                                                                                                                                    Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer + * + *

                                                                                                                                                                                                                                                                                                    Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                                                                                                                                    + * + *

                                                                                                                                                                                                                                                                                                    For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                                    */ ExpressionAttributeNames?: { [key: string]: string }; /** *

                                                                                                                                                                                                                                                                                                    One or more values that can be substituted in an expression.

                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    Use the : (colon) character in an expression to + * dereference an attribute value. For example, suppose that you wanted to check whether + * the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    * Available | Backordered | Discontinued - *

                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    You would first need to specify ExpressionAttributeValues as follows:

                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    - * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } - *

                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    You would first need to specify ExpressionAttributeValues as + * follows:

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    + * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, + * ":disc":{"S":"Discontinued"} } + *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    * ProductStatus IN (:avail, :back, :disc) - *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                    For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                                    */ @@ -9697,20 +10213,20 @@ export interface QueryInput { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                                                                                    The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that - * if you use the IndexName parameter, you must also provide TableName. - *

                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                    The name of an index to query. This index can be any local secondary index or global + * secondary index on the table. Note that if you use the IndexName parameter, + * you must also provide TableName. + *

                                                                                                                                                                                                                                                                                                    */ IndexName?: string; /** - *

                                                                                                                                                                                                                                                                                                    The attributes to be returned in the - * result. You can retrieve all item attributes, specific item attributes, the count of - * matching items, or in the case of an index, some or all of the attributes projected into - * the index.

                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      The attributes to be returned in the result. You can retrieve all item attributes, + * specific item attributes, the count of matching items, or in the case of an index, some + * or all of the attributes projected into the index.

                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        * ALL_ATTRIBUTES - Returns all of the item attributes from the * specified table or index. If you query a local secondary index, then for each * matching item in the index, DynamoDB fetches the entire item from the parent @@ -9719,61 +10235,60 @@ export interface QueryInput { * required.

                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                        - * ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. - * Retrieves all attributes that have been projected into the index. If the - * index is configured to project all attributes, this return value is - * equivalent to specifying ALL_ATTRIBUTES.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        + * ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index. + * Retrieves all attributes that have been projected into the index. If the index + * is configured to project all attributes, this return value is equivalent to + * specifying ALL_ATTRIBUTES.

                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                        - * COUNT - Returns the number of matching items, rather than the - * matching items themselves.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        + * COUNT - Returns the number of matching items, rather than the + * matching items themselves.

                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                        - * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in - * AttributesToGet. This return value is equivalent to - * specifying AttributesToGet without specifying any value - * for Select.

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        If you query or scan a local secondary index and request only attributes that + *

                                                                                                                                                                                                                                                                                                        + * SPECIFIC_ATTRIBUTES - Returns only the attributes listed in + * AttributesToGet. This return value is equivalent to specifying + * AttributesToGet without specifying any value for + * Select.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        If you query or scan a local secondary index and request only attributes that * are projected into that index, the operation will read only the index and not * the table. If any of the requested attributes are not projected into the local * secondary index, DynamoDB fetches each of these attributes from the parent * table. This extra fetching incurs additional throughput cost and latency.

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        If you query or scan a global secondary index, you can only request - * attributes that are projected into the index. Global secondary index queries - * cannot fetch attributes from the parent table.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        If you query or scan a global secondary index, you can only request attributes + * that are projected into the index. Global secondary index queries cannot fetch + * attributes from the parent table.

                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                      If neither Select nor AttributesToGet - * are specified, DynamoDB defaults to ALL_ATTRIBUTES when accessing a - * table, and ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot - * use both Select and AttributesToGet - * together in a single request, unless the value for Select is - * SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying - * AttributesToGet without any value for - * Select.)

                                                                                                                                                                                                                                                                                                      - * - *

                                                                                                                                                                                                                                                                                                      If you use the ProjectionExpression parameter, then - * the value for Select can only be - * SPECIFIC_ATTRIBUTES. Any other value for - * Select will return an error.

                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      If neither Select nor AttributesToGet are specified, + * DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and + * ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both + * Select and AttributesToGet together in a single request, + * unless the value for Select is SPECIFIC_ATTRIBUTES. (This + * usage is equivalent to specifying AttributesToGet without any value for + * Select.)

                                                                                                                                                                                                                                                                                                      + * + *

                                                                                                                                                                                                                                                                                                      If you use the ProjectionExpression parameter, then the value for + * Select can only be SPECIFIC_ATTRIBUTES. Any other + * value for Select will return an error.

                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                      */ Select?: Select | string; /** - *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use ProjectionExpression instead. For more information, see - * AttributesToGet in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use ProjectionExpression instead. For more + * information, see AttributesToGet in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                      */ AttributesToGet?: string[]; /** - *

                                                                                                                                                                                                                                                                                                      The maximum number of items to evaluate (not necessarily the number of matching items). - * If DynamoDB processes the number of items up to the limit while processing the results, - * it stops the operation and returns the matching values up to that point, and a key in - * LastEvaluatedKey to apply in a subsequent operation, so that you can + *

                                                                                                                                                                                                                                                                                                      The maximum number of items to evaluate (not necessarily the number of matching + * items). If DynamoDB processes the number of items up to the limit while processing the + * results, it stops the operation and returns the matching values up to that point, and a + * key in LastEvaluatedKey to apply in a subsequent operation, so that you can * pick up where you left off. Also, if the processed dataset size exceeds 1 MB before * DynamoDB reaches this limit, it stops the operation and returns the matching values up * to the limit, and a key in LastEvaluatedKey to apply in a subsequent @@ -9783,84 +10298,112 @@ export interface QueryInput { Limit?: number; /** - *

                                                                                                                                                                                                                                                                                                      Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.

                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                      Strongly consistent reads - * are not supported on global secondary indexes. If you query a global secondary index with ConsistentRead set to - * true, you will receive a ValidationException.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      Determines the read consistency model: If set to true, then the operation + * uses strongly consistent reads; otherwise, the operation uses eventually consistent + * reads.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      Strongly consistent reads are not supported on global secondary indexes. If you query + * a global secondary index with ConsistentRead set to true, you + * will receive a ValidationException.

                                                                                                                                                                                                                                                                                                      */ ConsistentRead?: boolean; /** - *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use KeyConditionExpression instead. For more information, see - * KeyConditions in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use KeyConditionExpression instead. For more + * information, see KeyConditions in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                      */ KeyConditions?: { [key: string]: Condition }; /** - *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use FilterExpression instead. For more information, see - * QueryFilter in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use FilterExpression instead. For more + * information, see QueryFilter in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                      */ QueryFilter?: { [key: string]: Condition }; /** - *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use FilterExpression instead. For more information, see - * ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      This is a legacy parameter. Use FilterExpression instead. For more + * information, see ConditionalOperator in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                      */ ConditionalOperator?: ConditionalOperator | string; /** - *

                                                                                                                                                                                                                                                                                                      Specifies the order for index traversal: If true (default), the traversal is performed in ascending order; if false, the traversal is performed in descending order.

                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                      Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each byte of the binary data as unsigned.

                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                      If ScanIndexForward is true, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If ScanIndexForward is false, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      Specifies the order for index traversal: If true (default), the traversal + * is performed in ascending order; if false, the traversal is performed in + * descending order.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      Items with the same partition key value are stored in sorted order by sort key. If the + * sort key data type is Number, the results are stored in numeric order. For type String, + * the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each + * byte of the binary data as unsigned.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      If ScanIndexForward is true, DynamoDB returns the results in + * the order in which they are stored (by sort key value). This is the default behavior. If + * ScanIndexForward is false, DynamoDB reads the results in + * reverse order by sort key value, and then returns the results to the client.

                                                                                                                                                                                                                                                                                                      */ ScanIndexForward?: boolean; /** - *

                                                                                                                                                                                                                                                                                                      The primary key of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedKey in the previous operation.

                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                      The data type for ExclusiveStartKey must be String, Number, or Binary. No + *

                                                                                                                                                                                                                                                                                                      The primary key of the first item that this operation will evaluate. Use the value + * that was returned for LastEvaluatedKey in the previous operation.

                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                      The data type for ExclusiveStartKey must be String, Number, or Binary. No * set data types are allowed.

                                                                                                                                                                                                                                                                                                      */ ExclusiveStartKey?: { [key: string]: AttributeValue }; /** - *

                                                                                                                                                                                                                                                                                                      Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                          - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                          Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                          - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                          - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                        */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                                                                        A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        For more information, see - * Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        A string that identifies one or more attributes to retrieve from the table. These + * attributes can include scalars, sets, or elements of a JSON document. The attributes in + * the expression must be separated by commas.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        If no attribute names are specified, then all attributes will be returned. If any of + * the requested attributes are not found, they will not appear in the result.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                        */ ProjectionExpression?: string; /** - *

                                                                                                                                                                                                                                                                                                        A string that contains conditions that DynamoDB applies after the Query operation, but - * before the data is returned to you. Items that do not satisfy the FilterExpression - * criteria are not returned.

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        A FilterExpression does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.

                                                                                                                                                                                                                                                                                                        - * - *

                                                                                                                                                                                                                                                                                                        A FilterExpression is applied after the items have already been read; the process of - * filtering does not consume any additional read capacity units.

                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        For more information, see Filter - * Expressions in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        A string that contains conditions that DynamoDB applies after the Query + * operation, but before the data is returned to you. Items that do not satisfy the + * FilterExpression criteria are not returned.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        A FilterExpression does not allow key attributes. You cannot define a + * filter expression based on a partition key or a sort key.

                                                                                                                                                                                                                                                                                                        + * + *

                                                                                                                                                                                                                                                                                                        A FilterExpression is applied after the items have already been read; + * the process of filtering does not consume any additional read capacity units.

                                                                                                                                                                                                                                                                                                        + *
                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        For more information, see Filter + * Expressions in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                        */ FilterExpression?: string; @@ -9868,22 +10411,24 @@ export interface QueryInput { *

                                                                                                                                                                                                                                                                                                        The condition that specifies the key values for items to be retrieved by the * Query action.

                                                                                                                                                                                                                                                                                                        * - *

                                                                                                                                                                                                                                                                                                        The condition must perform an equality test on a single partition key value.

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        The condition can optionally perform one of several comparison tests on a single - * sort key value. This allows Query to retrieve one item with a given - * partition key value and sort key value, or several items that have the same partition - * key value but different sort key values.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        The condition must perform an equality test on a single partition key value.

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        The condition can optionally perform one of several comparison tests on a single sort + * key value. This allows Query to retrieve one item with a given partition + * key value and sort key value, or several items that have the same partition key value + * but different sort key values.

                                                                                                                                                                                                                                                                                                        * - *

                                                                                                                                                                                                                                                                                                        The partition key equality test is required, and must be specified in the following format:

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        The partition key equality test is required, and must be specified in the following + * format:

                                                                                                                                                                                                                                                                                                        * - *

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        * partitionKeyName * = * :partitionkeyval - *

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        * - *

                                                                                                                                                                                                                                                                                                        If you also want to provide a condition for the sort key, it must be combined using AND with the condition - * for the sort key. Following is an example, using the = comparison operator for the sort key:

                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                        If you also want to provide a condition for the sort key, it must be combined using + * AND with the condition for the sort key. Following is an example, using + * the = comparison operator for the sort key:

                                                                                                                                                                                                                                                                                                        * *

                                                                                                                                                                                                                                                                                                        * partitionKeyName @@ -9894,155 +10439,175 @@ export interface QueryInput { * = * :sortkeyval *

                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                        Valid comparisons for the sort key condition are as follows:

                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          Valid comparisons for the sort key condition are as follows:

                                                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * sortKeyName - * = - * :sortkeyval - true if the sort key value is equal to :sortkeyval.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * sortKeyName + * = + * :sortkeyval - true if the sort key value is equal to + * :sortkeyval.

                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * sortKeyName - * < - * :sortkeyval - true if the sort key value is less than :sortkeyval.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * sortKeyName + * < + * :sortkeyval - true if the sort key value is less than + * :sortkeyval.

                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * sortKeyName - * <= - * :sortkeyval - true if the sort key value is less than or equal to - * :sortkeyval.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * sortKeyName + * <= + * :sortkeyval - true if the sort key value is less than or equal to + * :sortkeyval.

                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * sortKeyName - * > - * :sortkeyval - true if the sort key value is greater than :sortkeyval.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * sortKeyName + * > + * :sortkeyval - true if the sort key value is greater than + * :sortkeyval.

                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * sortKeyName - * >= - * :sortkeyval - true if the sort key value is greater than - * or equal to :sortkeyval.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * sortKeyName + * >= + * :sortkeyval - true if the sort key value is greater than or equal + * to :sortkeyval.

                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * sortKeyName - * BETWEEN - * :sortkeyval1 - * AND - * :sortkeyval2 - true if the sort key value is greater than or equal to - * :sortkeyval1, and less than or equal to :sortkeyval2.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * sortKeyName + * BETWEEN + * :sortkeyval1 + * AND + * :sortkeyval2 - true if the sort key value is greater than or equal + * to :sortkeyval1, and less than or equal to + * :sortkeyval2.

                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * begins_with ( - * sortKeyName, :sortkeyval - * ) - - * true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name - * begins_with is case-sensitive.

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            + * begins_with ( + * sortKeyName, :sortkeyval + * ) - true if the sort key value begins with a particular operand. + * (You cannot use this function with a sort key that is of type Number.) Note that + * the function name begins_with is case-sensitive.

                                                                                                                                                                                                                                                                                                            * *
                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                          * - *

                                                                                                                                                                                                                                                                                                          Use the ExpressionAttributeValues parameter to replace tokens such as - * :partitionval and :sortval with actual values at runtime.

                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                          Use the ExpressionAttributeValues parameter to replace tokens such as + * :partitionval and :sortval with actual values at + * runtime.

                                                                                                                                                                                                                                                                                                          * - *

                                                                                                                                                                                                                                                                                                          You can optionally use the ExpressionAttributeNames parameter to replace the names of - * the partition key and sort key with placeholder tokens. This option might be necessary if an attribute - * name conflicts with a DynamoDB reserved word. For example, the following - * KeyConditionExpression parameter causes an error because Size is a reserved - * word:

                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                            - * Size = :myval - *

                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                            You can optionally use the ExpressionAttributeNames parameter to replace + * the names of the partition key and sort key with placeholder tokens. This option might + * be necessary if an attribute name conflicts with a DynamoDB reserved word. For example, + * the following KeyConditionExpression parameter causes an error because + * Size is a reserved word:

                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                            • + *

                                                                                                                                                                                                                                                                                                              + * Size = :myval + *

                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                            To work around this, define a placeholder (such a #S) to represent the attribute - * name Size. KeyConditionExpression then is as follows:

                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              To work around this, define a placeholder (such a #S) to represent the + * attribute name Size. KeyConditionExpression then is as + * follows:

                                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                - * #S = :myval - *

                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                + * #S = :myval + *

                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                              For a list of reserved words, see Reserved - * Words in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              For a list of reserved words, see Reserved Words + * in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                              * - *

                                                                                                                                                                                                                                                                                                              For more information on ExpressionAttributeNames and ExpressionAttributeValues, - * see Using Placeholders for Attribute - * Names and Values in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                              For more information on ExpressionAttributeNames and + * ExpressionAttributeValues, see Using + * Placeholders for Attribute Names and Values in the Amazon DynamoDB + * Developer Guide.

                                                                                                                                                                                                                                                                                                              */ KeyConditionExpression?: string; /** - *

                                                                                                                                                                                                                                                                                                              One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                  To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                  To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                  To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                  To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                  To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                  To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                  Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                    - * Percentile - *

                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                    + * Percentile + *

                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                  The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for - * ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                    The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + * Guide). To work around this, you could specify the following for + * ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                      - * {"#P":"Percentile"} - *

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      + * {"#P":"Percentile"} + *

                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                    You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                        - * #P = :val - *

                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                        + * #P = :val + *

                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                      - * - *

                                                                                                                                                                                                                                                                                                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer + * + *

                                                                                                                                                                                                                                                                                                                      Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                                                                                                                                                      + * + *

                                                                                                                                                                                                                                                                                                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                                                      */ ExpressionAttributeNames?: { [key: string]: string }; /** *

                                                                                                                                                                                                                                                                                                                      One or more values that can be substituted in an expression.

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the - * ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      Use the : (colon) character in an expression to + * dereference an attribute value. For example, suppose that you wanted to check whether + * the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      * Available | Backordered | Discontinued - *

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      You would first need to specify ExpressionAttributeValues as follows:

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      - * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } - *

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      You would first need to specify ExpressionAttributeValues as + * follows:

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      + * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, + * ":disc":{"S":"Discontinued"} } + *

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      * ProductStatus IN (:avail, :back, :disc) - *

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                      For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                                      */ ExpressionAttributeValues?: { [key: string]: AttributeValue }; } @@ -10098,81 +10663,93 @@ export namespace QueryInput { export interface BatchWriteItemOutput { /** *

                                                                                                                                                                                                                                                                                                                      A map of tables and requests against those tables that were not processed. The - * UnprocessedItems value is in the same form as RequestItems, so you can provide - * this value directly to a subsequent BatchGetItem operation. For more information, see - * RequestItems in the Request Parameters section.

                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                      Each UnprocessedItems entry consists of a table name and, for that table, a list of - * operations to perform (DeleteRequest or PutRequest).

                                                                                                                                                                                                                                                                                                                      - *
                                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                        - * DeleteRequest - Perform a DeleteItem operation on the specified item. The - * item to be deleted is identified by a Key subelement:

                                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                                          + * UnprocessedItems value is in the same form as + * RequestItems, so you can provide this value directly to a subsequent + * BatchGetItem operation. For more information, see + * RequestItems in the Request Parameters section.

                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                          Each UnprocessedItems entry consists of a table name and, for that table, + * a list of operations to perform (DeleteRequest or + * PutRequest).

                                                                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                                                                                                            + * DeleteRequest - Perform a DeleteItem operation on the + * specified item. The item to be deleted is identified by a Key + * subelement:

                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                              - * Key - A map of primary key attribute values that uniquely identify the item. - * Each entry in this map consists of an attribute name and an attribute value.

                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                            • + *

                                                                                                                                                                                                                                                                                                                              + * Key - A map of primary key attribute values that uniquely + * identify the item. Each entry in this map consists of an attribute name + * and an attribute value.

                                                                                                                                                                                                                                                                                                                              + * *
                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                            - * PutRequest - Perform a PutItem operation on the specified item. The item to - * be put is identified by an Item subelement:

                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              + * PutRequest - Perform a PutItem operation on the + * specified item. The item to be put is identified by an Item + * subelement:

                                                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                                - * Item - A map of attributes and their values. Each entry in this map consists - * of an attribute name and an attribute value. Attribute values must not be null; string - * and binary type attributes must have lengths greater than zero; and set type - * attributes must not be empty. Requests that contain empty values will be rejected with - * a ValidationException exception.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                              • + *

                                                                                                                                                                                                                                                                                                                                + * Item - A map of attributes and their values. Each entry in + * this map consists of an attribute name and an attribute value. Attribute + * values must not be null; string and binary type attributes must have + * lengths greater than zero; and set type attributes must not be empty. + * Requests that contain empty values will be rejected with a + * ValidationException exception.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                If you specify any attributes that are part of an index key, then the + * data types for those attributes must match those of the schema in the + * table's attribute definition.

                                                                                                                                                                                                                                                                                                                                + * *
                                                                                                                                                                                                                                                                                                                              * *
                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                            If there are no unprocessed items remaining, the response contains an empty - * UnprocessedItems map.

                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                            If there are no unprocessed items remaining, the response contains an empty + * UnprocessedItems map.

                                                                                                                                                                                                                                                                                                                            */ UnprocessedItems?: { [key: string]: WriteRequest[] }; /** - *

                                                                                                                                                                                                                                                                                                                            A list of tables that were processed by BatchWriteItem and, for each table, - * information about any item collections that were affected by individual DeleteItem or - * PutItem operations.

                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                            Each entry consists of the following subelements:

                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              A list of tables that were processed by BatchWriteItem and, for each + * table, information about any item collections that were affected by individual + * DeleteItem or PutItem operations.

                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                              Each entry consists of the following subelements:

                                                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                                - * ItemCollectionKey - The partition key value of the item collection. This is the same as - * the partition key value of the item.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                + * ItemCollectionKey - The partition key value of the item collection. + * This is the same as the partition key value of the item.

                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                                - * SizeEstimateRangeGB - An estimate of item collection size, expressed in GB. This is - * a two-element array containing a lower bound and an upper bound for the estimate. The - * estimate includes the size of all the items in the table, plus the size of all attributes - * projected into all of the local secondary indexes on the table. Use this estimate to measure whether a - * local secondary index is approaching its size limit.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                + * SizeEstimateRangeGB - An estimate of item collection size, + * expressed in GB. This is a two-element array containing a lower bound and an + * upper bound for the estimate. The estimate includes the size of all the items in + * the table, plus the size of all attributes projected into all of the local + * secondary indexes on the table. Use this estimate to measure whether a local + * secondary index is approaching its size limit.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                The estimate is subject to change over time; therefore, do not rely on the + * precision or accuracy of the estimate.

                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                              */ ItemCollectionMetrics?: { [key: string]: ItemCollectionMetrics[] }; /** - *

                                                                                                                                                                                                                                                                                                                              The capacity units consumed by the entire BatchWriteItem operation.

                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                              Each element consists of:

                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                The capacity units consumed by the entire BatchWriteItem + * operation.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                Each element consists of:

                                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  - * TableName - The table that consumed the provisioned throughput.

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  + * TableName - The table that consumed the provisioned + * throughput.

                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                  - * CapacityUnits - The total number of capacity units consumed.

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  + * CapacityUnits - The total number of capacity units consumed.

                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                */ @@ -10216,26 +10793,33 @@ export interface UpdateItemInput { TableName: string | undefined; /** - *

                                                                                                                                                                                                                                                                                                                                The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute.

                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                The primary key of the item to be updated. Each element consists of an attribute name + * and a value for that attribute.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                For the primary key, you must provide all of the attributes. For example, with a + * simple primary key, you only need to provide a value for the partition key. For a + * composite primary key, you must provide values for both the partition key and the sort + * key.

                                                                                                                                                                                                                                                                                                                                */ Key: { [key: string]: AttributeValue } | undefined; /** - *

                                                                                                                                                                                                                                                                                                                                This is a legacy parameter. Use UpdateExpression instead. For more information, see - * AttributeUpdates in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                This is a legacy parameter. Use UpdateExpression instead. For more + * information, see AttributeUpdates in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                                                */ AttributeUpdates?: { [key: string]: AttributeValueUpdate }; /** - *

                                                                                                                                                                                                                                                                                                                                This is a legacy parameter. Use ConditionExpression instead. For more information, see - * Expected in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                This is a legacy parameter. Use ConditionExpression instead. For more + * information, see Expected in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                                                */ Expected?: { [key: string]: ExpectedAttributeValue }; /** - *

                                                                                                                                                                                                                                                                                                                                This is a legacy parameter. Use ConditionExpression instead. For more information, see - * ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                This is a legacy parameter. Use ConditionExpression instead. For more + * information, see ConditionalOperator in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                                                */ ConditionalOperator?: ConditionalOperator | string; @@ -10243,109 +10827,132 @@ export interface UpdateItemInput { *

                                                                                                                                                                                                                                                                                                                                Use ReturnValues if you want to get the item attributes as they appear * before or after they are updated. For UpdateItem, the valid values * are:

                                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    - * NONE - If ReturnValues is not specified, or if its value is - * NONE, then nothing is returned. (This setting is the default for - * ReturnValues.)

                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    + * NONE - If ReturnValues is not specified, or if its + * value is NONE, then nothing is returned. (This setting is the + * default for ReturnValues.)

                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    - * ALL_OLD - Returns all of the attributes of the item, as they appeared before the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    + * ALL_OLD - Returns all of the attributes of the item, as they + * appeared before the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    - * UPDATED_OLD - Returns only the updated attributes, as they appeared before the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    + * UPDATED_OLD - Returns only the updated attributes, as they appeared + * before the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    - * ALL_NEW - Returns all of the attributes of the item, as they appear after the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    + * ALL_NEW - Returns all of the attributes of the item, as they appear + * after the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                    - * UPDATED_NEW - Returns only the updated attributes, as they appear after the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    + * UPDATED_NEW - Returns only the updated attributes, as they appear + * after the UpdateItem operation.

                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                  There is no additional cost associated with requesting a return value aside from the + *

                                                                                                                                                                                                                                                                                                                                  There is no additional cost associated with requesting a return value aside from the * small network and processing overhead of receiving a larger response. No read capacity * units are consumed.

                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                  The values returned are strongly consistent.

                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                  The values returned are strongly consistent.

                                                                                                                                                                                                                                                                                                                                  */ ReturnValues?: ReturnValue | string; /** - *

                                                                                                                                                                                                                                                                                                                                  Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                      - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                      Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                      + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                      Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                      - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                      + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                      - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                      + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                    */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                                                                                                    Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during - * the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                    Determines whether item collection metrics are returned. If set to SIZE, + * the response includes statistics about item collections, if any, that were modified + * during the operation are returned in the response. If set to NONE (the + * default), no statistics are returned.

                                                                                                                                                                                                                                                                                                                                    */ ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | string; /** *

                                                                                                                                                                                                                                                                                                                                    An expression that defines one or more attributes to be updated, the action to be * performed on them, and new values for them.

                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                    The following action values are available for UpdateExpression.

                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                      The following action values are available for UpdateExpression.

                                                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                        * SET - Adds one or more attributes and values to an item. If any of * these attributes already exist, they are replaced by the new values. You can * also use SET to add or subtract from an attribute that is of type * Number. For example: SET myNum = myNum + :val *

                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                        - * SET supports the following functions:

                                                                                                                                                                                                                                                                                                                                        - *
                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                          + * SET supports the following functions:

                                                                                                                                                                                                                                                                                                                                          + *
                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                            - * if_not_exists (path, operand) - if the item does not contain an attribute at the specified path, then if_not_exists evaluates to operand; otherwise, it evaluates to path. You can use this function to avoid overwriting an attribute that may already be present in the item.

                                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                                                                                                                            + * if_not_exists (path, operand) - if the item does not + * contain an attribute at the specified path, then + * if_not_exists evaluates to operand; otherwise, it + * evaluates to path. You can use this function to avoid overwriting an + * attribute that may already be present in the item.

                                                                                                                                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                            - * list_append (operand, operand) - evaluates to a list with a new element added to it. You can append the new element to the start or the end of the list by reversing the order of the operands.

                                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                                                                                                                            + * list_append (operand, operand) - evaluates to a list with a + * new element added to it. You can append the new element to the start or + * the end of the list by reversing the order of the operands.

                                                                                                                                                                                                                                                                                                                                            + * *
                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          These function names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                          These function names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                          * *
                                                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                                                          - * REMOVE - Removes one or more attributes from an item.

                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                          + * REMOVE - Removes one or more attributes from an item.

                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                                        • - *

                                                                                                                                                                                                                                                                                                                                          - * ADD - Adds the specified value to the item, if the attribute does not already exist. If the attribute does exist, then the behavior of - * ADD depends on the data type of the attribute:

                                                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                            + * ADD - Adds the specified value to the item, if the attribute does + * not already exist. If the attribute does exist, then the behavior of + * ADD depends on the data type of the attribute:

                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                              If the existing attribute is a number, and if Value is also a number, then - * Value is mathematically added to the existing attribute. If Value is a - * negative number, then it is subtracted from the existing attribute.

                                                                                                                                                                                                                                                                                                                                              - * - *

                                                                                                                                                                                                                                                                                                                                              If you use ADD to increment or decrement a number value for an item - * that doesn't exist before the update, DynamoDB uses 0 as the initial - * value.

                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              Similarly, if you use ADD for an existing item to increment - * or decrement an attribute value that doesn't exist before the - * update, DynamoDB uses 0 as the initial value. For + *

                                                                                                                                                                                                                                                                                                                                              If the existing attribute is a number, and if Value is + * also a number, then Value is mathematically added to the + * existing attribute. If Value is a negative number, then it + * is subtracted from the existing attribute.

                                                                                                                                                                                                                                                                                                                                              + * + *

                                                                                                                                                                                                                                                                                                                                              If you use ADD to increment or decrement a number + * value for an item that doesn't exist before the update, DynamoDB + * uses 0 as the initial value.

                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              Similarly, if you use ADD for an existing item to + * increment or decrement an attribute value that doesn't exist before + * the update, DynamoDB uses 0 as the initial value. For * example, suppose that the item you want to update doesn't have an * attribute named itemcount, but you decide to * ADD the number 3 to this attribute @@ -10354,134 +10961,151 @@ export interface UpdateItemInput { * 3 to it. The result will be a new * itemcount attribute in the item, with a value of * 3.

                                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                            • + * + * *
                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                              If the existing data type is a set and if Value is also a set, then - * Value is added to the existing set. For example, if the attribute value is the set - * [1,2], and the ADD action specified [3], then - * the final attribute value is [1,2,3]. An error occurs if an ADD - * action is specified for a set attribute and the attribute type specified does not - * match the existing set type.

                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              Both sets must have the same primitive data type. For example, if the existing data - * type is a set of strings, the Value must also be a set of strings.

                                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                            • + *

                                                                                                                                                                                                                                                                                                                                              If the existing data type is a set and if Value is also a + * set, then Value is added to the existing set. For example, + * if the attribute value is the set [1,2], and the + * ADD action specified [3], then the final + * attribute value is [1,2,3]. An error occurs if an + * ADD action is specified for a set attribute and the + * attribute type specified does not match the existing set type.

                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              Both sets must have the same primitive data type. For example, if the + * existing data type is a set of strings, the Value must also + * be a set of strings.

                                                                                                                                                                                                                                                                                                                                              + * *
                                                                                                                                                                                                                                                                                                                                            - * - *

                                                                                                                                                                                                                                                                                                                                            The ADD action only supports Number and set data types. In addition, - * ADD can only be used on top-level attributes, not nested attributes.

                                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                                            - * - *
                                                                                                                                                                                                                                                                                                                                          • - *

                                                                                                                                                                                                                                                                                                                                            - * DELETE - Deletes an element from a set.

                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                            If a set of values is specified, then those values are subtracted from the old - * set. For example, if the attribute value was the set [a,b,c] and the - * DELETE action specifies [a,c], then the final attribute value - * is [b]. Specifying an empty set is an error.

                                                                                                                                                                                                                                                                                                                                            - * - *

                                                                                                                                                                                                                                                                                                                                            The DELETE action only supports set data types. In addition, - * DELETE can only be used on top-level attributes, not nested attributes.

                                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                                            + * + *

                                                                                                                                                                                                                                                                                                                                            The ADD action only supports Number and set data types. In + * addition, ADD can only be used on top-level attributes, not + * nested attributes.

                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                          • + *
                                                                                                                                                                                                                                                                                                                                          • + *

                                                                                                                                                                                                                                                                                                                                            + * DELETE - Deletes an element from a set.

                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                            If a set of values is specified, then those values are subtracted from the old + * set. For example, if the attribute value was the set [a,b,c] and + * the DELETE action specifies [a,c], then the final + * attribute value is [b]. Specifying an empty set is an error.

                                                                                                                                                                                                                                                                                                                                            + * + *

                                                                                                                                                                                                                                                                                                                                            The DELETE action only supports set data types. In addition, + * DELETE can only be used on top-level attributes, not nested + * attributes.

                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                            * *
                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          You can have many actions in a single expression, such as the following: SET a=:value1, - * b=:value2 DELETE :value3, :value4, :value5 - *

                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          For more information on update expressions, see Modifying Items and Attributes in the Amazon DynamoDB Developer Guide.

                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                          You can have many actions in a single expression, such as the following: SET + * a=:value1, b=:value2 DELETE :value3, :value4, :value5 + *

                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                          For more information on update expressions, see Modifying + * Items and Attributes in the Amazon DynamoDB Developer + * Guide.

                                                                                                                                                                                                                                                                                                                                          */ UpdateExpression?: string; /** - *

                                                                                                                                                                                                                                                                                                                                          A condition that must be satisfied in order for a conditional update to succeed.

                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                          An expression can contain any of the following:

                                                                                                                                                                                                                                                                                                                                          - *
                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                            A condition that must be satisfied in order for a conditional update to + * succeed.

                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                            An expression can contain any of the following:

                                                                                                                                                                                                                                                                                                                                            + *
                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                              Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size - *

                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              These function names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              Functions: attribute_exists | attribute_not_exists | attribute_type | + * contains | begins_with | size + *

                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              These function names are case-sensitive.

                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                              Comparison operators: = | <> | + *

                                                                                                                                                                                                                                                                                                                                              Comparison operators: = | <> | * < | > | <= | >= | * BETWEEN | IN - *

                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                              Logical operators: AND | OR | NOT - *

                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              Logical operators: AND | OR | NOT + *

                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                            For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer + *

                                                                                                                                                                                                                                                                                                                                            For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                                                                            */ ConditionExpression?: string; /** - *

                                                                                                                                                                                                                                                                                                                                            One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                                                            - *
                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                              One or more substitution tokens for attribute names in an expression. The following + * are some use cases for using ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                                                              + *
                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                                                To access an attribute whose name conflicts with a DynamoDB reserved word.

                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                To access an attribute whose name conflicts with a DynamoDB reserved + * word.

                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                                                To create a placeholder for repeating occurrences of an attribute name in an expression.

                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                To create a placeholder for repeating occurrences of an attribute name in an + * expression.

                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                                              • - *

                                                                                                                                                                                                                                                                                                                                                To prevent special characters in an attribute name from being misinterpreted in an expression.

                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                To prevent special characters in an attribute name from being misinterpreted + * in an expression.

                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                                              - *

                                                                                                                                                                                                                                                                                                                                              Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                                                                              - *
                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                Use the # character in an expression to dereference + * an attribute name. For example, consider the following attribute name:

                                                                                                                                                                                                                                                                                                                                                + *
                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                • - *

                                                                                                                                                                                                                                                                                                                                                  - * Percentile - *

                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                  + * Percentile + *

                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                The name of this attribute conflicts with a reserved word, so it cannot be used directly - * in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer + *

                                                                                                                                                                                                                                                                                                                                                The name of this attribute conflicts with a reserved word, so it cannot be used + * directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer * Guide.) To work around this, you could specify the following for * ExpressionAttributeNames:

                                                                                                                                                                                                                                                                                                                                                - *
                                                                                                                                                                                                                                                                                                                                                  + *
                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • - *

                                                                                                                                                                                                                                                                                                                                                    - * {"#P":"Percentile"} - *

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    + * {"#P":"Percentile"} + *

                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                  • *
                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                  You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                                                                                  - *
                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    You could then use this substitution in an expression, as in this example:

                                                                                                                                                                                                                                                                                                                                                    + *
                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • - *

                                                                                                                                                                                                                                                                                                                                                      - * #P = :val - *

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      + * #P = :val + *

                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                    • *
                                                                                                                                                                                                                                                                                                                                                    - * - *

                                                                                                                                                                                                                                                                                                                                                    Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    For more information about expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer + * + *

                                                                                                                                                                                                                                                                                                                                                    Tokens that begin with the : character are + * expression attribute values, which are placeholders for the + * actual value at runtime.

                                                                                                                                                                                                                                                                                                                                                    + * + *

                                                                                                                                                                                                                                                                                                                                                    For more information about expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                                                                                    */ ExpressionAttributeNames?: { [key: string]: string }; /** *

                                                                                                                                                                                                                                                                                                                                                    One or more values that can be substituted in an expression.

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    Use the : (colon) character in an expression to + *

                                                                                                                                                                                                                                                                                                                                                    Use the : (colon) character in an expression to * dereference an attribute value. For example, suppose that you wanted to check whether * the value of the ProductStatus attribute was one of the following:

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    * Available | Backordered | Discontinued - *

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    You would first need to specify ExpressionAttributeValues as follows:

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    - * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, ":disc":{"S":"Discontinued"} } - *

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    You would first need to specify ExpressionAttributeValues as + * follows:

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    + * { ":avail":{"S":"Available"}, ":back":{"S":"Backordered"}, + * ":disc":{"S":"Discontinued"} } + *

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    You could then use these values in an expression, such as this:

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    * ProductStatus IN (:avail, :back, :disc) - *

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    *

                                                                                                                                                                                                                                                                                                                                                    For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer * Guide.

                                                                                                                                                                                                                                                                                                                                                    */ @@ -10534,7 +11158,8 @@ export namespace UpdateItemInput { } /** - *

                                                                                                                                                                                                                                                                                                                                                    A list of requests that can perform update, put, delete, or check operations on multiple items in one or more tables atomically.

                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                    A list of requests that can perform update, put, delete, or check operations on + * multiple items in one or more tables atomically.

                                                                                                                                                                                                                                                                                                                                                    */ export interface TransactWriteItem { /** @@ -10576,55 +11201,64 @@ export interface TransactWriteItemsInput { *

                                                                                                                                                                                                                                                                                                                                                    An ordered array of up to 25 TransactWriteItem objects, each of which * contains a ConditionCheck, Put, Update, or * Delete object. These can operate on items in different tables, but the - * tables must reside in the same AWS account and Region, and no two of them can operate on - * the same item.

                                                                                                                                                                                                                                                                                                                                                    + * tables must reside in the same Amazon Web Services account and Region, and no two of them + * can operate on the same item.

                                                                                                                                                                                                                                                                                                                                                    */ TransactItems: TransactWriteItem[] | undefined; /** - *

                                                                                                                                                                                                                                                                                                                                                    Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                                                                                                                                                                                                                                                                                                                                    - *
                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      Determines the level of detail about provisioned throughput consumption that is + * returned in the response:

                                                                                                                                                                                                                                                                                                                                                      + *
                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                        - * INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                        Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        + * INDEXES - The response includes the aggregate + * ConsumedCapacity for the operation, together with + * ConsumedCapacity for each table and secondary index that was + * accessed.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Note that some operations, such as GetItem and + * BatchGetItem, do not access any indexes at all. In these cases, + * specifying INDEXES will only return ConsumedCapacity + * information for table(s).

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                        - * TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        + * TOTAL - The response includes only the aggregate + * ConsumedCapacity for the operation.

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                        - * NONE - No ConsumedCapacity details are included in the response.

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        + * NONE - No ConsumedCapacity details are included in the + * response.

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                      */ ReturnConsumedCapacity?: ReturnConsumedCapacity | string; /** - *

                                                                                                                                                                                                                                                                                                                                                      Determines whether item collection metrics are returned. If set to - * SIZE, the response includes statistics about item collections (if any), that - * were modified during the operation and are returned in the response. - * If set to NONE (the default), no statistics are returned. - *

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      Determines whether item collection metrics are returned. If set to SIZE, + * the response includes statistics about item collections (if any), that were modified + * during the operation and are returned in the response. If set to NONE (the + * default), no statistics are returned.

                                                                                                                                                                                                                                                                                                                                                      */ ReturnItemCollectionMetrics?: ReturnItemCollectionMetrics | string; /** - *

                                                                                                                                                                                                                                                                                                                                                      Providing a ClientRequestToken makes the call to TransactWriteItems - * idempotent, meaning that multiple identical calls have the same effect as one single call.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      Although multiple identical calls using the same client request token produce the same + *

                                                                                                                                                                                                                                                                                                                                                      Providing a ClientRequestToken makes the call to + * TransactWriteItems idempotent, meaning that multiple identical calls + * have the same effect as one single call.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      Although multiple identical calls using the same client request token produce the same * result on the server (no side effects), the responses to the calls might not be the * same. If the ReturnConsumedCapacity> parameter is set, then the initial * TransactWriteItems call returns the amount of write capacity units * consumed in making the changes. Subsequent TransactWriteItems calls with * the same client token return the number of read capacity units consumed in reading the * item.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      A client request token is valid for 10 minutes after the first request that uses it is + *

                                                                                                                                                                                                                                                                                                                                                      A client request token is valid for 10 minutes after the first request that uses it is * completed. After 10 minutes, any request with the same client token is treated as a new * request. Do not resubmit the same request with the same client token for more than 10 * minutes, or the result might not be idempotent.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      If you submit a request with the same client token but a change in other parameters + *

                                                                                                                                                                                                                                                                                                                                                      If you submit a request with the same client token but a change in other parameters * within the 10-minute idempotency window, DynamoDB returns an * IdempotentParameterMismatch exception.

                                                                                                                                                                                                                                                                                                                                                      */ diff --git a/clients/client-ebs/src/endpoints.ts b/clients/client-ebs/src/endpoints.ts index 8e993fa501e67..2ec1e3949fd93 100644 --- a/clients/client-ebs/src/endpoints.ts +++ b/clients/client-ebs/src/endpoints.ts @@ -144,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "ebs.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ebs-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -154,6 +158,10 @@ const partitionHash: PartitionHash = { hostname: "ebs.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ebs-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ec2-instance-connect/src/endpoints.ts b/clients/client-ec2-instance-connect/src/endpoints.ts index d1617b949a1fa..93fc4503a6c17 100644 --- a/clients/client-ec2-instance-connect/src/endpoints.ts +++ b/clients/client-ec2-instance-connect/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "ec2-instance-connect.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ec2-instance-connect-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "ec2-instance-connect.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ec2-instance-connect-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts b/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts index cc5b99efd9aeb..7734a36d5d851 100644 --- a/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeSubnetsCommand.ts @@ -12,7 +12,8 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeSubnetsRequest, DescribeSubnetsResult } from "../models/models_3"; +import { DescribeSubnetsRequest } from "../models/models_3"; +import { DescribeSubnetsResult } from "../models/models_4"; import { deserializeAws_ec2DescribeSubnetsCommand, serializeAws_ec2DescribeSubnetsCommand } from "../protocols/Aws_ec2"; export interface DescribeSubnetsCommandInput extends DescribeSubnetsRequest {} diff --git a/clients/client-ec2/src/commands/ModifyInstanceCreditSpecificationCommand.ts b/clients/client-ec2/src/commands/ModifyInstanceCreditSpecificationCommand.ts index fabd93121ebed..f6376738d4d38 100644 --- a/clients/client-ec2/src/commands/ModifyInstanceCreditSpecificationCommand.ts +++ b/clients/client-ec2/src/commands/ModifyInstanceCreditSpecificationCommand.ts @@ -12,8 +12,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyInstanceCreditSpecificationRequest } from "../models/models_4"; -import { ModifyInstanceCreditSpecificationResult } from "../models/models_5"; +import { ModifyInstanceCreditSpecificationRequest, ModifyInstanceCreditSpecificationResult } from "../models/models_5"; import { deserializeAws_ec2ModifyInstanceCreditSpecificationCommand, serializeAws_ec2ModifyInstanceCreditSpecificationCommand, diff --git a/clients/client-ec2/src/endpoints.ts b/clients/client-ec2/src/endpoints.ts index 9f85a3daaad84..2c94689d50faf 100644 --- a/clients/client-ec2/src/endpoints.ts +++ b/clients/client-ec2/src/endpoints.ts @@ -210,6 +210,10 @@ const partitionHash: PartitionHash = { hostname: "ec2.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ec2-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -220,6 +224,10 @@ const partitionHash: PartitionHash = { hostname: "ec2.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ec2-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ec2/src/models/models_1.ts b/clients/client-ec2/src/models/models_1.ts index 0b420ff9acd75..6e17b686cba5f 100644 --- a/clients/client-ec2/src/models/models_1.ts +++ b/clients/client-ec2/src/models/models_1.ts @@ -6083,6 +6083,8 @@ export interface CreateRouteRequest { *

                                                                                                                                                                                                                                                                                                                                                      The ID of a VPC peering connection.

                                                                                                                                                                                                                                                                                                                                                      */ VpcPeeringConnectionId?: string; + + CoreNetworkArn?: string; } export namespace CreateRouteRequest { @@ -6299,6 +6301,8 @@ export interface Route { *

                                                                                                                                                                                                                                                                                                                                                      The ID of a VPC peering connection.

                                                                                                                                                                                                                                                                                                                                                      */ VpcPeeringConnectionId?: string; + + CoreNetworkArn?: string; } export namespace Route { diff --git a/clients/client-ec2/src/models/models_2.ts b/clients/client-ec2/src/models/models_2.ts index 667070f34bef8..d0327f311c71c 100644 --- a/clients/client-ec2/src/models/models_2.ts +++ b/clients/client-ec2/src/models/models_2.ts @@ -845,6 +845,13 @@ export namespace CreateVpnConnectionRequest { }); } +export enum GatewayAssociationState { + associated = "associated", + associating = "associating", + disassociating = "disassociating", + not_associated = "not-associated", +} + /** *

                                                                                                                                                                                                                                                                                                                                                      The internet key exchange (IKE) version permitted for the VPN tunnel.

                                                                                                                                                                                                                                                                                                                                                      */ @@ -1293,7 +1300,7 @@ export interface VpnConnection { /** *

                                                                                                                                                                                                                                                                                                                                                      The current state of the gateway association.

                                                                                                                                                                                                                                                                                                                                                      */ - GatewayAssociationState?: string; + GatewayAssociationState?: GatewayAssociationState | string; /** *

                                                                                                                                                                                                                                                                                                                                                      The VPN connection options.

                                                                                                                                                                                                                                                                                                                                                      @@ -9467,35 +9474,3 @@ export namespace DescribeHostsRequest { ...obj, }); } - -/** - *

                                                                                                                                                                                                                                                                                                                                                      Information about the number of instances that can be launched onto the Dedicated - * Host.

                                                                                                                                                                                                                                                                                                                                                      - */ -export interface InstanceCapacity { - /** - *

                                                                                                                                                                                                                                                                                                                                                      The number of instances that can be launched onto the Dedicated Host based on the - * host's available capacity.

                                                                                                                                                                                                                                                                                                                                                      - */ - AvailableCapacity?: number; - - /** - *

                                                                                                                                                                                                                                                                                                                                                      The instance type supported by the Dedicated Host.

                                                                                                                                                                                                                                                                                                                                                      - */ - InstanceType?: string; - - /** - *

                                                                                                                                                                                                                                                                                                                                                      The total number of instances that can be launched onto the Dedicated Host if there - * are no instances running on it.

                                                                                                                                                                                                                                                                                                                                                      - */ - TotalCapacity?: number; -} - -export namespace InstanceCapacity { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceCapacity): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_3.ts b/clients/client-ec2/src/models/models_3.ts index 14939af9f959d..866eecea2d039 100644 --- a/clients/client-ec2/src/models/models_3.ts +++ b/clients/client-ec2/src/models/models_3.ts @@ -23,7 +23,6 @@ import { ReservedInstancesListing, ResourceType, SecurityGroupRule, - Subnet, Tag, TagSpecification, TargetCapacityUnitType, @@ -68,12 +67,43 @@ import { EventInformation, Filter, IdFormat, - InstanceCapacity, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, } from "./models_2"; +/** + *

                                                                                                                                                                                                                                                                                                                                                      Information about the number of instances that can be launched onto the Dedicated + * Host.

                                                                                                                                                                                                                                                                                                                                                      + */ +export interface InstanceCapacity { + /** + *

                                                                                                                                                                                                                                                                                                                                                      The number of instances that can be launched onto the Dedicated Host based on the + * host's available capacity.

                                                                                                                                                                                                                                                                                                                                                      + */ + AvailableCapacity?: number; + + /** + *

                                                                                                                                                                                                                                                                                                                                                      The instance type supported by the Dedicated Host.

                                                                                                                                                                                                                                                                                                                                                      + */ + InstanceType?: string; + + /** + *

                                                                                                                                                                                                                                                                                                                                                      The total number of instances that can be launched onto the Dedicated Host if there + * are no instances running on it.

                                                                                                                                                                                                                                                                                                                                                      + */ + TotalCapacity?: number; +} + +export namespace InstanceCapacity { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceCapacity): any => ({ + ...obj, + }); +} + /** *

                                                                                                                                                                                                                                                                                                                                                      The capacity information for instances that can be launched onto the Dedicated Host.

                                                                                                                                                                                                                                                                                                                                                      */ @@ -12955,24 +12985,3 @@ export namespace DescribeSubnetsRequest { ...obj, }); } - -export interface DescribeSubnetsResult { - /** - *

                                                                                                                                                                                                                                                                                                                                                      Information about one or more subnets.

                                                                                                                                                                                                                                                                                                                                                      - */ - Subnets?: Subnet[]; - - /** - *

                                                                                                                                                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                                                                                                                                                                                                                                                                                      - */ - NextToken?: string; -} - -export namespace DescribeSubnetsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeSubnetsResult): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts index e5da052253d54..b371d3b1d8497 100644 --- a/clients/client-ec2/src/models/models_4.ts +++ b/clients/client-ec2/src/models/models_4.ts @@ -21,6 +21,7 @@ import { Placement, ResourceType, SelfServicePortal, + Subnet, SubnetAssociation, SubnetIpv6CidrBlockAssociation, Tag, @@ -95,6 +96,27 @@ import { VirtualizationType, } from "./models_3"; +export interface DescribeSubnetsResult { + /** + *

                                                                                                                                                                                                                                                                                                                                                      Information about one or more subnets.

                                                                                                                                                                                                                                                                                                                                                      + */ + Subnets?: Subnet[]; + + /** + *

                                                                                                                                                                                                                                                                                                                                                      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

                                                                                                                                                                                                                                                                                                                                                      + */ + NextToken?: string; +} + +export namespace DescribeSubnetsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeSubnetsResult): any => ({ + ...obj, + }); +} + export interface DescribeTagsRequest { /** *

                                                                                                                                                                                                                                                                                                                                                      Checks whether you have the required permissions for the action, without actually making the request, @@ -10012,33 +10034,3 @@ export namespace InstanceCreditSpecificationRequest { ...obj, }); } - -export interface ModifyInstanceCreditSpecificationRequest { - /** - *

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

                                                                                                                                                                                                                                                                                                                                                      - */ - DryRun?: boolean; - - /** - *

                                                                                                                                                                                                                                                                                                                                                      A unique, case-sensitive token that you provide to ensure idempotency of your - * modification request. For more information, see Ensuring - * Idempotency.

                                                                                                                                                                                                                                                                                                                                                      - */ - ClientToken?: string; - - /** - *

                                                                                                                                                                                                                                                                                                                                                      Information about the credit option for CPU usage.

                                                                                                                                                                                                                                                                                                                                                      - */ - InstanceCreditSpecifications: InstanceCreditSpecificationRequest[] | undefined; -} - -export namespace ModifyInstanceCreditSpecificationRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ModifyInstanceCreditSpecificationRequest): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index a9d0f864edd73..2459cb3294813 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -94,7 +94,43 @@ import { SpotInstanceRequest, SpotPlacement, } from "./models_3"; -import { CapacityReservationSpecification, OperationType, Purchase, VolumeModification } from "./models_4"; +import { + CapacityReservationSpecification, + InstanceCreditSpecificationRequest, + OperationType, + Purchase, + VolumeModification, +} from "./models_4"; + +export interface ModifyInstanceCreditSpecificationRequest { + /** + *

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

                                                                                                                                                                                                                                                                                                                                                      + */ + DryRun?: boolean; + + /** + *

                                                                                                                                                                                                                                                                                                                                                      A unique, case-sensitive token that you provide to ensure idempotency of your + * modification request. For more information, see Ensuring + * Idempotency.

                                                                                                                                                                                                                                                                                                                                                      + */ + ClientToken?: string; + + /** + *

                                                                                                                                                                                                                                                                                                                                                      Information about the credit option for CPU usage.

                                                                                                                                                                                                                                                                                                                                                      + */ + InstanceCreditSpecifications: InstanceCreditSpecificationRequest[] | undefined; +} + +export namespace ModifyInstanceCreditSpecificationRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifyInstanceCreditSpecificationRequest): any => ({ + ...obj, + }); +} /** *

                                                                                                                                                                                                                                                                                                                                                      Describes the burstable performance instance whose credit option for CPU usage was @@ -2759,7 +2795,7 @@ export interface ProvisionByoipCidrRequest { PoolTagSpecifications?: TagSpecification[]; /** - * Reserved. + *

                                                                                                                                                                                                                                                                                                                                                      Reserved.

                                                                                                                                                                                                                                                                                                                                                      */ MultiRegion?: boolean; } @@ -3928,6 +3964,8 @@ export interface ReplaceRouteRequest { *

                                                                                                                                                                                                                                                                                                                                                      The ID of a VPC peering connection.

                                                                                                                                                                                                                                                                                                                                                      */ VpcPeeringConnectionId?: string; + + CoreNetworkArn?: string; } export namespace ReplaceRouteRequest { diff --git a/clients/client-ec2/src/protocols/Aws_ec2.ts b/clients/client-ec2/src/protocols/Aws_ec2.ts index 695a0f4c93598..3015bbecd1dad 100644 --- a/clients/client-ec2/src/protocols/Aws_ec2.ts +++ b/clients/client-ec2/src/protocols/Aws_ec2.ts @@ -2316,7 +2316,6 @@ import { ImportInstanceTaskDetails, ImportInstanceVolumeDetailItem, ImportVolumeTaskDetails, - InstanceCapacity, InstanceEventWindowStateChange, InstanceTagNotificationAttribute, LoadPermission, @@ -2493,7 +2492,6 @@ import { DescribeStoreImageTasksRequest, DescribeStoreImageTasksResult, DescribeSubnetsRequest, - DescribeSubnetsResult, DiskInfo, EbsInfo, EbsInstanceBlockDevice, @@ -2524,6 +2522,7 @@ import { Instance, InstanceAttribute, InstanceBlockDeviceMapping, + InstanceCapacity, InstanceCreditSpecification, InstanceIpv4Prefix, InstanceIpv6Prefix, @@ -2623,6 +2622,7 @@ import { ClientCertificateRevocationListStatus, ClientData, CoipAddressUsage, + DescribeSubnetsResult, DescribeTagsRequest, DescribeTagsResult, DescribeTrafficMirrorFiltersRequest, @@ -2870,7 +2870,6 @@ import { ModifyInstanceAttributeRequest, ModifyInstanceCapacityReservationAttributesRequest, ModifyInstanceCapacityReservationAttributesResult, - ModifyInstanceCreditSpecificationRequest, PrefixListAssociation, PrefixListEntry, PrivateDnsDetails, @@ -2917,6 +2916,7 @@ import { InstanceStateChange, LaunchTemplateSpecification, LicenseConfigurationRequest, + ModifyInstanceCreditSpecificationRequest, ModifyInstanceCreditSpecificationResult, ModifyInstanceEventStartTimeRequest, ModifyInstanceEventStartTimeResult, @@ -35167,6 +35167,9 @@ const serializeAws_ec2CreateRouteRequest = (input: CreateRouteRequest, context: if (input.VpcPeeringConnectionId !== undefined && input.VpcPeeringConnectionId !== null) { entries["VpcPeeringConnectionId"] = input.VpcPeeringConnectionId; } + if (input.CoreNetworkArn !== undefined && input.CoreNetworkArn !== null) { + entries["CoreNetworkArn"] = input.CoreNetworkArn; + } return entries; }; @@ -48091,6 +48094,9 @@ const serializeAws_ec2ReplaceRouteRequest = (input: ReplaceRouteRequest, context if (input.VpcPeeringConnectionId !== undefined && input.VpcPeeringConnectionId !== null) { entries["VpcPeeringConnectionId"] = input.VpcPeeringConnectionId; } + if (input.CoreNetworkArn !== undefined && input.CoreNetworkArn !== null) { + entries["CoreNetworkArn"] = input.CoreNetworkArn; + } return entries; }; @@ -71395,6 +71401,7 @@ const deserializeAws_ec2Route = (output: any, context: __SerdeContext): Route => Origin: undefined, State: undefined, VpcPeeringConnectionId: undefined, + CoreNetworkArn: undefined, }; if (output["destinationCidrBlock"] !== undefined) { contents.DestinationCidrBlock = __expectString(output["destinationCidrBlock"]); @@ -71441,6 +71448,9 @@ const deserializeAws_ec2Route = (output: any, context: __SerdeContext): Route => if (output["vpcPeeringConnectionId"] !== undefined) { contents.VpcPeeringConnectionId = __expectString(output["vpcPeeringConnectionId"]); } + if (output["coreNetworkArn"] !== undefined) { + contents.CoreNetworkArn = __expectString(output["coreNetworkArn"]); + } return contents; }; diff --git a/clients/client-ecr-public/src/endpoints.ts b/clients/client-ecr-public/src/endpoints.ts index 2c1925def71cd..db2f79aff97e5 100644 --- a/clients/client-ecr-public/src/endpoints.ts +++ b/clients/client-ecr-public/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "api.ecr-public.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.ecr-public-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "api.ecr-public.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.ecr-public-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ecr/src/endpoints.ts b/clients/client-ecr/src/endpoints.ts index 8e438ec364d99..4a8dba7d6bdda 100644 --- a/clients/client-ecr/src/endpoints.ts +++ b/clients/client-ecr/src/endpoints.ts @@ -359,6 +359,10 @@ const partitionHash: PartitionHash = { hostname: "api.ecr.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.ecr-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -369,6 +373,10 @@ const partitionHash: PartitionHash = { hostname: "api.ecr.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.ecr-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ecs/README.md b/clients/client-ecs/README.md index 5d13d13f04239..830a4e16dc6bf 100644 --- a/clients/client-ecs/README.md +++ b/clients/client-ecs/README.md @@ -9,18 +9,18 @@ AWS SDK for JavaScript ECS Client for Node.js, Browser and React Native. Amazon Elastic Container Service -

                                                                                                                                                                                                                                                                                                                                                      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes +

                                                                                                                                                                                                                                                                                                                                                      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes it easy to run, stop, and manage Docker containers on a cluster. You can host your -cluster on a serverless infrastructure that is managed by Amazon ECS by launching your +cluster on a serverless infrastructure that's managed by Amazon ECS by launching your services or tasks on Fargate. For more control, you can host your tasks on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.

                                                                                                                                                                                                                                                                                                                                                      Amazon ECS makes it easy to launch and stop container-based applications with simple API -calls, allows you to get the state of your cluster from a centralized service, and gives -you access to many familiar Amazon EC2 features.

                                                                                                                                                                                                                                                                                                                                                      +calls. This makes it easy to get the state of your cluster from a centralized service, +and gives you access to many familiar Amazon EC2 features.

                                                                                                                                                                                                                                                                                                                                                      You can use Amazon ECS to schedule the placement of containers across your cluster based on -your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates -the need for you to operate your own cluster management and configuration management -systems or worry about scaling your management infrastructure.

                                                                                                                                                                                                                                                                                                                                                      +your resource needs, isolation policies, and availability requirements. With Amazon ECS, you +don't need to operate your own cluster management and configuration management systems. +You also don't need to worry about scaling your management infrastructure.

                                                                                                                                                                                                                                                                                                                                                      ## Installing diff --git a/clients/client-ecs/src/ECS.ts b/clients/client-ecs/src/ECS.ts index 4f7378799ffc6..35c0e0e9e7962 100644 --- a/clients/client-ecs/src/ECS.ts +++ b/clients/client-ecs/src/ECS.ts @@ -244,28 +244,28 @@ import { ECSClient } from "./ECSClient"; /** * Amazon Elastic Container Service - *

                                                                                                                                                                                                                                                                                                                                                      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes + *

                                                                                                                                                                                                                                                                                                                                                      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes * it easy to run, stop, and manage Docker containers on a cluster. You can host your - * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your + * cluster on a serverless infrastructure that's managed by Amazon ECS by launching your * services or tasks on Fargate. For more control, you can host your tasks on a cluster * of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.

                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                      Amazon ECS makes it easy to launch and stop container-based applications with simple API - * calls, allows you to get the state of your cluster from a centralized service, and gives - * you access to many familiar Amazon EC2 features.

                                                                                                                                                                                                                                                                                                                                                      + * calls. This makes it easy to get the state of your cluster from a centralized service, + * and gives you access to many familiar Amazon EC2 features.

                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                      You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates - * the need for you to operate your own cluster management and configuration management - * systems or worry about scaling your management infrastructure.

                                                                                                                                                                                                                                                                                                                                                      + * your resource needs, isolation policies, and availability requirements. With Amazon ECS, you + * don't need to operate your own cluster management and configuration management systems. + * You also don't need to worry about scaling your management infrastructure.

                                                                                                                                                                                                                                                                                                                                                      */ export class ECS extends ECSClient { /** *

                                                                                                                                                                                                                                                                                                                                                      Creates a new capacity provider. Capacity providers are associated with an Amazon ECS * cluster and are used in capacity provider strategies to facilitate cluster auto * scaling.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on - * Fargate use the FARGATE and FARGATE_SPOT capacity providers - * which are already created and available to all accounts in Regions supported by - * Fargate.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on + * Fargate use the FARGATE and FARGATE_SPOT capacity providers. + * These providers are available to all accounts in the Amazon Web Services Regions that Fargate + * supports.

                                                                                                                                                                                                                                                                                                                                                      */ public createCapacityProvider( args: CreateCapacityProviderCommandInput, @@ -302,10 +302,10 @@ export class ECS extends ECSClient { * cluster with a unique name with the CreateCluster action.

                                                                                                                                                                                                                                                                                                                                                      * *

                                                                                                                                                                                                                                                                                                                                                      When you call the CreateCluster API operation, Amazon ECS attempts to - * create the Amazon ECS service-linked role for your account so that required resources in - * other Amazon Web Services services can be managed on your behalf. However, if the IAM user that - * makes the call does not have permissions to create the service-linked role, it is - * not created. For more information, see Using + * create the Amazon ECS service-linked role for your account. This is so that it can manage + * required resources in other Amazon Web Services services on your behalf. However, if the IAM user + * that makes the call doesn't have permissions to create the service-linked role, it + * isn't created. For more information, see Using * Service-Linked Roles for Amazon ECS in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                      @@ -340,26 +340,25 @@ export class ECS extends ECSClient { } /** - *

                                                                                                                                                                                                                                                                                                                                                      Runs and maintains a desired number of tasks from a specified task definition. If the - * number of tasks running in a service drops below the desiredCount, Amazon ECS - * runs another copy of the task in the specified cluster. To update an existing service, - * see the UpdateService action.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      Runs and maintains your desired number of tasks from a specified task definition. If + * the number of tasks running in a service drops below the desiredCount, + * Amazon ECS runs another copy of the task in the specified cluster. To update an existing + * service, see the UpdateService action.

                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                      In addition to maintaining the desired count of tasks in your service, you can * optionally run your service behind one or more load balancers. The load balancers * distribute traffic across the tasks that are associated with the service. For more * information, see Service Load Balancing in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      Tasks for services that do not use a load balancer are considered - * healthy if they're in the RUNNING state. Tasks for services that - * do use a load balancer are considered healthy if they're in the - * RUNNING state and the container instance that they're hosted on is - * reported as healthy by the load balancer.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      Tasks for services that don't use a load balancer are considered healthy if they're in + * the RUNNING state. Tasks for services that use a load balancer are + * considered healthy if they're in the RUNNING state and the container + * instance that they're hosted on is reported as healthy by the load balancer.

                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                      There are two service scheduler strategies available:

                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                        * REPLICA - The replica scheduling strategy places and - * maintains the desired number of tasks across your cluster. By default, the + * maintains your desired number of tasks across your cluster. By default, the * service scheduler spreads tasks across Availability Zones. You can use task * placement strategies and constraints to customize task placement decisions. For * more information, see Service Scheduler Concepts in the @@ -370,50 +369,51 @@ export class ECS extends ECSClient { * DAEMON - The daemon scheduling strategy deploys exactly one * task on each active container instance that meets all of the task placement * constraints that you specify in your cluster. The service scheduler also - * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints. When using this strategy, you don't + * evaluates the task placement constraints for running tasks. It also stops tasks + * that don't meet the placement constraints. When using this strategy, you don't * need to specify a desired number of tasks, a task placement strategy, or use * Service Auto Scaling policies. For more information, see Service Scheduler Concepts in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                      You can optionally specify a deployment configuration for your service. The deployment - * is triggered by changing properties, such as the task definition or the desired count of - * a service, with an UpdateService operation. The default value for a - * replica service for minimumHealthyPercent is 100%. The default value for a - * daemon service for minimumHealthyPercent is 0%.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      If a service is using the ECS deployment controller, the minimum healthy + * is initiated by changing properties. For example, the deployment might be initiated by + * the task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for + * minimumHealthyPercent is 100%. The default value for a daemon service + * for minimumHealthyPercent is 0%.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      If a service uses the ECS deployment controller, the minimum healthy * percent represents a lower limit on the number of tasks in a service that must remain in - * the RUNNING state during a deployment, as a percentage of the desired - * number of tasks (rounded up to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to deploy without using - * additional cluster capacity. For example, if your service has a desired number of four - * tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks - * to free up cluster capacity before starting two new tasks. Tasks for services that - * do not use a load balancer are considered healthy if they're in - * the RUNNING state. Tasks for services that do use a - * load balancer are considered healthy if they're in the RUNNING state and - * they're reported as healthy by the load balancer. The default value for minimum healthy - * percent is 100%.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the + * the RUNNING state during a deployment. Specifically, it represents it as a + * percentage of your desired number of tasks (rounded up to the nearest integer). This + * happens when any of your container instances are in the DRAINING state if + * the service contains tasks using the EC2 launch type. Using this + * parameter, you can deploy without using additional cluster capacity. For example, if you + * set your service to have desired number of four tasks and a minimum healthy percent of + * 50%, the scheduler might stop two existing tasks to free up cluster capacity before + * starting two new tasks. If they're in the RUNNING state, tasks for services + * that don't use a load balancer are considered healthy . If they're in the + * RUNNING state and reported as healthy by the load balancer, tasks for + * services that do use a load balancer are considered healthy . The + * default value for minimum healthy percent is 100%.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the * number of tasks in a service that are allowed in the RUNNING or - * PENDING state during a deployment, as a percentage of the desired - * number of tasks (rounded down to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to define the deployment batch - * size. For example, if your service has a desired number of four tasks and a maximum - * percent value of 200%, the scheduler may start four new tasks before stopping the four - * older tasks (provided that the cluster resources required to do this are available). The - * default value for maximum percent is 200%.

                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                      If a service is using either the CODE_DEPLOY or EXTERNAL + * PENDING state during a deployment. Specifically, it represents it as a + * percentage of the desired number of tasks (rounded down to the nearest integer). This + * happens when any of your container instances are in the DRAINING state if + * the service contains tasks using the EC2 launch type. Using this + * parameter, you can define the deployment batch size. For example, if your service has a + * desired number of four tasks and a maximum percent value of 200%, the scheduler may + * start four new tasks before stopping the four older tasks (provided that the cluster + * resources required to do this are available). The default value for maximum percent is + * 200%.

                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                      If a service uses either the CODE_DEPLOY or EXTERNAL * deployment controller types and tasks that use the EC2 launch type, the * minimum healthy percent and maximum percent values are used only to define the lower and upper limit - * on the number of the tasks in the service that remain in the RUNNING state - * while the container instances are in the DRAINING state. If the tasks in - * the service use the Fargate launch type, the minimum healthy percent and - * maximum percent values aren't used, although they're currently visible when describing - * your service.

                                                                                                                                                                                                                                                                                                                                                      + * on the number of the tasks in the service that remain in the RUNNING state. + * This is while the container instances are in the DRAINING state. If the + * tasks in the service use the Fargate launch type, the minimum healthy + * percent and maximum percent values aren't used. This is the case even if they're + * currently visible when describing your service.

                                                                                                                                                                                                                                                                                                                                                      *

                                                                                                                                                                                                                                                                                                                                                      When creating a service that uses the EXTERNAL deployment controller, you * can specify only parameters that aren't controlled at the task set level. The only * required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                      @@ -421,14 +421,15 @@ export class ECS extends ECSClient { * cluster using the following logic:

                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • - *

                                                                                                                                                                                                                                                                                                                                                        Determine which of the container instances in your cluster can support your - * service's task definition (for example, they have the required CPU, memory, - * ports, and container instance attributes).

                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                        Determine which of the container instances in your cluster can support the + * task definition of your service. For example, they have the required CPU, + * memory, ports, and container instance attributes.

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                      • *
                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                        By default, the service scheduler attempts to balance tasks across - * Availability Zones in this manner (although you can choose a different placement - * strategy) with the placementStrategy parameter):

                                                                                                                                                                                                                                                                                                                                                        + * Availability Zones in this manner. This is the case even if you can choose a + * different placement strategy with the placementStrategy + * parameter.

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                          Sort the valid container instances, giving priority to instances that @@ -439,7 +440,7 @@ export class ECS extends ECSClient { *

                                                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                          Place the new service task on a valid container instance in an optimal - * Availability Zone (based on the previous steps), favoring container + * Availability Zone based on the previous steps, favoring container * instances with the fewest number of running tasks for this * service.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                        • @@ -580,8 +581,8 @@ export class ECS extends ECSClient { *

                                                                                                                                                                                                                                                                                                                                                          Deletes the specified capacity provider.

                                                                                                                                                                                                                                                                                                                                                          * *

                                                                                                                                                                                                                                                                                                                                                          The FARGATE and FARGATE_SPOT capacity providers are - * reserved and cannot be deleted. You can disassociate them from a cluster using - * either the PutClusterCapacityProviders API or by deleting the + * reserved and can't be deleted. You can disassociate them from a cluster using either + * the PutClusterCapacityProviders API or by deleting the * cluster.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          Prior to a capacity provider being deleted, the capacity provider must be removed from @@ -590,7 +591,7 @@ export class ECS extends ECSClient { * strategy. When updating a service, the forceNewDeployment option can be * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity * provider are transitioned to use the capacity from the remaining capacity providers. - * Only capacity providers that are not associated with a cluster can be deleted. To remove + * Only capacity providers that aren't associated with a cluster can be deleted. To remove * a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

                                                                                                                                                                                                                                                                                                                                                          */ public deleteCapacityProvider( @@ -623,11 +624,10 @@ export class ECS extends ECSClient { } /** - *

                                                                                                                                                                                                                                                                                                                                                          Deletes the specified cluster. The cluster will transition to the - * INACTIVE state. Clusters with an INACTIVE status may - * remain discoverable in your account for a period of time. However, this behavior is - * subject to change in the future, so you should not rely on INACTIVE - * clusters persisting.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          Deletes the specified cluster. The cluster transitions to the INACTIVE + * state. Clusters with an INACTIVE status might remain discoverable in your + * account for a period of time. However, this behavior is subject to change in the future. + * We don't recommend that you rely on INACTIVE clusters persisting.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          You must deregister all container instances from this cluster before you may delete * it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

                                                                                                                                                                                                                                                                                                                                                          */ @@ -663,7 +663,7 @@ export class ECS extends ECSClient { /** *

                                                                                                                                                                                                                                                                                                                                                          Deletes a specified service within a cluster. You can delete a service if you have no * running tasks in it and the desired task count is zero. If the service is actively - * maintaining tasks, you cannot delete it, and you must update the service to a desired + * maintaining tasks, you can't delete it, and you must update the service to a desired * task count of zero. For more information, see UpdateService.

                                                                                                                                                                                                                                                                                                                                                          * *

                                                                                                                                                                                                                                                                                                                                                          When you delete a service, if there are still running tasks that require cleanup, @@ -749,15 +749,16 @@ export class ECS extends ECSClient { *

                                                                                                                                                                                                                                                                                                                                                          Deregisters an Amazon ECS container instance from the specified cluster. This instance is * no longer available to run tasks.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          If you intend to use the container instance for some other purpose after - * deregistration, you should stop all of the tasks running on the container instance - * before deregistration. That prevents any orphaned tasks from consuming resources.

                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                          Deregistering a container instance removes the instance from a cluster, but it does - * not terminate the EC2 instance. If you are finished using the instance, be sure to - * terminate it in the Amazon EC2 console to stop billing.

                                                                                                                                                                                                                                                                                                                                                          + * deregistration, we recommend that you stop all of the tasks running on the container + * instance before deregistration. That prevents any orphaned tasks from consuming + * resources.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          Deregistering a container instance removes the instance from a cluster, but it doesn't + * terminate the EC2 instance. If you are finished using the instance, be sure to terminate + * it in the Amazon EC2 console to stop billing.

                                                                                                                                                                                                                                                                                                                                                          * *

                                                                                                                                                                                                                                                                                                                                                          If you terminate a running container instance, Amazon ECS automatically deregisters the * instance from your cluster (stopped container instances or instances with - * disconnected agents are not automatically deregistered when terminated).

                                                                                                                                                                                                                                                                                                                                                          + * disconnected agents aren't automatically deregistered when terminated).

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          */ public deregisterContainerInstance( @@ -795,16 +796,15 @@ export class ECS extends ECSClient { * reference an INACTIVE task definition continue to run without disruption. * Existing services that reference an INACTIVE task definition can still * scale up or down by modifying the service's desired count.

                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                          You cannot use an INACTIVE task definition to run new tasks or create new - * services, and you cannot update an existing service to reference an - * INACTIVE task definition. However, there may be up to a 10-minute - * window following deregistration where these restrictions have not yet taken - * effect.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          You can't use an INACTIVE task definition to run new tasks or create new + * services, and you can't update an existing service to reference an INACTIVE + * task definition. However, there may be up to a 10-minute window following deregistration + * where these restrictions have not yet taken effect.

                                                                                                                                                                                                                                                                                                                                                          * *

                                                                                                                                                                                                                                                                                                                                                          At this time, INACTIVE task definitions remain discoverable in your - * account indefinitely. However, this behavior is subject to change in the future, so - * you should not rely on INACTIVE task definitions persisting beyond the - * lifecycle of any associated tasks and services.

                                                                                                                                                                                                                                                                                                                                                          + * account indefinitely. However, this behavior is subject to change in the future. We + * don't recommend that you rely on INACTIVE task definitions persisting + * beyond the lifecycle of any associated tasks and services.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          */ public deregisterTaskDefinition( @@ -1075,8 +1075,7 @@ export class ECS extends ECSClient { * *

                                                                                                                                                                                                                                                                                                                                                          This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                          Returns an endpoint for - * the Amazon ECS agent to poll for updates.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          Returns an endpoint for the Amazon ECS agent to poll for updates.

                                                                                                                                                                                                                                                                                                                                                          */ public discoverPollEndpoint( args: DiscoverPollEndpointCommandInput, @@ -1176,9 +1175,9 @@ export class ECS extends ECSClient { * When you specify a target type and cluster, ListAttributes returns a list * of attribute objects, one for each attribute on each resource. You can filter the list * of results to a single attribute name to only return results that have that name. You - * can also filter the results by attribute name and value, for example, to see which - * container instances in a cluster are running a Linux AMI - * (ecs.os-type=linux).

                                                                                                                                                                                                                                                                                                                                                          + * can also filter the results by attribute name and value. You can do this, for example, + * to see which container instances in a cluster are running a Linux AMI + * (ecs.os-type=linux).

                                                                                                                                                                                                                                                                                                                                                          */ public listAttributes( args: ListAttributesCommandInput, @@ -1336,12 +1335,12 @@ export class ECS extends ECSClient { } /** - *

                                                                                                                                                                                                                                                                                                                                                          Returns a list of task definition families that are registered to your account (which - * may include task definition families that no longer have any ACTIVE task - * definition revisions).

                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                          You can filter out task definition families that do not contain any - * ACTIVE task definition revisions by setting the status - * parameter to ACTIVE. You can also filter the results with the + *

                                                                                                                                                                                                                                                                                                                                                          Returns a list of task definition families that are registered to your account. This + * list includes task definition families that no longer have any ACTIVE task + * definition revisions.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          You can filter out task definition families that don't contain any ACTIVE + * task definition revisions by setting the status parameter to + * ACTIVE. You can also filter the results with the * familyPrefix parameter.

                                                                                                                                                                                                                                                                                                                                                          */ public listTaskDefinitionFamilies( @@ -1440,16 +1439,16 @@ export class ECS extends ECSClient { /** *

                                                                                                                                                                                                                                                                                                                                                          Modifies an account setting. Account settings are set on a per-Region basis.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          If you change the account setting for the root user, the default settings for all of - * the IAM users and roles for which no individual account setting has been specified are - * reset. For more information, see Account + * the IAM users and roles that no individual account setting was specified are reset for. + * For more information, see Account * Settings in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          When serviceLongArnFormat, taskLongArnFormat, or * containerInstanceLongArnFormat are specified, the Amazon Resource Name * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or * the root user for an account is affected. The opt-in and opt-out account setting must be - * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource - * will be defined by the opt-in status of the IAM user or role that created the resource. - * You must enable this setting to use Amazon ECS features such as resource tagging.

                                                                                                                                                                                                                                                                                                                                                          + * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is + * defined by the opt-in status of the IAM user or role that created the resource. You must + * enable this setting to use Amazon ECS features such as resource tagging.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          When awsvpcTrunking is specified, the elastic network interface (ENI) * limit for any new container instances that support the feature is changed. If * awsvpcTrunking is enabled, any new container instances that support the @@ -1527,8 +1526,8 @@ export class ECS extends ECSClient { } /** - *

                                                                                                                                                                                                                                                                                                                                                          Create or update an attribute on an Amazon ECS resource. If the attribute does not exist, - * it is created. If the attribute exists, its value is replaced with the specified value. + *

                                                                                                                                                                                                                                                                                                                                                          Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, + * it's created. If the attribute exists, its value is replaced with the specified value. * To delete an attribute, use DeleteAttributes. For more information, * see Attributes in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                          @@ -1568,14 +1567,14 @@ export class ECS extends ECSClient { *

                                                                                                                                                                                                                                                                                                                                                          You must specify both the available capacity providers and a default capacity provider * strategy for the cluster. If the specified cluster has existing capacity providers * associated with it, you must specify all existing capacity providers in addition to any - * new ones you want to add. Any existing capacity providers associated with a cluster that - * are omitted from a PutClusterCapacityProviders API call will be - * disassociated with the cluster. You can only disassociate an existing capacity provider - * from a cluster if it's not being used by any existing tasks.

                                                                                                                                                                                                                                                                                                                                                          + * new ones you want to add. Any existing capacity providers that are associated with a + * cluster that are omitted from a PutClusterCapacityProviders API call + * will be disassociated with the cluster. You can only disassociate an existing capacity + * provider from a cluster if it's not being used by any existing tasks.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          When creating a service or running a task on a cluster, if no capacity provider or * launch type is specified, then the cluster's default capacity provider strategy is used. - * It is recommended to define a default capacity provider strategy for your cluster, - * however you may specify an empty array ([]) to bypass defining a default + * We recommend that you define a default capacity provider strategy for your cluster. + * However, you must specify an empty array ([]) to bypass defining a default * strategy.

                                                                                                                                                                                                                                                                                                                                                          */ public putClusterCapacityProviders( @@ -1611,9 +1610,8 @@ export class ECS extends ECSClient { * *

                                                                                                                                                                                                                                                                                                                                                          This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                          Registers an EC2 - * instance into the specified cluster. This instance becomes available to place containers - * on.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          Registers an EC2 instance into the specified cluster. This instance becomes available + * to place containers on.

                                                                                                                                                                                                                                                                                                                                                          */ public registerContainerInstance( args: RegisterContainerInstanceCommandInput, @@ -1653,7 +1651,7 @@ export class ECS extends ECSClient { *

                                                                                                                                                                                                                                                                                                                                                          You can specify an IAM role for your task with the taskRoleArn parameter. * When you specify an IAM role for a task, its containers can then use the latest versions * of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in - * the IAM policy associated with the role. For more information, see IAM + * the IAM policy that's associated with the role. For more information, see IAM * Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          You can specify a Docker networking mode for the containers in your task definition * with the networkMode parameter. The available network modes correspond to @@ -1701,11 +1699,11 @@ export class ECS extends ECSClient { * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          Alternatively, you can use StartTask to use your own scheduler or * place tasks manually on specific container instances.

                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                          The Amazon ECS API follows an eventual consistency model, due to the distributed nature of - * the system supporting the API. This means that the result of an API command you run that - * affects your Amazon ECS resources might not be immediately visible to all subsequent commands - * you run. Keep this in mind when you carry out an API command that immediately follows a - * previous API command.

                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                          The Amazon ECS API follows an eventual consistency model. This is because the distributed + * nature of the system supporting the API. This means that the result of an API command + * you run that affects your Amazon ECS resources might not be immediately visible to all + * subsequent commands you run. Keep this in mind when you carry out an API command that + * immediately follows a previous API command.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          To manage eventual consistency, you can do the following:

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                          • @@ -1819,8 +1817,7 @@ export class ECS extends ECSClient { * *

                                                                                                                                                                                                                                                                                                                                                            This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            Sent to - * acknowledge that an attachment changed states.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            Sent to acknowledge that an attachment changed states.

                                                                                                                                                                                                                                                                                                                                                            */ public submitAttachmentStateChanges( args: SubmitAttachmentStateChangesCommandInput, @@ -1855,8 +1852,7 @@ export class ECS extends ECSClient { * *

                                                                                                                                                                                                                                                                                                                                                            This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            Sent to - * acknowledge that a container changed states.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            Sent to acknowledge that a container changed states.

                                                                                                                                                                                                                                                                                                                                                            */ public submitContainerStateChange( args: SubmitContainerStateChangeCommandInput, @@ -1891,8 +1887,7 @@ export class ECS extends ECSClient { * *

                                                                                                                                                                                                                                                                                                                                                            This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            Sent to acknowledge - * that a task changed states.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            Sent to acknowledge that a task changed states.

                                                                                                                                                                                                                                                                                                                                                            */ public submitTaskStateChange( args: SubmitTaskStateChangeCommandInput, @@ -1925,8 +1920,8 @@ export class ECS extends ECSClient { /** *

                                                                                                                                                                                                                                                                                                                                                            Associates the specified tags to a resource with the specified - * resourceArn. If existing tags on a resource are not specified in the - * request parameters, they are not changed. When a resource is deleted, the tags + * resourceArn. If existing tags on a resource aren't specified in the + * request parameters, they aren't changed. When a resource is deleted, the tags that are * associated with that resource are deleted as well.

                                                                                                                                                                                                                                                                                                                                                            */ public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; @@ -2082,14 +2077,14 @@ export class ECS extends ECSClient { /** *

                                                                                                                                                                                                                                                                                                                                                            Updates the Amazon ECS container agent on a specified container instance. Updating the - * Amazon ECS container agent does not interrupt running tasks or services on the container + * Amazon ECS container agent doesn't interrupt running tasks or services on the container * instance. The process for updating the agent differs depending on whether your container * instance was launched with the Amazon ECS-optimized AMI or another operating system.

                                                                                                                                                                                                                                                                                                                                                            * *

                                                                                                                                                                                                                                                                                                                                                            The UpdateContainerAgent API isn't supported for container instances * using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, - * you can update the ecs-init package which will update the agent. For - * more information, see Updating the + * you can update the ecs-init package. This updates the agent. For more + * information, see Updating the * Amazon ECS container agent in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                            @@ -2134,7 +2129,7 @@ export class ECS extends ECSClient { * from a cluster, for example to perform system updates, update the Docker daemon, or * scale down the cluster size.

                                                                                                                                                                                                                                                                                                                                                            * - *

                                                                                                                                                                                                                                                                                                                                                            A container instance cannot be changed to DRAINING until it has + *

                                                                                                                                                                                                                                                                                                                                                            A container instance can't be changed to DRAINING until it has * reached an ACTIVE status. If the instance is in any other status, an * error will be received.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                            @@ -2155,14 +2150,14 @@ export class ECS extends ECSClient { * scheduler to stop two existing tasks before starting two new tasks. If the * minimum is 100%, the service scheduler can't remove existing tasks until the * replacement tasks are considered healthy. Tasks for services that do not use a - * load balancer are considered healthy if they are in the RUNNING + * load balancer are considered healthy if they're in the RUNNING * state. Tasks for services that use a load balancer are considered healthy if - * they are in the RUNNING state and the container instance they are + * they're in the RUNNING state and the container instance they're * hosted on is reported as healthy by the load balancer.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                                          • *

                                                                                                                                                                                                                                                                                                                                                            The maximumPercent parameter represents an upper limit on the - * number of running tasks during task replacement, which enables you to define the + * number of running tasks during task replacement. You can use this to define the * replacement batch size. For example, if desiredCount is four tasks, * a maximum of 200% starts four new tasks before stopping the four tasks to be * drained, provided that the cluster resources required to do this are available. @@ -2171,7 +2166,7 @@ export class ECS extends ECSClient { *

                                                                                                                                                                                                                                                                                                                                                          • *
                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          Any PENDING or RUNNING tasks that do not belong to a service - * are not affected. You must wait for them to finish or stop them manually.

                                                                                                                                                                                                                                                                                                                                                          + * aren't affected. You must wait for them to finish or stop them manually.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          A container instance has completed draining when it has no more RUNNING * tasks. You can verify this using ListTasks.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          When a container instance has been drained, you can set a container instance to @@ -2222,12 +2217,12 @@ export class ECS extends ECSClient { * only the desired count, deployment configuration, task placement constraints and * strategies, and health check grace period can be updated using this API. If the network * configuration, platform version, or task definition need to be updated, a new CodeDeploy - * deployment should be created. For more information, see CreateDeployment in the CodeDeploy API Reference.

                                                                                                                                                                                                                                                                                                                                                          + * deployment is created. For more information, see CreateDeployment in the CodeDeploy API Reference.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          For services using an external deployment controller, you can update only the desired * count, task placement constraints and strategies, and health check grace period using * this API. If the launch type, load balancer, network configuration, platform version, or - * task definition need to be updated, you should create a new task set. For more - * information, see CreateTaskSet.

                                                                                                                                                                                                                                                                                                                                                          + * task definition need to be updated, create a new task set. For more information, see + * CreateTaskSet.

                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                          You can add to or subtract from the number of instantiations of a task definition in a * service by specifying the cluster that the service is running in and a new * desiredCount parameter.

                                                                                                                                                                                                                                                                                                                                                          @@ -2237,7 +2232,7 @@ export class ECS extends ECSClient { * configuration) to determine the deployment strategy.

                                                                                                                                                                                                                                                                                                                                                          * *

                                                                                                                                                                                                                                                                                                                                                          If your updated Docker image uses the same tag as what is in the existing task - * definition for your service (for example, my_image:latest), you do not + * definition for your service (for example, my_image:latest), you don't * need to create a new revision of your task definition. You can update the service * using the forceNewDeployment option. The new tasks launched by the * deployment pull the current image/tag combination from your repository when they @@ -2253,15 +2248,15 @@ export class ECS extends ECSClient { * desiredCount temporarily during a deployment. For example, if * desiredCount is four tasks, a minimum of 50% allows the * scheduler to stop two existing tasks before starting two new tasks. Tasks for - * services that do not use a load balancer are considered healthy if they are in - * the RUNNING state. Tasks for services that use a load balancer are - * considered healthy if they are in the RUNNING state and the - * container instance they are hosted on is reported as healthy by the load + * services that don't use a load balancer are considered healthy if they're in the + * RUNNING state. Tasks for services that use a load balancer are + * considered healthy if they're in the RUNNING state and the + * container instance they're hosted on is reported as healthy by the load * balancer.

                                                                                                                                                                                                                                                                                                                                                          * *
                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                          The maximumPercent parameter represents an upper limit on the - * number of running tasks during a deployment, which enables you to define the + * number of running tasks during a deployment. You can use it to define the * deployment batch size. For example, if desiredCount is four tasks, * a maximum of 200% starts four new tasks before stopping the four older tasks * (provided that the cluster resources required to do this are available).

                                                                                                                                                                                                                                                                                                                                                          @@ -2269,22 +2264,22 @@ export class ECS extends ECSClient { *
                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        When UpdateService stops a task during a deployment, the equivalent * of docker stop is issued to the containers running in the task. This - * results in a SIGTERM and a 30-second timeout, after which + * results in a SIGTERM and a 30-second timeout. After this, * SIGKILL is sent and the containers are forcibly stopped. If the * container handles the SIGTERM gracefully and exits within 30 seconds from * receiving it, no SIGKILL is sent.

                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                        When the service scheduler launches new tasks, it determines task placement in your - * cluster with the following logic:

                                                                                                                                                                                                                                                                                                                                                        + * cluster with the following logic.

                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                          Determine which of the container instances in your cluster can support your - * service's task definition (for example, they have the required CPU, memory, - * ports, and container instance attributes).

                                                                                                                                                                                                                                                                                                                                                          + * service's task definition. For example, they have the required CPU, memory, + * ports, and container instance attributes.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                        • *
                                                                                                                                                                                                                                                                                                                                                        • *

                                                                                                                                                                                                                                                                                                                                                          By default, the service scheduler attempts to balance tasks across - * Availability Zones in this manner (although you can choose a different placement - * strategy):

                                                                                                                                                                                                                                                                                                                                                          + * Availability Zones in this manner even though you can choose a different + * placement strategy.

                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                          • *

                                                                                                                                                                                                                                                                                                                                                            Sort the valid container instances by the fewest number of running diff --git a/clients/client-ecs/src/ECSClient.ts b/clients/client-ecs/src/ECSClient.ts index 272faee3f9f0b..26dad2c86799a 100644 --- a/clients/client-ecs/src/ECSClient.ts +++ b/clients/client-ecs/src/ECSClient.ts @@ -439,18 +439,18 @@ export interface ECSClientResolvedConfig extends ECSClientResolvedConfigType {} /** * Amazon Elastic Container Service - *

                                                                                                                                                                                                                                                                                                                                                            Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes + *

                                                                                                                                                                                                                                                                                                                                                            Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes * it easy to run, stop, and manage Docker containers on a cluster. You can host your - * cluster on a serverless infrastructure that is managed by Amazon ECS by launching your + * cluster on a serverless infrastructure that's managed by Amazon ECS by launching your * services or tasks on Fargate. For more control, you can host your tasks on a cluster * of Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.

                                                                                                                                                                                                                                                                                                                                                            *

                                                                                                                                                                                                                                                                                                                                                            Amazon ECS makes it easy to launch and stop container-based applications with simple API - * calls, allows you to get the state of your cluster from a centralized service, and gives - * you access to many familiar Amazon EC2 features.

                                                                                                                                                                                                                                                                                                                                                            + * calls. This makes it easy to get the state of your cluster from a centralized service, + * and gives you access to many familiar Amazon EC2 features.

                                                                                                                                                                                                                                                                                                                                                            *

                                                                                                                                                                                                                                                                                                                                                            You can use Amazon ECS to schedule the placement of containers across your cluster based on - * your resource needs, isolation policies, and availability requirements. Amazon ECS eliminates - * the need for you to operate your own cluster management and configuration management - * systems or worry about scaling your management infrastructure.

                                                                                                                                                                                                                                                                                                                                                            + * your resource needs, isolation policies, and availability requirements. With Amazon ECS, you + * don't need to operate your own cluster management and configuration management systems. + * You also don't need to worry about scaling your management infrastructure.

                                                                                                                                                                                                                                                                                                                                                            */ export class ECSClient extends __Client< __HttpHandlerOptions, diff --git a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts index 2d961e61adcc6..2711ab3b0e82c 100644 --- a/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/CreateCapacityProviderCommand.ts @@ -25,10 +25,10 @@ export interface CreateCapacityProviderCommandOutput extends CreateCapacityProvi *

                                                                                                                                                                                                                                                                                                                                                            Creates a new capacity provider. Capacity providers are associated with an Amazon ECS * cluster and are used in capacity provider strategies to facilitate cluster auto * scaling.

                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on - * Fargate use the FARGATE and FARGATE_SPOT capacity providers - * which are already created and available to all accounts in Regions supported by - * Fargate.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on + * Fargate use the FARGATE and FARGATE_SPOT capacity providers. + * These providers are available to all accounts in the Amazon Web Services Regions that Fargate + * supports.

                                                                                                                                                                                                                                                                                                                                                            * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/CreateClusterCommand.ts b/clients/client-ecs/src/commands/CreateClusterCommand.ts index 154bff5bda96f..840c531b4d70f 100644 --- a/clients/client-ecs/src/commands/CreateClusterCommand.ts +++ b/clients/client-ecs/src/commands/CreateClusterCommand.ts @@ -27,10 +27,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met * cluster with a unique name with the CreateCluster action.

                                                                                                                                                                                                                                                                                                                                                            * *

                                                                                                                                                                                                                                                                                                                                                            When you call the CreateCluster API operation, Amazon ECS attempts to - * create the Amazon ECS service-linked role for your account so that required resources in - * other Amazon Web Services services can be managed on your behalf. However, if the IAM user that - * makes the call does not have permissions to create the service-linked role, it is - * not created. For more information, see Using + * create the Amazon ECS service-linked role for your account. This is so that it can manage + * required resources in other Amazon Web Services services on your behalf. However, if the IAM user + * that makes the call doesn't have permissions to create the service-linked role, it + * isn't created. For more information, see Using * Service-Linked Roles for Amazon ECS in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                            diff --git a/clients/client-ecs/src/commands/CreateServiceCommand.ts b/clients/client-ecs/src/commands/CreateServiceCommand.ts index 60610c6788665..15957efdd1556 100644 --- a/clients/client-ecs/src/commands/CreateServiceCommand.ts +++ b/clients/client-ecs/src/commands/CreateServiceCommand.ts @@ -22,26 +22,25 @@ export interface CreateServiceCommandInput extends CreateServiceRequest {} export interface CreateServiceCommandOutput extends CreateServiceResponse, __MetadataBearer {} /** - *

                                                                                                                                                                                                                                                                                                                                                            Runs and maintains a desired number of tasks from a specified task definition. If the - * number of tasks running in a service drops below the desiredCount, Amazon ECS - * runs another copy of the task in the specified cluster. To update an existing service, - * see the UpdateService action.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            Runs and maintains your desired number of tasks from a specified task definition. If + * the number of tasks running in a service drops below the desiredCount, + * Amazon ECS runs another copy of the task in the specified cluster. To update an existing + * service, see the UpdateService action.

                                                                                                                                                                                                                                                                                                                                                            *

                                                                                                                                                                                                                                                                                                                                                            In addition to maintaining the desired count of tasks in your service, you can * optionally run your service behind one or more load balancers. The load balancers * distribute traffic across the tasks that are associated with the service. For more * information, see Service Load Balancing in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            Tasks for services that do not use a load balancer are considered - * healthy if they're in the RUNNING state. Tasks for services that - * do use a load balancer are considered healthy if they're in the - * RUNNING state and the container instance that they're hosted on is - * reported as healthy by the load balancer.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            Tasks for services that don't use a load balancer are considered healthy if they're in + * the RUNNING state. Tasks for services that use a load balancer are + * considered healthy if they're in the RUNNING state and the container + * instance that they're hosted on is reported as healthy by the load balancer.

                                                                                                                                                                                                                                                                                                                                                            *

                                                                                                                                                                                                                                                                                                                                                            There are two service scheduler strategies available:

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                                              * REPLICA - The replica scheduling strategy places and - * maintains the desired number of tasks across your cluster. By default, the + * maintains your desired number of tasks across your cluster. By default, the * service scheduler spreads tasks across Availability Zones. You can use task * placement strategies and constraints to customize task placement decisions. For * more information, see Service Scheduler Concepts in the @@ -52,50 +51,51 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * DAEMON - The daemon scheduling strategy deploys exactly one * task on each active container instance that meets all of the task placement * constraints that you specify in your cluster. The service scheduler also - * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints. When using this strategy, you don't + * evaluates the task placement constraints for running tasks. It also stops tasks + * that don't meet the placement constraints. When using this strategy, you don't * need to specify a desired number of tasks, a task placement strategy, or use * Service Auto Scaling policies. For more information, see Service Scheduler Concepts in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                            *

                                                                                                                                                                                                                                                                                                                                                            You can optionally specify a deployment configuration for your service. The deployment - * is triggered by changing properties, such as the task definition or the desired count of - * a service, with an UpdateService operation. The default value for a - * replica service for minimumHealthyPercent is 100%. The default value for a - * daemon service for minimumHealthyPercent is 0%.

                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            If a service is using the ECS deployment controller, the minimum healthy + * is initiated by changing properties. For example, the deployment might be initiated by + * the task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for + * minimumHealthyPercent is 100%. The default value for a daemon service + * for minimumHealthyPercent is 0%.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            If a service uses the ECS deployment controller, the minimum healthy * percent represents a lower limit on the number of tasks in a service that must remain in - * the RUNNING state during a deployment, as a percentage of the desired - * number of tasks (rounded up to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to deploy without using - * additional cluster capacity. For example, if your service has a desired number of four - * tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks - * to free up cluster capacity before starting two new tasks. Tasks for services that - * do not use a load balancer are considered healthy if they're in - * the RUNNING state. Tasks for services that do use a - * load balancer are considered healthy if they're in the RUNNING state and - * they're reported as healthy by the load balancer. The default value for minimum healthy - * percent is 100%.

                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the + * the RUNNING state during a deployment. Specifically, it represents it as a + * percentage of your desired number of tasks (rounded up to the nearest integer). This + * happens when any of your container instances are in the DRAINING state if + * the service contains tasks using the EC2 launch type. Using this + * parameter, you can deploy without using additional cluster capacity. For example, if you + * set your service to have desired number of four tasks and a minimum healthy percent of + * 50%, the scheduler might stop two existing tasks to free up cluster capacity before + * starting two new tasks. If they're in the RUNNING state, tasks for services + * that don't use a load balancer are considered healthy . If they're in the + * RUNNING state and reported as healthy by the load balancer, tasks for + * services that do use a load balancer are considered healthy . The + * default value for minimum healthy percent is 100%.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the * number of tasks in a service that are allowed in the RUNNING or - * PENDING state during a deployment, as a percentage of the desired - * number of tasks (rounded down to the nearest integer), and while any container instances - * are in the DRAINING state if the service contains tasks using the - * EC2 launch type. This parameter enables you to define the deployment batch - * size. For example, if your service has a desired number of four tasks and a maximum - * percent value of 200%, the scheduler may start four new tasks before stopping the four - * older tasks (provided that the cluster resources required to do this are available). The - * default value for maximum percent is 200%.

                                                                                                                                                                                                                                                                                                                                                            - *

                                                                                                                                                                                                                                                                                                                                                            If a service is using either the CODE_DEPLOY or EXTERNAL + * PENDING state during a deployment. Specifically, it represents it as a + * percentage of the desired number of tasks (rounded down to the nearest integer). This + * happens when any of your container instances are in the DRAINING state if + * the service contains tasks using the EC2 launch type. Using this + * parameter, you can define the deployment batch size. For example, if your service has a + * desired number of four tasks and a maximum percent value of 200%, the scheduler may + * start four new tasks before stopping the four older tasks (provided that the cluster + * resources required to do this are available). The default value for maximum percent is + * 200%.

                                                                                                                                                                                                                                                                                                                                                            + *

                                                                                                                                                                                                                                                                                                                                                            If a service uses either the CODE_DEPLOY or EXTERNAL * deployment controller types and tasks that use the EC2 launch type, the * minimum healthy percent and maximum percent values are used only to define the lower and upper limit - * on the number of the tasks in the service that remain in the RUNNING state - * while the container instances are in the DRAINING state. If the tasks in - * the service use the Fargate launch type, the minimum healthy percent and - * maximum percent values aren't used, although they're currently visible when describing - * your service.

                                                                                                                                                                                                                                                                                                                                                            + * on the number of the tasks in the service that remain in the RUNNING state. + * This is while the container instances are in the DRAINING state. If the + * tasks in the service use the Fargate launch type, the minimum healthy + * percent and maximum percent values aren't used. This is the case even if they're + * currently visible when describing your service.

                                                                                                                                                                                                                                                                                                                                                            *

                                                                                                                                                                                                                                                                                                                                                            When creating a service that uses the EXTERNAL deployment controller, you * can specify only parameters that aren't controlled at the task set level. The only * required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                            @@ -103,14 +103,15 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met * cluster using the following logic:

                                                                                                                                                                                                                                                                                                                                                            *
                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                            • - *

                                                                                                                                                                                                                                                                                                                                                              Determine which of the container instances in your cluster can support your - * service's task definition (for example, they have the required CPU, memory, - * ports, and container instance attributes).

                                                                                                                                                                                                                                                                                                                                                              + *

                                                                                                                                                                                                                                                                                                                                                              Determine which of the container instances in your cluster can support the + * task definition of your service. For example, they have the required CPU, + * memory, ports, and container instance attributes.

                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                            • *
                                                                                                                                                                                                                                                                                                                                                            • *

                                                                                                                                                                                                                                                                                                                                                              By default, the service scheduler attempts to balance tasks across - * Availability Zones in this manner (although you can choose a different placement - * strategy) with the placementStrategy parameter):

                                                                                                                                                                                                                                                                                                                                                              + * Availability Zones in this manner. This is the case even if you can choose a + * different placement strategy with the placementStrategy + * parameter.

                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                Sort the valid container instances, giving priority to instances that @@ -121,7 +122,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met *

                                                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                Place the new service task on a valid container instance in an optimal - * Availability Zone (based on the previous steps), favoring container + * Availability Zone based on the previous steps, favoring container * instances with the fewest number of running tasks for this * service.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                              • diff --git a/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts index 51f55ca793825..401db8779a0aa 100644 --- a/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts +++ b/clients/client-ecs/src/commands/DeleteCapacityProviderCommand.ts @@ -25,8 +25,8 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi *

                                                                                                                                                                                                                                                                                                                                                                Deletes the specified capacity provider.

                                                                                                                                                                                                                                                                                                                                                                * *

                                                                                                                                                                                                                                                                                                                                                                The FARGATE and FARGATE_SPOT capacity providers are - * reserved and cannot be deleted. You can disassociate them from a cluster using - * either the PutClusterCapacityProviders API or by deleting the + * reserved and can't be deleted. You can disassociate them from a cluster using either + * the PutClusterCapacityProviders API or by deleting the * cluster.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                Prior to a capacity provider being deleted, the capacity provider must be removed from @@ -35,7 +35,7 @@ export interface DeleteCapacityProviderCommandOutput extends DeleteCapacityProvi * strategy. When updating a service, the forceNewDeployment option can be * used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity * provider are transitioned to use the capacity from the remaining capacity providers. - * Only capacity providers that are not associated with a cluster can be deleted. To remove + * Only capacity providers that aren't associated with a cluster can be deleted. To remove * a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecs/src/commands/DeleteClusterCommand.ts b/clients/client-ecs/src/commands/DeleteClusterCommand.ts index 6cfd0cb5e5971..34e5ef6e8ab2b 100644 --- a/clients/client-ecs/src/commands/DeleteClusterCommand.ts +++ b/clients/client-ecs/src/commands/DeleteClusterCommand.ts @@ -22,11 +22,10 @@ export interface DeleteClusterCommandInput extends DeleteClusterRequest {} export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {} /** - *

                                                                                                                                                                                                                                                                                                                                                                Deletes the specified cluster. The cluster will transition to the - * INACTIVE state. Clusters with an INACTIVE status may - * remain discoverable in your account for a period of time. However, this behavior is - * subject to change in the future, so you should not rely on INACTIVE - * clusters persisting.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                Deletes the specified cluster. The cluster transitions to the INACTIVE + * state. Clusters with an INACTIVE status might remain discoverable in your + * account for a period of time. However, this behavior is subject to change in the future. + * We don't recommend that you rely on INACTIVE clusters persisting.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                You must deregister all container instances from this cluster before you may delete * it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

                                                                                                                                                                                                                                                                                                                                                                * @example diff --git a/clients/client-ecs/src/commands/DeleteServiceCommand.ts b/clients/client-ecs/src/commands/DeleteServiceCommand.ts index fa757b16bba69..e930b52a234e2 100644 --- a/clients/client-ecs/src/commands/DeleteServiceCommand.ts +++ b/clients/client-ecs/src/commands/DeleteServiceCommand.ts @@ -24,7 +24,7 @@ export interface DeleteServiceCommandOutput extends DeleteServiceResponse, __Met /** *

                                                                                                                                                                                                                                                                                                                                                                Deletes a specified service within a cluster. You can delete a service if you have no * running tasks in it and the desired task count is zero. If the service is actively - * maintaining tasks, you cannot delete it, and you must update the service to a desired + * maintaining tasks, you can't delete it, and you must update the service to a desired * task count of zero. For more information, see UpdateService.

                                                                                                                                                                                                                                                                                                                                                                * *

                                                                                                                                                                                                                                                                                                                                                                When you delete a service, if there are still running tasks that require cleanup, diff --git a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts index 97dba09a59b4f..31c1a35d9c4a0 100644 --- a/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterContainerInstanceCommand.ts @@ -27,15 +27,16 @@ export interface DeregisterContainerInstanceCommandOutput *

                                                                                                                                                                                                                                                                                                                                                                Deregisters an Amazon ECS container instance from the specified cluster. This instance is * no longer available to run tasks.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                If you intend to use the container instance for some other purpose after - * deregistration, you should stop all of the tasks running on the container instance - * before deregistration. That prevents any orphaned tasks from consuming resources.

                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                Deregistering a container instance removes the instance from a cluster, but it does - * not terminate the EC2 instance. If you are finished using the instance, be sure to - * terminate it in the Amazon EC2 console to stop billing.

                                                                                                                                                                                                                                                                                                                                                                + * deregistration, we recommend that you stop all of the tasks running on the container + * instance before deregistration. That prevents any orphaned tasks from consuming + * resources.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                Deregistering a container instance removes the instance from a cluster, but it doesn't + * terminate the EC2 instance. If you are finished using the instance, be sure to terminate + * it in the Amazon EC2 console to stop billing.

                                                                                                                                                                                                                                                                                                                                                                * *

                                                                                                                                                                                                                                                                                                                                                                If you terminate a running container instance, Amazon ECS automatically deregisters the * instance from your cluster (stopped container instances or instances with - * disconnected agents are not automatically deregistered when terminated).

                                                                                                                                                                                                                                                                                                                                                                + * disconnected agents aren't automatically deregistered when terminated).

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts index b0f7a61bd4e62..c14c05819abb5 100644 --- a/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts @@ -27,16 +27,15 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef * reference an INACTIVE task definition continue to run without disruption. * Existing services that reference an INACTIVE task definition can still * scale up or down by modifying the service's desired count.

                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                You cannot use an INACTIVE task definition to run new tasks or create new - * services, and you cannot update an existing service to reference an - * INACTIVE task definition. However, there may be up to a 10-minute - * window following deregistration where these restrictions have not yet taken - * effect.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                You can't use an INACTIVE task definition to run new tasks or create new + * services, and you can't update an existing service to reference an INACTIVE + * task definition. However, there may be up to a 10-minute window following deregistration + * where these restrictions have not yet taken effect.

                                                                                                                                                                                                                                                                                                                                                                * *

                                                                                                                                                                                                                                                                                                                                                                At this time, INACTIVE task definitions remain discoverable in your - * account indefinitely. However, this behavior is subject to change in the future, so - * you should not rely on INACTIVE task definitions persisting beyond the - * lifecycle of any associated tasks and services.

                                                                                                                                                                                                                                                                                                                                                                + * account indefinitely. However, this behavior is subject to change in the future. We + * don't recommend that you rely on INACTIVE task definitions persisting + * beyond the lifecycle of any associated tasks and services.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts index e9a3f6cb9a0d0..82c0a74c54eee 100644 --- a/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts +++ b/clients/client-ecs/src/commands/DiscoverPollEndpointCommand.ts @@ -25,8 +25,7 @@ export interface DiscoverPollEndpointCommandOutput extends DiscoverPollEndpointR * *

                                                                                                                                                                                                                                                                                                                                                                This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                Returns an endpoint for - * the Amazon ECS agent to poll for updates.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                Returns an endpoint for the Amazon ECS agent to poll for updates.

                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/ListAttributesCommand.ts b/clients/client-ecs/src/commands/ListAttributesCommand.ts index 7df9700a6c7dc..23a366f9e487f 100644 --- a/clients/client-ecs/src/commands/ListAttributesCommand.ts +++ b/clients/client-ecs/src/commands/ListAttributesCommand.ts @@ -26,9 +26,9 @@ export interface ListAttributesCommandOutput extends ListAttributesResponse, __M * When you specify a target type and cluster, ListAttributes returns a list * of attribute objects, one for each attribute on each resource. You can filter the list * of results to a single attribute name to only return results that have that name. You - * can also filter the results by attribute name and value, for example, to see which - * container instances in a cluster are running a Linux AMI - * (ecs.os-type=linux).

                                                                                                                                                                                                                                                                                                                                                                + * can also filter the results by attribute name and value. You can do this, for example, + * to see which container instances in a cluster are running a Linux AMI + * (ecs.os-type=linux).

                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts index 43e6de26ded6c..772e988ac8409 100644 --- a/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts +++ b/clients/client-ecs/src/commands/ListTaskDefinitionFamiliesCommand.ts @@ -22,12 +22,12 @@ export interface ListTaskDefinitionFamiliesCommandInput extends ListTaskDefiniti export interface ListTaskDefinitionFamiliesCommandOutput extends ListTaskDefinitionFamiliesResponse, __MetadataBearer {} /** - *

                                                                                                                                                                                                                                                                                                                                                                Returns a list of task definition families that are registered to your account (which - * may include task definition families that no longer have any ACTIVE task - * definition revisions).

                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                You can filter out task definition families that do not contain any - * ACTIVE task definition revisions by setting the status - * parameter to ACTIVE. You can also filter the results with the + *

                                                                                                                                                                                                                                                                                                                                                                Returns a list of task definition families that are registered to your account. This + * list includes task definition families that no longer have any ACTIVE task + * definition revisions.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                You can filter out task definition families that don't contain any ACTIVE + * task definition revisions by setting the status parameter to + * ACTIVE. You can also filter the results with the * familyPrefix parameter.

                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts index c066d6e31576e..c0a0a8e2aec19 100644 --- a/clients/client-ecs/src/commands/PutAccountSettingCommand.ts +++ b/clients/client-ecs/src/commands/PutAccountSettingCommand.ts @@ -24,16 +24,16 @@ export interface PutAccountSettingCommandOutput extends PutAccountSettingRespons /** *

                                                                                                                                                                                                                                                                                                                                                                Modifies an account setting. Account settings are set on a per-Region basis.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                If you change the account setting for the root user, the default settings for all of - * the IAM users and roles for which no individual account setting has been specified are - * reset. For more information, see Account + * the IAM users and roles that no individual account setting was specified are reset for. + * For more information, see Account * Settings in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                When serviceLongArnFormat, taskLongArnFormat, or * containerInstanceLongArnFormat are specified, the Amazon Resource Name * (ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or * the root user for an account is affected. The opt-in and opt-out account setting must be - * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource - * will be defined by the opt-in status of the IAM user or role that created the resource. - * You must enable this setting to use Amazon ECS features such as resource tagging.

                                                                                                                                                                                                                                                                                                                                                                + * set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is + * defined by the opt-in status of the IAM user or role that created the resource. You must + * enable this setting to use Amazon ECS features such as resource tagging.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                When awsvpcTrunking is specified, the elastic network interface (ENI) * limit for any new container instances that support the feature is changed. If * awsvpcTrunking is enabled, any new container instances that support the diff --git a/clients/client-ecs/src/commands/PutAttributesCommand.ts b/clients/client-ecs/src/commands/PutAttributesCommand.ts index 8cae97fecdd4c..2573a449abcad 100644 --- a/clients/client-ecs/src/commands/PutAttributesCommand.ts +++ b/clients/client-ecs/src/commands/PutAttributesCommand.ts @@ -22,8 +22,8 @@ export interface PutAttributesCommandInput extends PutAttributesRequest {} export interface PutAttributesCommandOutput extends PutAttributesResponse, __MetadataBearer {} /** - *

                                                                                                                                                                                                                                                                                                                                                                Create or update an attribute on an Amazon ECS resource. If the attribute does not exist, - * it is created. If the attribute exists, its value is replaced with the specified value. + *

                                                                                                                                                                                                                                                                                                                                                                Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist, + * it's created. If the attribute exists, its value is replaced with the specified value. * To delete an attribute, use DeleteAttributes. For more information, * see Attributes in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                diff --git a/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts index d74e40a76b4d4..6a34196a1a1e4 100644 --- a/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts +++ b/clients/client-ecs/src/commands/PutClusterCapacityProvidersCommand.ts @@ -29,14 +29,14 @@ export interface PutClusterCapacityProvidersCommandOutput *

                                                                                                                                                                                                                                                                                                                                                                You must specify both the available capacity providers and a default capacity provider * strategy for the cluster. If the specified cluster has existing capacity providers * associated with it, you must specify all existing capacity providers in addition to any - * new ones you want to add. Any existing capacity providers associated with a cluster that - * are omitted from a PutClusterCapacityProviders API call will be - * disassociated with the cluster. You can only disassociate an existing capacity provider - * from a cluster if it's not being used by any existing tasks.

                                                                                                                                                                                                                                                                                                                                                                + * new ones you want to add. Any existing capacity providers that are associated with a + * cluster that are omitted from a PutClusterCapacityProviders API call + * will be disassociated with the cluster. You can only disassociate an existing capacity + * provider from a cluster if it's not being used by any existing tasks.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                When creating a service or running a task on a cluster, if no capacity provider or * launch type is specified, then the cluster's default capacity provider strategy is used. - * It is recommended to define a default capacity provider strategy for your cluster, - * however you may specify an empty array ([]) to bypass defining a default + * We recommend that you define a default capacity provider strategy for your cluster. + * However, you must specify an empty array ([]) to bypass defining a default * strategy.

                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts index 3d68d410fdae7..26f96168ef287 100644 --- a/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts +++ b/clients/client-ecs/src/commands/RegisterContainerInstanceCommand.ts @@ -25,9 +25,8 @@ export interface RegisterContainerInstanceCommandOutput extends RegisterContaine * *

                                                                                                                                                                                                                                                                                                                                                                This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                Registers an EC2 - * instance into the specified cluster. This instance becomes available to place containers - * on.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                Registers an EC2 instance into the specified cluster. This instance becomes available + * to place containers on.

                                                                                                                                                                                                                                                                                                                                                                * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts index 211f7abb4fee6..8aa6d62d9cdf9 100644 --- a/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts +++ b/clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts @@ -30,7 +30,7 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit *

                                                                                                                                                                                                                                                                                                                                                                You can specify an IAM role for your task with the taskRoleArn parameter. * When you specify an IAM role for a task, its containers can then use the latest versions * of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in - * the IAM policy associated with the role. For more information, see IAM + * the IAM policy that's associated with the role. For more information, see IAM * Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                You can specify a Docker networking mode for the containers in your task definition * with the networkMode parameter. The available network modes correspond to diff --git a/clients/client-ecs/src/commands/RunTaskCommand.ts b/clients/client-ecs/src/commands/RunTaskCommand.ts index b7dc61faebcc8..00e86702c4fd0 100644 --- a/clients/client-ecs/src/commands/RunTaskCommand.ts +++ b/clients/client-ecs/src/commands/RunTaskCommand.ts @@ -26,11 +26,11 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                Alternatively, you can use StartTask to use your own scheduler or * place tasks manually on specific container instances.

                                                                                                                                                                                                                                                                                                                                                                - *

                                                                                                                                                                                                                                                                                                                                                                The Amazon ECS API follows an eventual consistency model, due to the distributed nature of - * the system supporting the API. This means that the result of an API command you run that - * affects your Amazon ECS resources might not be immediately visible to all subsequent commands - * you run. Keep this in mind when you carry out an API command that immediately follows a - * previous API command.

                                                                                                                                                                                                                                                                                                                                                                + *

                                                                                                                                                                                                                                                                                                                                                                The Amazon ECS API follows an eventual consistency model. This is because the distributed + * nature of the system supporting the API. This means that the result of an API command + * you run that affects your Amazon ECS resources might not be immediately visible to all + * subsequent commands you run. Keep this in mind when you carry out an API command that + * immediately follows a previous API command.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                To manage eventual consistency, you can do the following:

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                • diff --git a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts index fba6b50955cee..b959a54c1c168 100644 --- a/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts +++ b/clients/client-ecs/src/commands/SubmitAttachmentStateChangesCommand.ts @@ -27,8 +27,7 @@ export interface SubmitAttachmentStateChangesCommandOutput * *

                                                                                                                                                                                                                                                                                                                                                                  This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                  Sent to - * acknowledge that an attachment changed states.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  Sent to acknowledge that an attachment changed states.

                                                                                                                                                                                                                                                                                                                                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts index ff8c3cc6b7153..4b762cf108363 100644 --- a/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitContainerStateChangeCommand.ts @@ -25,8 +25,7 @@ export interface SubmitContainerStateChangeCommandOutput extends SubmitContainer * *

                                                                                                                                                                                                                                                                                                                                                                  This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                  Sent to - * acknowledge that a container changed states.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  Sent to acknowledge that a container changed states.

                                                                                                                                                                                                                                                                                                                                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts index df98efdaec06f..f523a98689bee 100644 --- a/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts +++ b/clients/client-ecs/src/commands/SubmitTaskStateChangeCommand.ts @@ -25,8 +25,7 @@ export interface SubmitTaskStateChangeCommandOutput extends SubmitTaskStateChang * *

                                                                                                                                                                                                                                                                                                                                                                  This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                  Sent to acknowledge - * that a task changed states.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  Sent to acknowledge that a task changed states.

                                                                                                                                                                                                                                                                                                                                                                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ecs/src/commands/TagResourceCommand.ts b/clients/client-ecs/src/commands/TagResourceCommand.ts index b2018c03d956d..150f7361f52d8 100644 --- a/clients/client-ecs/src/commands/TagResourceCommand.ts +++ b/clients/client-ecs/src/commands/TagResourceCommand.ts @@ -23,8 +23,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat /** *

                                                                                                                                                                                                                                                                                                                                                                  Associates the specified tags to a resource with the specified - * resourceArn. If existing tags on a resource are not specified in the - * request parameters, they are not changed. When a resource is deleted, the tags + * resourceArn. If existing tags on a resource aren't specified in the + * request parameters, they aren't changed. When a resource is deleted, the tags that are * associated with that resource are deleted as well.

                                                                                                                                                                                                                                                                                                                                                                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts index 5aa0c8535bd33..db66deb8a7745 100644 --- a/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerAgentCommand.ts @@ -23,14 +23,14 @@ export interface UpdateContainerAgentCommandOutput extends UpdateContainerAgentR /** *

                                                                                                                                                                                                                                                                                                                                                                  Updates the Amazon ECS container agent on a specified container instance. Updating the - * Amazon ECS container agent does not interrupt running tasks or services on the container + * Amazon ECS container agent doesn't interrupt running tasks or services on the container * instance. The process for updating the agent differs depending on whether your container * instance was launched with the Amazon ECS-optimized AMI or another operating system.

                                                                                                                                                                                                                                                                                                                                                                  * *

                                                                                                                                                                                                                                                                                                                                                                  The UpdateContainerAgent API isn't supported for container instances * using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, - * you can update the ecs-init package which will update the agent. For - * more information, see Updating the + * you can update the ecs-init package. This updates the agent. For more + * information, see Updating the * Amazon ECS container agent in the * Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  diff --git a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts index 49fac85f9e4ee..7a4128678453c 100644 --- a/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts +++ b/clients/client-ecs/src/commands/UpdateContainerInstancesStateCommand.ts @@ -30,7 +30,7 @@ export interface UpdateContainerInstancesStateCommandOutput * from a cluster, for example to perform system updates, update the Docker daemon, or * scale down the cluster size.

                                                                                                                                                                                                                                                                                                                                                                  * - *

                                                                                                                                                                                                                                                                                                                                                                  A container instance cannot be changed to DRAINING until it has + *

                                                                                                                                                                                                                                                                                                                                                                  A container instance can't be changed to DRAINING until it has * reached an ACTIVE status. If the instance is in any other status, an * error will be received.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  @@ -51,14 +51,14 @@ export interface UpdateContainerInstancesStateCommandOutput * scheduler to stop two existing tasks before starting two new tasks. If the * minimum is 100%, the service scheduler can't remove existing tasks until the * replacement tasks are considered healthy. Tasks for services that do not use a - * load balancer are considered healthy if they are in the RUNNING + * load balancer are considered healthy if they're in the RUNNING * state. Tasks for services that use a load balancer are considered healthy if - * they are in the RUNNING state and the container instance they are + * they're in the RUNNING state and the container instance they're * hosted on is reported as healthy by the load balancer.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                                                  The maximumPercent parameter represents an upper limit on the - * number of running tasks during task replacement, which enables you to define the + * number of running tasks during task replacement. You can use this to define the * replacement batch size. For example, if desiredCount is four tasks, * a maximum of 200% starts four new tasks before stopping the four tasks to be * drained, provided that the cluster resources required to do this are available. @@ -67,7 +67,7 @@ export interface UpdateContainerInstancesStateCommandOutput *

                                                                                                                                                                                                                                                                                                                                                                • *
                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                Any PENDING or RUNNING tasks that do not belong to a service - * are not affected. You must wait for them to finish or stop them manually.

                                                                                                                                                                                                                                                                                                                                                                + * aren't affected. You must wait for them to finish or stop them manually.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                A container instance has completed draining when it has no more RUNNING * tasks. You can verify this using ListTasks.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                When a container instance has been drained, you can set a container instance to diff --git a/clients/client-ecs/src/commands/UpdateServiceCommand.ts b/clients/client-ecs/src/commands/UpdateServiceCommand.ts index 964697c89cdcd..abfdbc1d1d838 100644 --- a/clients/client-ecs/src/commands/UpdateServiceCommand.ts +++ b/clients/client-ecs/src/commands/UpdateServiceCommand.ts @@ -36,12 +36,12 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * only the desired count, deployment configuration, task placement constraints and * strategies, and health check grace period can be updated using this API. If the network * configuration, platform version, or task definition need to be updated, a new CodeDeploy - * deployment should be created. For more information, see CreateDeployment in the CodeDeploy API Reference.

                                                                                                                                                                                                                                                                                                                                                                + * deployment is created. For more information, see CreateDeployment in the CodeDeploy API Reference.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                For services using an external deployment controller, you can update only the desired * count, task placement constraints and strategies, and health check grace period using * this API. If the launch type, load balancer, network configuration, platform version, or - * task definition need to be updated, you should create a new task set. For more - * information, see CreateTaskSet.

                                                                                                                                                                                                                                                                                                                                                                + * task definition need to be updated, create a new task set. For more information, see + * CreateTaskSet.

                                                                                                                                                                                                                                                                                                                                                                *

                                                                                                                                                                                                                                                                                                                                                                You can add to or subtract from the number of instantiations of a task definition in a * service by specifying the cluster that the service is running in and a new * desiredCount parameter.

                                                                                                                                                                                                                                                                                                                                                                @@ -51,7 +51,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * configuration) to determine the deployment strategy.

                                                                                                                                                                                                                                                                                                                                                                * *

                                                                                                                                                                                                                                                                                                                                                                If your updated Docker image uses the same tag as what is in the existing task - * definition for your service (for example, my_image:latest), you do not + * definition for your service (for example, my_image:latest), you don't * need to create a new revision of your task definition. You can update the service * using the forceNewDeployment option. The new tasks launched by the * deployment pull the current image/tag combination from your repository when they @@ -67,15 +67,15 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met * desiredCount temporarily during a deployment. For example, if * desiredCount is four tasks, a minimum of 50% allows the * scheduler to stop two existing tasks before starting two new tasks. Tasks for - * services that do not use a load balancer are considered healthy if they are in - * the RUNNING state. Tasks for services that use a load balancer are - * considered healthy if they are in the RUNNING state and the - * container instance they are hosted on is reported as healthy by the load + * services that don't use a load balancer are considered healthy if they're in the + * RUNNING state. Tasks for services that use a load balancer are + * considered healthy if they're in the RUNNING state and the + * container instance they're hosted on is reported as healthy by the load * balancer.

                                                                                                                                                                                                                                                                                                                                                                * *
                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                The maximumPercent parameter represents an upper limit on the - * number of running tasks during a deployment, which enables you to define the + * number of running tasks during a deployment. You can use it to define the * deployment batch size. For example, if desiredCount is four tasks, * a maximum of 200% starts four new tasks before stopping the four older tasks * (provided that the cluster resources required to do this are available).

                                                                                                                                                                                                                                                                                                                                                                @@ -83,22 +83,22 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met *
                                                                                                                                                                                                                                                                                                                                                              *

                                                                                                                                                                                                                                                                                                                                                              When UpdateService stops a task during a deployment, the equivalent * of docker stop is issued to the containers running in the task. This - * results in a SIGTERM and a 30-second timeout, after which + * results in a SIGTERM and a 30-second timeout. After this, * SIGKILL is sent and the containers are forcibly stopped. If the * container handles the SIGTERM gracefully and exits within 30 seconds from * receiving it, no SIGKILL is sent.

                                                                                                                                                                                                                                                                                                                                                              *

                                                                                                                                                                                                                                                                                                                                                              When the service scheduler launches new tasks, it determines task placement in your - * cluster with the following logic:

                                                                                                                                                                                                                                                                                                                                                              + * cluster with the following logic.

                                                                                                                                                                                                                                                                                                                                                              *
                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                Determine which of the container instances in your cluster can support your - * service's task definition (for example, they have the required CPU, memory, - * ports, and container instance attributes).

                                                                                                                                                                                                                                                                                                                                                                + * service's task definition. For example, they have the required CPU, memory, + * ports, and container instance attributes.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                              • *
                                                                                                                                                                                                                                                                                                                                                              • *

                                                                                                                                                                                                                                                                                                                                                                By default, the service scheduler attempts to balance tasks across - * Availability Zones in this manner (although you can choose a different placement - * strategy):

                                                                                                                                                                                                                                                                                                                                                                + * Availability Zones in this manner even though you can choose a different + * placement strategy.

                                                                                                                                                                                                                                                                                                                                                                *
                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                • *

                                                                                                                                                                                                                                                                                                                                                                  Sort the valid container instances by the fewest number of running diff --git a/clients/client-ecs/src/endpoints.ts b/clients/client-ecs/src/endpoints.ts index d009fedbad1a6..d13253fb9061a 100644 --- a/clients/client-ecs/src/endpoints.ts +++ b/clients/client-ecs/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "ecs.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ecs-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "ecs.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ecs-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ecs/src/models/models_0.ts b/clients/client-ecs/src/models/models_0.ts index bb05d001748a7..156a5d1b5473d 100644 --- a/clients/client-ecs/src/models/models_0.ts +++ b/clients/client-ecs/src/models/models_0.ts @@ -2,7 +2,7 @@ import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; /** - *

                                                                                                                                                                                                                                                                                                                                                                  You do not have authorization to perform the requested action.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  You don't have authorization to perform the requested action.

                                                                                                                                                                                                                                                                                                                                                                  */ export interface AccessDeniedException extends __SmithyException, $MetadataBearer { name: "AccessDeniedException"; @@ -29,9 +29,9 @@ export enum AgentUpdateStatus { } /** - *

                                                                                                                                                                                                                                                                                                                                                                  These errors are usually caused by a client action, such as using an action or - * resource on behalf of a user that doesn't have permissions to use the action or - * resource, or specifying an identifier that is not valid.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  These errors are usually caused by a client action. This client action might be using + * an action or resource on behalf of a user that doesn't have permissions to use the + * action or resource,. Or, it might be specifying an identifier that isn't valid.

                                                                                                                                                                                                                                                                                                                                                                  */ export interface ClientException extends __SmithyException, $MetadataBearer { name: "ClientException"; @@ -56,34 +56,34 @@ export enum ManagedScalingStatus { /** *

                                                                                                                                                                                                                                                                                                                                                                  The managed scaling settings for the Auto Scaling group capacity provider.

                                                                                                                                                                                                                                                                                                                                                                  *

                                                                                                                                                                                                                                                                                                                                                                  When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of - * the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an - * Amazon ECS-managed CloudWatch metric with the specified targetCapacity value as the - * target value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                  + * the Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS + * managed CloudWatch metric with the specified targetCapacity value as the target + * value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

                                                                                                                                                                                                                                                                                                                                                                  *

                                                                                                                                                                                                                                                                                                                                                                  If managed scaling is disabled, the user must manage the scaling of the Auto Scaling * group.

                                                                                                                                                                                                                                                                                                                                                                  */ export interface ManagedScaling { /** - *

                                                                                                                                                                                                                                                                                                                                                                  Whether or not to enable managed scaling for the capacity provider.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  Determines whether to enable managed scaling for the capacity provider.

                                                                                                                                                                                                                                                                                                                                                                  */ status?: ManagedScalingStatus | string; /** *

                                                                                                                                                                                                                                                                                                                                                                  The target capacity value for the capacity provider. The specified value must be * greater than 0 and less than or equal to 100. A value of - * 100 will result in the Amazon EC2 instances in your Auto Scaling group being - * completely utilized.

                                                                                                                                                                                                                                                                                                                                                                  + * 100 results in the Amazon EC2 instances in your Auto Scaling group being + * completely used.

                                                                                                                                                                                                                                                                                                                                                                  */ targetCapacity?: number; /** - *

                                                                                                                                                                                                                                                                                                                                                                  The minimum number of container instances that Amazon ECS will scale in or scale out at one + *

                                                                                                                                                                                                                                                                                                                                                                  The minimum number of container instances that Amazon ECS scales in or scales out at one * time. If this parameter is omitted, the default value of 1 is used.

                                                                                                                                                                                                                                                                                                                                                                  */ minimumScalingStepSize?: number; /** - *

                                                                                                                                                                                                                                                                                                                                                                  The maximum number of container instances that Amazon ECS will scale in or scale out at one + *

                                                                                                                                                                                                                                                                                                                                                                  The maximum number of container instances that Amazon ECS scales in or scales out at one * time. If this parameter is omitted, the default value of 10000 is * used.

                                                                                                                                                                                                                                                                                                                                                                  */ @@ -131,14 +131,14 @@ export interface AutoScalingGroupProvider { * protection.

                                                                                                                                                                                                                                                                                                                                                                  * *

                                                                                                                                                                                                                                                                                                                                                                  When using managed termination protection, managed scaling must also be used - * otherwise managed termination protection will not work.

                                                                                                                                                                                                                                                                                                                                                                  + * otherwise managed termination protection doesn't work.

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                  *

                                                                                                                                                                                                                                                                                                                                                                  When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in * an Auto Scaling group that contain tasks from being terminated during a scale-in action. * The Auto Scaling group and each instance in the Auto Scaling group must have instance * protection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

                                                                                                                                                                                                                                                                                                                                                                  - *

                                                                                                                                                                                                                                                                                                                                                                  When managed termination protection is disabled, your Amazon EC2 instances are not - * protected from termination when the Auto Scaling group scales in.

                                                                                                                                                                                                                                                                                                                                                                  + *

                                                                                                                                                                                                                                                                                                                                                                  When managed termination protection is disabled, your Amazon EC2 instances aren't protected + * from termination when the Auto Scaling group scales in.

                                                                                                                                                                                                                                                                                                                                                                  */ managedTerminationProtection?: ManagedTerminationProtection | string; } @@ -154,7 +154,7 @@ export namespace AutoScalingGroupProvider { /** *

                                                                                                                                                                                                                                                                                                                                                                  The metadata that you apply to a resource to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                                                                                                                                                                                                                                                                                                                                                                  + * Each tag consists of a key and an optional value. You define them.

                                                                                                                                                                                                                                                                                                                                                                  *

                                                                                                                                                                                                                                                                                                                                                                  The following basic restrictions apply to tags:

                                                                                                                                                                                                                                                                                                                                                                  *
                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                  • @@ -212,9 +212,10 @@ export namespace Tag { export interface CreateCapacityProviderRequest { /** - *

                                                                                                                                                                                                                                                                                                                                                                    The name of the capacity provider. Up to 255 characters are allowed, including letters - * (upper and lowercase), numbers, underscores, and hyphens. The name cannot be prefixed - * with "aws", "ecs", or "fargate".

                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                    The name of the capacity provider. Up to 255 characters are allowed. They include + * letters (both upper and lowercase letters), numbers, underscores (_), and hyphens (-). + * The name can't be prefixed with "aws", "ecs", or + * "fargate".

                                                                                                                                                                                                                                                                                                                                                                    */ name: string | undefined; @@ -224,10 +225,10 @@ export interface CreateCapacityProviderRequest { autoScalingGroupProvider: AutoScalingGroupProvider | undefined; /** - *

                                                                                                                                                                                                                                                                                                                                                                    The metadata that you apply to the capacity provider to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                                                                                                                                                                                                                                                                                                                                                                    - *

                                                                                                                                                                                                                                                                                                                                                                    The following basic restrictions apply to tags:

                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                    The metadata that you apply to the capacity provider to categorize and organize them + * more conveniently. Each tag consists of a key and an optional value. You define both of + * them.

                                                                                                                                                                                                                                                                                                                                                                    + *

                                                                                                                                                                                                                                                                                                                                                                    The following basic restrictions apply to tags:

                                                                                                                                                                                                                                                                                                                                                                    *
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                    • *

                                                                                                                                                                                                                                                                                                                                                                      Maximum number of tags per resource - 50

                                                                                                                                                                                                                                                                                                                                                                      @@ -286,7 +287,7 @@ export enum CapacityProviderUpdateStatus { } /** - *

                                                                                                                                                                                                                                                                                                                                                                      The details of a capacity provider.

                                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                                      The details for a capacity provider.

                                                                                                                                                                                                                                                                                                                                                                      */ export interface CapacityProvider { /** @@ -302,7 +303,7 @@ export interface CapacityProvider { /** *

                                                                                                                                                                                                                                                                                                                                                                      The current status of the capacity provider. Only capacity providers in an * ACTIVE state can be used in a cluster. When a capacity provider is - * successfully deleted, it will have an INACTIVE status.

                                                                                                                                                                                                                                                                                                                                                                      + * successfully deleted, it has an INACTIVE status.

                                                                                                                                                                                                                                                                                                                                                                      */ status?: CapacityProviderStatus | string; @@ -313,7 +314,7 @@ export interface CapacityProvider { /** *

                                                                                                                                                                                                                                                                                                                                                                      The update status of the capacity provider. The following are the possible states that - * will be returned.

                                                                                                                                                                                                                                                                                                                                                                      + * is returned.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      DELETE_IN_PROGRESS
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      @@ -321,13 +322,13 @@ export interface CapacityProvider { *
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      DELETE_COMPLETE
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                                      The capacity provider has been successfully deleted and will have an + *

                                                                                                                                                                                                                                                                                                                                                                      The capacity provider was successfully deleted and has an * INACTIVE status.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      DELETE_FAILED
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                                      The capacity provider was unable to be deleted. The update status reason - * will provide further details about why the delete failed.

                                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                                      The capacity provider can't be deleted. The update status reason provides + * further details about why the delete failed.

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                      */ @@ -341,9 +342,8 @@ export interface CapacityProvider { /** *

                                                                                                                                                                                                                                                                                                                                                                      The metadata that you apply to the capacity provider to help you categorize and - * organize it. Each tag consists of a key and an optional value, both of which you - * define.

                                                                                                                                                                                                                                                                                                                                                                      - *

                                                                                                                                                                                                                                                                                                                                                                      The following basic restrictions apply to tags:

                                                                                                                                                                                                                                                                                                                                                                      + * organize it. Each tag consists of a key and an optional value. You define both.

                                                                                                                                                                                                                                                                                                                                                                      + *

                                                                                                                                                                                                                                                                                                                                                                      The following basic restrictions apply to tags:

                                                                                                                                                                                                                                                                                                                                                                      *
                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                      • *

                                                                                                                                                                                                                                                                                                                                                                        Maximum number of tags per resource - 50

                                                                                                                                                                                                                                                                                                                                                                        @@ -404,7 +404,7 @@ export namespace CreateCapacityProviderResponse { } /** - *

                                                                                                                                                                                                                                                                                                                                                                        The specified parameter is invalid. Review the available parameters for the API + *

                                                                                                                                                                                                                                                                                                                                                                        The specified parameter isn't valid. Review the available parameters for the API * request.

                                                                                                                                                                                                                                                                                                                                                                        */ export interface InvalidParameterException extends __SmithyException, $MetadataBearer { @@ -423,7 +423,7 @@ export namespace InvalidParameterException { } /** - *

                                                                                                                                                                                                                                                                                                                                                                        The limit for the resource has been exceeded.

                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                        The limit for the resource was exceeded.

                                                                                                                                                                                                                                                                                                                                                                        */ export interface LimitExceededException extends __SmithyException, $MetadataBearer { name: "LimitExceededException"; @@ -459,8 +459,8 @@ export namespace ServerException { } /** - *

                                                                                                                                                                                                                                                                                                                                                                        There is already a current Amazon ECS container agent update in progress on the specified - * container instance. If the container agent becomes disconnected while it is in a + *

                                                                                                                                                                                                                                                                                                                                                                        There's already a current Amazon ECS container agent update in progress on the container + * instance that's specified. If the container agent becomes disconnected while it's in a * transitional stage, such as PENDING or STAGING, the update * process can get stuck in that state. However, when the agent reconnects, it resumes * where it stopped previously.

                                                                                                                                                                                                                                                                                                                                                                        @@ -494,7 +494,7 @@ export interface ExecuteCommandLogConfiguration { cloudWatchLogGroupName?: string; /** - *

                                                                                                                                                                                                                                                                                                                                                                        Whether or not to enable encryption on the CloudWatch logs. If not specified, + *

                                                                                                                                                                                                                                                                                                                                                                        Determines whether to enable encryption on the CloudWatch logs. If not specified, * encryption will be disabled.

                                                                                                                                                                                                                                                                                                                                                                        */ cloudWatchEncryptionEnabled?: boolean; @@ -508,8 +508,8 @@ export interface ExecuteCommandLogConfiguration { s3BucketName?: string; /** - *

                                                                                                                                                                                                                                                                                                                                                                        Whether or not to use encryption on the S3 logs. If not specified, - * encryption is not used.

                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                        Determines whether to use encryption on the S3 logs. If not specified, encryption is + * not used.

                                                                                                                                                                                                                                                                                                                                                                        */ s3EncryptionEnabled?: boolean; @@ -620,7 +620,7 @@ export namespace ClusterConfiguration { * FARGATE_SPOT capacity providers. The Fargate capacity providers are * available to all accounts and only need to be associated with a cluster to be used in a * capacity provider strategy.

                                                                                                                                                                                                                                                                                                                                                                        - *

                                                                                                                                                                                                                                                                                                                                                                        A capacity provider strategy may contain a maximum of 6 capacity providers.

                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                        A capacity provider strategy may contain a maximum of 6 capacity providers.

                                                                                                                                                                                                                                                                                                                                                                        */ export interface CapacityProviderStrategyItem { /** @@ -636,16 +636,16 @@ export interface CapacityProviderStrategyItem { *

                                                                                                                                                                                                                                                                                                                                                                        If no weight value is specified, the default value of 0 is * used. When multiple capacity providers are specified within a capacity provider * strategy, at least one of the capacity providers must have a weight value greater than - * zero and any capacity providers with a weight of 0 will not be used to - * place tasks. If you specify multiple capacity providers in a strategy that all have a - * weight of 0, any RunTask or CreateService actions - * using the capacity provider strategy will fail.

                                                                                                                                                                                                                                                                                                                                                                        + * zero and any capacity providers with a weight of 0 can't be used to place + * tasks. If you specify multiple capacity providers in a strategy that all have a weight + * of 0, any RunTask or CreateService actions using + * the capacity provider strategy will fail.

                                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                                        An example scenario for using weights is defining a strategy that contains two * capacity providers and both have a weight of 1, then when the * base is satisfied, the tasks will be split evenly across the two * capacity providers. Using that same logic, if you specify a weight of 1 for * capacityProviderA and a weight of 4 for - * capacityProviderB, then for every one task that is run using + * capacityProviderB, then for every one task that's run using * capacityProviderA, four tasks would use * capacityProviderB.

                                                                                                                                                                                                                                                                                                                                                                        */ @@ -706,14 +706,14 @@ export namespace ClusterSetting { export interface CreateClusterRequest { /** - *

                                                                                                                                                                                                                                                                                                                                                                        The name of your cluster. If you do not specify a name for your cluster, you create a - * cluster named default. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                                                                                                                                                                                                                                                                                                                                                        + *

                                                                                                                                                                                                                                                                                                                                                                        The name of your cluster. If you don't specify a name for your cluster, you create a + * cluster that's named default. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                                                                                                                                                                                                                                                                                                                                                        */ clusterName?: string; /** *

                                                                                                                                                                                                                                                                                                                                                                        The metadata that you apply to the cluster to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

                                                                                                                                                                                                                                                                                                                                                                        + * Each tag consists of a key and an optional value. You define both.

                                                                                                                                                                                                                                                                                                                                                                        *

                                                                                                                                                                                                                                                                                                                                                                        The following basic restrictions apply to tags:

                                                                                                                                                                                                                                                                                                                                                                        *
                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                        • @@ -750,14 +750,15 @@ export interface CreateClusterRequest { /** *

                                                                                                                                                                                                                                                                                                                                                                          The setting to use when creating a cluster. This parameter is used to enable CloudWatch - * Container Insights for a cluster. If this value is specified, it will override the + * Container Insights for a cluster. If this value is specified, it overrides the * containerInsights value set with PutAccountSetting or * PutAccountSettingDefault.

                                                                                                                                                                                                                                                                                                                                                                          */ settings?: ClusterSetting[]; /** - *

                                                                                                                                                                                                                                                                                                                                                                          The execute command configuration for the cluster.

                                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                                          The + * execute command configuration for the cluster.

                                                                                                                                                                                                                                                                                                                                                                          */ configuration?: ClusterConfiguration; @@ -768,8 +769,9 @@ export interface CreateClusterRequest { * strategy when calling the CreateService or RunTask * actions.

                                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                                          If specifying a capacity provider that uses an Auto Scaling group, the capacity - * provider must already be created and not already associated with another cluster. New - * Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.

                                                                                                                                                                                                                                                                                                                                                                          + * provider must be created but not associated with another cluster. New Auto Scaling group + * capacity providers can be created with the CreateCapacityProvider API + * operation.

                                                                                                                                                                                                                                                                                                                                                                          *

                                                                                                                                                                                                                                                                                                                                                                          To use a Fargate capacity provider, specify either the FARGATE or * FARGATE_SPOT capacity providers. The Fargate capacity providers are * available to all accounts and only need to be associated with a cluster to be @@ -780,13 +782,13 @@ export interface CreateClusterRequest { capacityProviders?: string[]; /** - *

                                                                                                                                                                                                                                                                                                                                                                          The capacity provider strategy to set as the default for the cluster. When a default - * capacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs with no capacity + *

                                                                                                                                                                                                                                                                                                                                                                          The capacity provider strategy to set as the default for the cluster. After a default + * capacity provider strategy is set for a cluster, when you call the RunTask or CreateService APIs with no capacity * provider strategy or launch type specified, the default capacity provider strategy for * the cluster is used.

                                                                                                                                                                                                                                                                                                                                                                          - *

                                                                                                                                                                                                                                                                                                                                                                          If a default capacity provider strategy is not defined for a cluster during creation, - * it can be defined later with the PutClusterCapacityProviders API - * operation.

                                                                                                                                                                                                                                                                                                                                                                          + *

                                                                                                                                                                                                                                                                                                                                                                          If a default capacity provider strategy isn't defined for a cluster when it was + * created, it can be defined later with the PutClusterCapacityProviders + * API operation.

                                                                                                                                                                                                                                                                                                                                                                          */ defaultCapacityProviderStrategy?: CapacityProviderStrategyItem[]; } @@ -864,7 +866,7 @@ export namespace Attachment { } /** - *

                                                                                                                                                                                                                                                                                                                                                                          A regional grouping of one or more container instances on which you can run task + *

                                                                                                                                                                                                                                                                                                                                                                          A regional grouping of one or more container instances where you can run task * requests. Each account receives a default cluster the first time you use the Amazon ECS * service, but you may also create other clusters. Clusters may contain more than one * instance type simultaneously.

                                                                                                                                                                                                                                                                                                                                                                          @@ -886,7 +888,7 @@ export interface Cluster { configuration?: ClusterConfiguration; /** - *

                                                                                                                                                                                                                                                                                                                                                                          The status of the cluster. The following are the possible states that will be + *

                                                                                                                                                                                                                                                                                                                                                                          The status of the cluster. The following are the possible states that are * returned.

                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                          *
                                                                                                                                                                                                                                                                                                                                                                          ACTIVE
                                                                                                                                                                                                                                                                                                                                                                          @@ -896,25 +898,25 @@ export interface Cluster { *
*
PROVISIONING
*
- *

The cluster has capacity providers associated with it and the resources - * needed for the capacity provider are being created.

+ *

The cluster has capacity providers that are associated with it and the + * resources needed for the capacity provider are being created.

*
*
DEPROVISIONING
*
- *

The cluster has capacity providers associated with it and the resources - * needed for the capacity provider are being deleted.

+ *

The cluster has capacity providers that are associated with it and the + * resources needed for the capacity provider are being deleted.

*
*
FAILED
*
- *

The cluster has capacity providers associated with it and the resources - * needed for the capacity provider have failed to create.

+ *

The cluster has capacity providers that are associated with it and the + * resources needed for the capacity provider have failed to create.

*
*
INACTIVE
*
*

The cluster has been deleted. Clusters with an INACTIVE * status may remain discoverable in your account for a period of time. - * However, this behavior is subject to change in the future, so you should not - * rely on INACTIVE clusters persisting.

+ * However, this behavior is subject to change in the future. We don't + * recommend that you rely on INACTIVE clusters persisting.

*
*
*/ @@ -943,8 +945,8 @@ export interface Cluster { activeServicesCount?: number; /** - *

Additional information about your clusters that are separated by launch type, - * including:

+ *

Additional information about your clusters that are separated by launch type. They + * include the following:

*
    *
  • *

    runningEC2TasksCount

    @@ -976,7 +978,7 @@ export interface Cluster { /** *

    The metadata that you apply to the cluster to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

    + * Each tag consists of a key and an optional value. You define both.

    *

    The following basic restrictions apply to tags:

    *
      *
    • @@ -1031,13 +1033,13 @@ export interface Cluster { /** *

      The resources attached to a cluster. When using a capacity provider with a cluster, - * the Auto Scaling plan that is created will be returned as a cluster attachment.

      + * the Auto Scaling plan that's created is returned as a cluster attachment.

      */ attachments?: Attachment[]; /** *

      The status of the capacity providers associated with the cluster. The following are - * the states that will be returned:

      + * the states that are returned.

      *
      *
      UPDATE_IN_PROGRESS
      *
      @@ -1083,8 +1085,7 @@ export namespace CreateClusterResponse { } /** - *

      The specified cluster could not be found. You can view your available clusters with - * ListClusters. Amazon ECS clusters are Region-specific.

      + *

      The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

      */ export interface ClusterNotFoundException extends __SmithyException, $MetadataBearer { name: "ClusterNotFoundException"; @@ -1104,7 +1105,7 @@ export namespace ClusterNotFoundException { /** * *

      The deployment circuit breaker can only be used for services using the rolling - * update (ECS) deployment type that are not behind a Classic Load Balancer.

      + * update (ECS) deployment type that aren't behind a Classic Load Balancer.

      *
      *

      The deployment circuit breaker determines whether a * service deployment will fail if the service can't reach a steady state. If enabled, a @@ -1115,14 +1116,15 @@ export namespace ClusterNotFoundException { */ export interface DeploymentCircuitBreaker { /** - *

      Whether to enable the deployment circuit breaker logic for the service.

      + *

      Determines whether to enable the deployment circuit breaker logic for the + * service.

      */ enable: boolean | undefined; /** - *

      Whether to enable Amazon ECS to roll back the service if a service deployment fails. If - * rollback is enabled, when a service deployment fails, the service is rolled back to the - * last deployment that completed successfully.

      + *

      Determines whether to enable Amazon ECS to roll back the service if a service deployment + * fails. If rollback is enabled, when a service deployment fails, the service is rolled + * back to the last deployment that completed successfully.

      */ rollback: boolean | undefined; } @@ -1188,10 +1190,10 @@ export interface DeploymentConfiguration { * if your service has a desired number of four tasks and a minimum healthy percent of 50%, * the scheduler may stop two existing tasks to free up cluster capacity before starting * two new tasks. Tasks for services that do not use a load balancer - * are considered healthy if they are in the RUNNING state; tasks for services - * that do use a load balancer are considered healthy if they are in - * the RUNNING state and they are reported as healthy by the load balancer. - * The default value for minimum healthy percent is 100%.

      + * are considered healthy if they're in the RUNNING state; tasks for services + * that do use a load balancer are considered healthy if they're in + * the RUNNING state and they're reported as healthy by the load balancer. The + * default value for minimum healthy percent is 100%.

      *

      If a service is using the blue/green (CODE_DEPLOY) or * EXTERNAL deployment types and tasks that use the EC2 * launch type, the minimum healthy percent value is set @@ -1276,21 +1278,21 @@ export interface LoadBalancer { /** *

      The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or * task set.

      - *

      A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a - * Classic Load Balancer the target group ARN should be omitted.

      + *

      A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you're using a + * Classic Load Balancer, omit the target group ARN.

      *

      For services using the ECS deployment controller, you can specify one or * multiple target groups. For more information, see Registering Multiple Target Groups with a Service in * the Amazon Elastic Container Service Developer Guide.

      - *

      For services using the CODE_DEPLOY deployment controller, you are - * required to define two target groups for the load balancer. For more information, see - * Blue/Green Deployment with CodeDeploy in the + *

      For services using the CODE_DEPLOY deployment controller, you're required + * to define two target groups for the load balancer. For more information, see Blue/Green Deployment with CodeDeploy in the * Amazon Elastic Container Service Developer Guide.

      * - *

      If your service's task definition uses the awsvpc network mode (which - * is required for the Fargate launch type), you must choose - * ip as the target type, not instance, when creating - * your target groups because tasks that use the awsvpc network mode are - * associated with an elastic network interface, not an Amazon EC2 instance.

      + *

      If your service's task definition uses the awsvpc network mode, you + * must choose ip as the target type, not instance. Do this + * when creating your target groups because tasks that use the awsvpc + * network mode are associated with an elastic network interface, not an Amazon EC2 + * instance. This network mode is required for the Fargate launch + * type.

      *
      */ targetGroupArn?: string; @@ -1312,7 +1314,7 @@ export interface LoadBalancer { *

      The port on the container to associate with the load balancer. This port must * correspond to a containerPort in the task definition the tasks in the * service are using. For tasks that use the EC2 launch type, the container - * instance they are launched on must allow ingress traffic on the hostPort of + * instance they're launched on must allow ingress traffic on the hostPort of * the port mapping.

      */ containerPort?: number; @@ -1337,7 +1339,7 @@ export enum AssignPublicIp { */ export interface AwsVpcConfiguration { /** - *

      The IDs of the subnets associated with the task or service. There is a limit of 16 + *

      The IDs of the subnets associated with the task or service. There's a limit of 16 * subnets that can be specified per AwsVpcConfiguration.

      * * @@ -1347,8 +1349,8 @@ export interface AwsVpcConfiguration { subnets: string[] | undefined; /** - *

      The IDs of the security groups associated with the task or service. If you do not - * specify a security group, the default security group for the VPC is used. There is a + *

      The IDs of the security groups associated with the task or service. If you don't + * specify a security group, the default security group for the VPC is used. There's a * limit of 5 security groups that can be specified per * AwsVpcConfiguration.

      * @@ -1379,7 +1381,7 @@ export namespace AwsVpcConfiguration { */ export interface NetworkConfiguration { /** - *

      The VPC subnets and security groups associated with a task.

      + *

      The VPC subnets and security groups that are associated with a task.

      * *

      All specified subnets and security groups must be from the same VPC.

      *
      @@ -1406,8 +1408,8 @@ export enum PlacementConstraintType { * Task Placement Constraints in the * Amazon Elastic Container Service Developer Guide.

      * - *

      If you are using the Fargate launch type, task placement constraints - * are not supported.

      + *

      If you're using the Fargate launch type, task placement constraints + * aren't supported.

      *
      */ export interface PlacementConstraint { @@ -1453,16 +1455,16 @@ export interface PlacementStrategy { * places tasks on available candidates. The spread placement strategy spreads * placement across available candidates evenly based on the field parameter. * The binpack strategy places tasks on available candidates that have the - * least available amount of the resource that is specified with the field + * least available amount of the resource that's specified with the field * parameter. For example, if you binpack on memory, a task is placed on the instance with - * the least amount of remaining memory (but still enough to run the task).

      + * the least amount of remaining memory but still enough to run the task.

      */ type?: PlacementStrategyType | string; /** *

      The field to apply the placement strategy against. For the spread * placement strategy, valid values are instanceId (or host, - * which has the same effect), or any platform or custom attribute that is applied to a + * which has the same effect), or any platform or custom attribute that's applied to a * container instance, such as attribute:ecs.availability-zone. For the * binpack placement strategy, valid values are cpu and * memory. For the random placement strategy, this field is @@ -1491,7 +1493,7 @@ export enum SchedulingStrategy { } /** - *

      Details of the service registry.

      + *

      The details for the service registry.

      */ export interface ServiceRegistry { /** @@ -1502,32 +1504,32 @@ export interface ServiceRegistry { /** *

      The port value used if your service discovery service specified an SRV record. This - * field may be used if both the awsvpc network mode and SRV records are + * field might be used if both the awsvpc network mode and SRV records are * used.

      */ port?: number; /** - *

      The container name value, already specified in the task definition, to be used for - * your service discovery service. If the task definition that your service task specifies - * uses the bridge or host network mode, you must specify a - * containerName and containerPort combination from the task - * definition. If the task definition that your service task specifies uses the + *

      The container name value to be used for your service discovery service. It's already + * specified in the task definition. If the task definition that your service task + * specifies uses the bridge or host network mode, you must + * specify a containerName and containerPort combination from the + * task definition. If the task definition that your service task specifies uses the * awsvpc network mode and a type SRV DNS record is used, you must specify * either a containerName and containerPort combination or a - * port value, but not both.

      + * port value. However, you can't specify both.

      */ containerName?: string; /** - *

      The port value, already specified in the task definition, to be used for your service - * discovery service. If the task definition your service task specifies uses the + *

      The port value to be used for your service discovery service. It's already specified + * in the task definition. If the task definition your service task specifies uses the * bridge or host network mode, you must specify a * containerName and containerPort combination from the task * definition. If the task definition your service task specifies uses the * awsvpc network mode and a type SRV DNS record is used, you must specify * either a containerName and containerPort combination or a - * port value, but not both.

      + * port value. However, you can't specify both.

      */ containerPort?: number; } @@ -1543,7 +1545,7 @@ export namespace ServiceRegistry { export interface CreateServiceRequest { /** - *

      The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service. + *

      The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on. * If you do not specify a cluster, the default cluster is assumed.

      */ cluster?: string; @@ -1557,10 +1559,10 @@ export interface CreateServiceRequest { /** *

      The family and revision (family:revision) or - * full ARN of the task definition to run in your service. If a revision is - * not specified, the latest ACTIVE revision is used.

      - *

      A task definition must be specified if the service is using either the - * ECS or CODE_DEPLOY deployment controllers.

      + * full ARN of the task definition to run in your service. If a revision + * isn't specified, the latest ACTIVE revision is used.

      + *

      A task definition must be specified if the service uses either the ECS or + * CODE_DEPLOY deployment controllers.

      */ taskDefinition?: string; @@ -1568,40 +1570,41 @@ export interface CreateServiceRequest { *

      A load balancer object representing the load balancers to use with your service. For * more information, see Service Load Balancing in the * Amazon Elastic Container Service Developer Guide.

      - *

      If the service is using the rolling update (ECS) deployment controller - * and using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to - * attach to the service. The service-linked role is required for services that make use of - * multiple target groups. For more information, see Using service-linked roles for Amazon ECS in the + *

      If the service uses the rolling update (ECS) deployment controller and + * using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to attach + * to the service. The service-linked role is required for services that use multiple + * target groups. For more information, see Using service-linked roles for Amazon ECS in the * Amazon Elastic Container Service Developer Guide.

      - *

      If the service is using the CODE_DEPLOY deployment controller, the - * service is required to use either an Application Load Balancer or Network Load Balancer. When creating an CodeDeploy deployment - * group, you specify two target groups (referred to as a targetGroupPair). - * During a deployment, CodeDeploy determines which task set in your service has the status - * PRIMARY and associates one target group with it, and then associates - * the other target group with the replacement task set. The load balancer can also have up - * to two listeners: a required listener for production traffic and an optional listener - * that allows you perform validation tests with Lambda functions before routing production - * traffic to it.

      + *

      If the service uses the CODE_DEPLOY deployment controller, the service is + * required to use either an Application Load Balancer or Network Load Balancer. When creating an CodeDeploy deployment group, you + * specify two target groups (referred to as a targetGroupPair). During a + * deployment, CodeDeploy determines which task set in your service has the status + * PRIMARY, and it associates one target group with it. Then, it also + * associates the other target group with the replacement task set. The load balancer can + * also have up to two listeners: a required listener for production traffic and an + * optional listener that you can use to perform validation tests with Lambda functions + * before routing production traffic to it.

      *

      After you create a service using the ECS deployment controller, the load - * balancer name or target group ARN, container name, and container port specified in the - * service definition are immutable. If you are using the CODE_DEPLOY + * balancer name or target group ARN, container name, and container port that's specified + * in the service definition are immutable. If you use the CODE_DEPLOY * deployment controller, these values can be changed when updating the service.

      *

      For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN, - * the container name (as it appears in a container definition), and the container port to - * access from the load balancer. The load balancer name parameter must be omitted. When a - * task from this service is placed on a container instance, the container instance and - * port combination is registered as a target in the target group specified here.

      - *

      For Classic Load Balancers, this object must contain the load balancer name, the container name (as it - * appears in a container definition), and the container port to access from the load - * balancer. The target group ARN parameter must be omitted. When a task from this service - * is placed on a container instance, the container instance is registered with the load - * balancer specified here.

      + * the container name, and the container port to access from the load balancer. The + * container name must be as it appears in a container definition. The load balancer name + * parameter must be omitted. When a task from this service is placed on a container + * instance, the container instance and port combination is registered as a target in the + * target group that's specified here.

      + *

      For Classic Load Balancers, this object must contain the load balancer name, the container name , and + * the container port to access from the load balancer. The container name must be as it + * appears in a container definition. The target group ARN parameter must be omitted. When + * a task from this service is placed on a container instance, the container instance is + * registered with the load balancer that's specified here.

      *

      Services with tasks that use the awsvpc network mode (for example, those - * with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are - * not supported. Also, when you create any target groups for these services, you must - * choose ip as the target type, not instance, because tasks that - * use the awsvpc network mode are associated with an elastic network - * interface, not an Amazon EC2 instance.

      + * with the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers + * aren't supported. Also, when you create any target groups for these services, you must + * choose ip as the target type, not instance. This is because + * tasks that use the awsvpc network mode are associated with an elastic + * network interface, not an Amazon EC2 instance.

      */ loadBalancers?: LoadBalancer[]; @@ -1611,7 +1614,7 @@ export interface CreateServiceRequest { * discovery.

      * *

      Each service may be associated with one service registry. Multiple service - * registries per service isn't supported.

      + * registries for each service isn't supported.

      *
      */ serviceRegistries?: ServiceRegistry[]; @@ -1619,20 +1622,20 @@ export interface CreateServiceRequest { /** *

      The number of instantiations of the specified task definition to place and keep * running on your cluster.

      - *

      This is required if schedulingStrategy is REPLICA or is not - * specified. If schedulingStrategy is DAEMON then this is not + *

      This is required if schedulingStrategy is REPLICA or isn't + * specified. If schedulingStrategy is DAEMON then this isn't * required.

      */ desiredCount?: number; /** - *

      Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. Up to 32 ASCII characters are allowed.

      + *

      An identifier that you provide to ensure the idempotency of the request. It must be + * unique and is case sensitive. Up to 32 ASCII characters are allowed.

      */ clientToken?: string; /** - *

      The infrastructure on which to run your service. For more information, see Amazon ECS + *

      The infrastructure that you run your service on. For more information, see Amazon ECS * launch types in the Amazon Elastic Container Service Developer Guide.

      *

      The FARGATE launch type runs your tasks on Fargate On-Demand * infrastructure.

      @@ -1643,7 +1646,7 @@ export interface CreateServiceRequest { *
      *

      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your * cluster.

      - *

      The EXTERNAL launch type runs your tasks on your on-premise server or + *

      The EXTERNAL launch type runs your tasks on your on-premises server or * virtual machine (VM) capacity registered to your cluster.

      *

      A service can use either a launch type or a capacity provider strategy. If a * launchType is specified, the capacityProviderStrategy @@ -1664,8 +1667,8 @@ export interface CreateServiceRequest { /** *

      The platform version that your tasks in the service are running on. A platform version * is specified only for tasks using the Fargate launch type. If one isn't - * specified, the LATEST platform version is used by default. For more - * information, see Fargate platform + * specified, the LATEST platform version is used. For more information, see + * Fargate platform * versions in the Amazon Elastic Container Service Developer Guide.

      */ platformVersion?: string; @@ -1673,16 +1676,16 @@ export interface CreateServiceRequest { /** *

      The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your * load balancer on your behalf. This parameter is only permitted if you are using a load - * balancer with your service and your task definition does not use the awsvpc + * balancer with your service and your task definition doesn't use the awsvpc * network mode. If you specify the role parameter, you must also specify a * load balancer object with the loadBalancers parameter.

      * *

      If your account has already created the Amazon ECS service-linked role, that role is - * used by default for your service unless you specify a role here. The service-linked - * role is required if your task definition uses the awsvpc network mode - * or if the service is configured to use service discovery, an external deployment - * controller, multiple target groups, or Elastic Inference accelerators in which case - * you should not specify a role here. For more information, see Using + * used for your service unless you specify a role here. The service-linked role is + * required if your task definition uses the awsvpc network mode or if the + * service is configured to use service discovery, an external deployment controller, + * multiple target groups, or Elastic Inference accelerators in which case you don't + * specify a role here. For more information, see Using * service-linked roles for Amazon ECS in the * Amazon Elastic Container Service Developer Guide.

      *
      @@ -1702,37 +1705,39 @@ export interface CreateServiceRequest { /** *

      An array of placement constraint objects to use for tasks in your service. You can - * specify a maximum of 10 constraints per task (this limit includes constraints in the - * task definition and those specified at runtime).

      + * specify a maximum of 10 constraints for each task. This limit includes constraints in + * the task definition and those specified at runtime.

      */ placementConstraints?: PlacementConstraint[]; /** *

      The placement strategy objects to use for tasks in your service. You can specify a - * maximum of 5 strategy rules per service.

      + * maximum of 5 strategy rules for each service.

      */ placementStrategy?: PlacementStrategy[]; /** *

      The network configuration for the service. This parameter is required for task * definitions that use the awsvpc network mode to receive their own elastic - * network interface, and it is not supported for other network modes. For more - * information, see Task networking + * network interface, and it isn't supported for other network modes. For more information, + * see Task networking * in the Amazon Elastic Container Service Developer Guide.

      */ networkConfiguration?: NetworkConfiguration; /** - *

      The period of time, in seconds, that the Amazon ECS service scheduler should ignore - * unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used - * when your service is configured to use a load balancer. If your service has a load - * balancer defined and you don't specify a health check grace period value, the default - * value of 0 is used.

      + *

      The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy + * Elastic Load Balancing target health checks after a task has first started. This is only used when your + * service is configured to use a load balancer. If your service has a load balancer + * defined and you don't specify a health check grace period value, the default value of + * 0 is used.

      *

      If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you - * can specify a health check grace period of up to 2,147,483,647 seconds. During that - * time, the Amazon ECS service scheduler ignores health check status. This grace period can - * prevent the service scheduler from marking tasks as unhealthy and stopping them before - * they have time to come up.

      + * can specify a health check grace period of up to + * 2,147,483,647 + * seconds (about 69 years). During that time, the Amazon ECS service + * scheduler ignores health check status. This grace period can prevent the service + * scheduler from marking tasks as unhealthy and stopping them before they have time to + * come up.

      */ healthCheckGracePeriodSeconds?: number; @@ -1746,9 +1751,8 @@ export interface CreateServiceRequest { * maintains the desired number of tasks across your cluster. By default, the * service scheduler spreads tasks across Availability Zones. You can use task * placement strategies and constraints to customize task placement decisions. This - * scheduler strategy is required if the service is using the - * CODE_DEPLOY or EXTERNAL deployment controller - * types.

      + * scheduler strategy is required if the service uses the CODE_DEPLOY + * or EXTERNAL deployment controller types.

      *
    • *
    • *

      @@ -1756,7 +1760,7 @@ export interface CreateServiceRequest { * task on each active container instance that meets all of the task placement * constraints that you specify in your cluster. The service scheduler also * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints. When you're using this strategy, you + * that don't meet the placement constraints. When you're using this strategy, you * don't need to specify a desired number of tasks, a task placement strategy, or * use Service Auto Scaling policies.

      * @@ -1779,7 +1783,7 @@ export interface CreateServiceRequest { *

      The metadata that you apply to the service to help you categorize and organize them. * Each tag consists of a key and an optional value, both of which you define. When a * service is deleted, the tags are deleted as well.

      - *

      The following basic restrictions apply to tags:

      + *

      The following basic restrictions apply to tags:

      *
        *
      • *

        Maximum number of tags per resource - 50

        @@ -1822,15 +1826,15 @@ export interface CreateServiceRequest { /** *

        Specifies whether to propagate the tags from the task definition or the service to the - * tasks in the service. If no value is specified, the tags are not propagated. Tags can + * tasks in the service. If no value is specified, the tags aren't propagated. Tags can * only be propagated to the tasks within the service during service creation. To add tags - * to a task after service creation or task creation, use the TagResource API - * action.

        + * to a task after service creation or task creation, use the TagResource + * API action.

        */ propagateTags?: PropagateTags | string; /** - *

        Whether or not the execute command functionality is enabled for the service. If + *

        Determines whether the execute command functionality is enabled for the service. If * true, this enables execute command functionality on all containers in * the service tasks.

        */ @@ -1863,7 +1867,7 @@ export interface Deployment { id?: string; /** - *

        The status of the deployment. The following describes each state:

        + *

        The status of the deployment. The following describes each state.

        *
        *
        PRIMARY
        *
        @@ -1919,12 +1923,12 @@ export interface Deployment { failedTasks?: number; /** - *

        The Unix timestamp for when the service deployment was created.

        + *

        The Unix timestamp for the time when the service deployment was created.

        */ createdAt?: Date; /** - *

        The Unix timestamp for when the service deployment was last updated.

        + *

        The Unix timestamp for the time when the service deployment was last updated.

        */ updatedAt?: Date; @@ -1940,17 +1944,19 @@ export interface Deployment { launchType?: LaunchType | string; /** - *

        The platform version on which your tasks in the service are running. A platform - * version is only specified for tasks using the Fargate launch type. If one - * is not specified, the LATEST platform version is used by default. For more - * information, see Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

        + *

        The platform version that your tasks in the service run on. A platform version is only + * specified for tasks using the Fargate launch type. If one isn't specified, + * the LATEST platform version is used. For more information, see Fargate Platform Versions in the + * Amazon Elastic Container Service Developer Guide.

        */ platformVersion?: string; /** - *

        The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.

        - *

        All tasks that run as part of this service must use the same platformFamily value as the service, for example, LINUX..

        + *

        The operating system that your tasks in the service, or tasks are running on. A + * platform family is specified only for tasks using the Fargate launch type.

        + *

        All tasks that run as part of this service must use the same + * platformFamily value as the service, for example, + * LINUX..

        */ platformFamily?: string; @@ -1963,15 +1969,15 @@ export interface Deployment { /** * *

        The rolloutState of a service is only returned for services that use - * the rolling update (ECS) deployment type that are not behind a + * the rolling update (ECS) deployment type that aren't behind a * Classic Load Balancer.

        *
        *

        The rollout state of the deployment. When a service deployment is started, it begins * in an IN_PROGRESS state. When the service reaches a steady state, the - * deployment will transition to a COMPLETED state. If the service fails to - * reach a steady state and circuit breaker is enabled, the deployment will transition to a - * FAILED state. A deployment in FAILED state will launch no - * new tasks. For more information, see DeploymentCircuitBreaker.

        + * deployment transitions to a COMPLETED state. If the service fails to reach + * a steady state and circuit breaker is enabled, the deployment transitions to a + * FAILED state. A deployment in FAILED state doesn't launch + * any new tasks. For more information, see DeploymentCircuitBreaker.

        */ rolloutState?: DeploymentRolloutState | string; @@ -1991,16 +1997,16 @@ export namespace Deployment { } /** - *

        Details on an event associated with a service.

        + *

        The details for an event that's associated with a service.

        */ export interface ServiceEvent { /** - *

        The ID string of the event.

        + *

        The ID string for the event.

        */ id?: string; /** - *

        The Unix timestamp for when the event was triggered.

        + *

        The Unix timestamp for the time when the event was triggered.

        */ createdAt?: Date; @@ -2082,15 +2088,15 @@ export interface TaskSet { clusterArn?: string; /** - *

        The tag specified when a task set is started. If the task set is created by an CodeDeploy - * deployment, the startedBy parameter is CODE_DEPLOY. For a task - * set created for an external deployment, the startedBy field isn't used.

        + *

        The tag specified when a task set is started. If an CodeDeploy deployment created the task + * set, the startedBy parameter is CODE_DEPLOY. If an external + * deployment created the task set, the startedBy field isn't used.

        */ startedBy?: string; /** *

        The external ID associated with the task set.

        - *

        If a task set is created by an CodeDeploy deployment, the externalId parameter + *

        If an CodeDeploy deployment created a task set, the externalId parameter * contains the CodeDeploy deployment ID.

        *

        If a task set is created for an external deployment and is associated with a service * discovery registry, the externalId parameter contains the @@ -2099,7 +2105,7 @@ export interface TaskSet { externalId?: string; /** - *

        The status of the task set. The following describes each state:

        + *

        The status of the task set. The following describes each state.

        *
        *
        PRIMARY
        *
        @@ -2107,11 +2113,11 @@ export interface TaskSet { *
        *
        ACTIVE
        *
        - *

        The task set is not serving production traffic.

        + *

        The task set isn't serving production traffic.

        *
        *
        DRAINING
        *
        - *

        The tasks in the task set are being stopped and their corresponding + *

        The tasks in the task set are being stopped, and their corresponding * targets are being deregistered from their target group.

        *
        *
        @@ -2119,7 +2125,7 @@ export interface TaskSet { status?: string; /** - *

        The task definition the task set is using.

        + *

        The task definition that the task set is using.

        */ taskDefinition?: string; @@ -2135,7 +2141,7 @@ export interface TaskSet { *

        The number of tasks in the task set that are in the PENDING status during * a deployment. A task in the PENDING state is preparing to enter the * RUNNING state. A task set enters the PENDING status when - * it launches for the first time or when it is restarted after being in the + * it launches for the first time or when it's restarted after being in the * STOPPED state.

        */ pendingCount?: number; @@ -2148,12 +2154,12 @@ export interface TaskSet { runningCount?: number; /** - *

        The Unix timestamp for when the task set was created.

        + *

        The Unix timestamp for the time when the task set was created.

        */ createdAt?: Date; /** - *

        The Unix timestamp for when the task set was last updated.

        + *

        The Unix timestamp for the time when the task set was last updated.

        */ updatedAt?: Date; @@ -2164,20 +2170,20 @@ export interface TaskSet { launchType?: LaunchType | string; /** - *

        The capacity provider strategy associated with the task set.

        + *

        The capacity provider strategy that are associated with the task set.

        */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

        The Fargate platform version on which the tasks in the task set are running. A - * platform version is only specified for tasks run on Fargate. For more information, see - * Fargate platform - * versions in the Amazon Elastic Container Service Developer Guide.

        + *

        The Fargate platform version where the tasks in the task set are running. A platform + * version is only specified for tasks run on Fargate. For more information, see Fargate platform versions in the + * Amazon Elastic Container Service Developer Guide.

        */ platformVersion?: string; /** - *

        The operating system that your tasks in the set are running on. A platform family is specified only for tasks using the Fargate launch type.

        + *

        The operating system that your tasks in the set are running on. A platform family is + * specified only for tasks that use the Fargate launch type.

        *

        All tasks in the set must have the same value.

        */ platformFamily?: string; @@ -2188,26 +2194,26 @@ export interface TaskSet { networkConfiguration?: NetworkConfiguration; /** - *

        Details on a load balancer that is used with a task set.

        + *

        Details on a load balancer that are used with a task set.

        */ loadBalancers?: LoadBalancer[]; /** - *

        The details of the service discovery registries to assign to this task set. For more + *

        The details for the service discovery registries to assign to this task set. For more * information, see Service * discovery.

        */ serviceRegistries?: ServiceRegistry[]; /** - *

        A floating-point percentage of the desired number of tasks to place and keep running + *

        A floating-point percentage of your desired number of tasks to place and keep running * in the task set.

        */ scale?: Scale; /** - *

        The stability status, which indicates whether the task set has reached a steady state. - * If the following conditions are met, the task set will be in + *

        The stability status. This indicates whether the task set has reached a steady state. + * If the following conditions are met, the task set sre in * STEADY_STATE:

        *
          *
        • @@ -2218,27 +2224,28 @@ export interface TaskSet { *

          The pendingCount is 0.

          *
        • *
        • - *

          There are no tasks running on container instances in the DRAINING - * status.

          + *

          There are no tasks that are running on container instances in the + * DRAINING status.

          *
        • *
        • *

          All tasks are reporting a healthy status from the load balancers, service * discovery, and container health checks.

          *
        • *
        - *

        If any of those conditions are not met, the stability status returns + *

        If any of those conditions aren't met, the stability status returns * STABILIZING.

        */ stabilityStatus?: StabilityStatus | string; /** - *

        The Unix timestamp for when the task set stability status was retrieved.

        + *

        The Unix timestamp for the time when the task set stability status was + * retrieved.

        */ stabilityStatusAt?: Date; /** *

        The metadata that you apply to the task set to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

        + * Each tag consists of a key and an optional value. You define both.

        *

        The following basic restrictions apply to tags:

        *
          *
        • @@ -2294,7 +2301,7 @@ export interface Service { /** *

          The name of your service. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. Service names must be unique within - * a cluster, but you can have similarly named services in multiple clusters within a + * a cluster. However, you can have similarly named services in multiple clusters within a * Region or across multiple Regions.

          */ serviceName?: string; @@ -2305,14 +2312,14 @@ export interface Service { clusterArn?: string; /** - *

          A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the - * container name (as it appears in a container definition), and the container port to - * access from the load balancer.

          + *

          A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the + * container name, and the container port to access from the load balancer. The container + * name is as it appears in a container definition.

          */ loadBalancers?: LoadBalancer[]; /** - *

          The details of the service discovery registries to assign to this service. For more + *

          The details for the service discovery registries to assign to this service. For more * information, see Service * Discovery.

          */ @@ -2347,23 +2354,25 @@ export interface Service { launchType?: LaunchType | string; /** - *

          The capacity provider strategy the service is using. When using the DescribeServices - * API, this field is omitted if the service was created using a launch type.

          + *

          The capacity provider strategy the service uses. When using the DescribeServices API, + * this field is omitted if the service was created using a launch type.

          */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

          The platform version on which to run your service. A platform version is only - * specified for tasks hosted on Fargate. If one is not specified, the - * LATEST platform version is used by default. For more information, see - * Fargate Platform + *

          The platform version to run your service on. A platform version is only specified for + * tasks that are hosted on Fargate. If one isn't specified, the LATEST + * platform version is used. For more information, see Fargate Platform * Versions in the Amazon Elastic Container Service Developer Guide.

          */ platformVersion?: string; /** - *

          The operating system that your tasks in the service are running on. A platform family is specified only for tasks using the Fargate launch type.

          - *

          All tasks that run as part of this service must use the same platformFamily value as the service, for example, LINUX.

          + *

          The operating system that your tasks in the service run on. A platform family is + * specified only for tasks using the Fargate launch type.

          + *

          All tasks that run as part of this service must use the same + * platformFamily value as the service (for example, + * LINUX).

          */ platformFamily?: string; @@ -2393,8 +2402,8 @@ export interface Service { deployments?: Deployment[]; /** - *

          The ARN of the IAM role associated with the service that allows the Amazon ECS container - * agent to register container instances with an Elastic Load Balancing load balancer.

          + *

          The ARN of the IAM role that's associated with the service. It allows the Amazon ECS + * container agent to register container instances with an Elastic Load Balancing load balancer.

          */ roleArn?: string; @@ -2405,7 +2414,7 @@ export interface Service { events?: ServiceEvent[]; /** - *

          The Unix timestamp for when the service was created.

          + *

          The Unix timestamp for the time when the service was created.

          */ createdAt?: Date; @@ -2433,7 +2442,7 @@ export interface Service { /** *

          The scheduling strategy to use for the service. For more information, see Services.

          - *

          There are two service scheduler strategies available:

          + *

          There are two service scheduler strategies available.

          *
            *
          • *

            @@ -2446,12 +2455,14 @@ export interface Service { *

          • *

            * DAEMON-The daemon scheduling strategy deploys exactly one - * task on each active container instance that meets all of the task placement - * constraints that you specify in your cluster. The service scheduler also - * evaluates the task placement constraints for running tasks and will stop tasks - * that do not meet the placement constraints.

            + * task on each active container + * instance. + * This taskmeets all of the task placement constraints that you + * specify in your cluster. The service scheduler also evaluates the task placement + * constraints for running tasks. It stop tasks that don't meet the placement + * constraints.

            * - *

            Fargate tasks do not support the DAEMON + *

            Fargate tasks don't support the DAEMON * scheduling strategy.

            *
            *
          • @@ -2461,14 +2472,15 @@ export interface Service { /** *

            The deployment controller type the service is using. When using the DescribeServices - * API, this field is omitted if the service is using the ECS deployment + * API, this field is omitted if the service uses the ECS deployment * controller type.

            */ deploymentController?: DeploymentController; /** *

            The metadata that you apply to the service to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define.

            + * Each tag consists of a key and an optional value. You define bot the key and + * value.

            *

            The following basic restrictions apply to tags:

            *
              *
            • @@ -2509,20 +2521,20 @@ export interface Service { createdBy?: string; /** - *

              Specifies whether to enable Amazon ECS managed tags for the tasks in the service. For more + *

              Determines whether to enable Amazon ECS managed tags for the tasks in the service. For more * information, see Tagging Your Amazon ECS * Resources in the Amazon Elastic Container Service Developer Guide.

              */ enableECSManagedTags?: boolean; /** - *

              Specifies whether to propagate the tags from the task definition or the service to the - * task. If no value is specified, the tags are not propagated.

              + *

              Determines whether to propagate the tags from the task definition or the service to + * the task. If no value is specified, the tags aren't propagated.

              */ propagateTags?: PropagateTags | string; /** - *

              Whether or not the execute command functionality is enabled for the service. If + *

              Determines whether the execute command functionality is enabled for the service. If * true, the execute command functionality is enabled for all containers * in tasks as part of the service.

              */ @@ -2542,12 +2554,12 @@ export interface CreateServiceResponse { /** *

              The full description of your service following the create call.

              *

              A service will return either a capacityProviderStrategy or - * launchType parameter, but not both, depending on which one was - * specified during creation.

              + * launchType parameter, but not both, depending where one was specified + * when it was created.

              *

              If a service is using the ECS deployment controller, the * deploymentController and taskSets parameters will not be * returned.

              - *

              If the service is using the CODE_DEPLOY deployment controller, the + *

              if the service uses the CODE_DEPLOY deployment controller, the * deploymentController, taskSets and * deployments parameters will be returned, however the * deployments parameter will be an empty list.

              @@ -2565,8 +2577,8 @@ export namespace CreateServiceResponse { } /** - *

              The specified platform version does not satisfy the task definition's required - * capabilities.

              + *

              The specified platform version doesn't satisfy the required capabilities of the task + * definition.

              */ export interface PlatformTaskDefinitionIncompatibilityException extends __SmithyException, $MetadataBearer { name: "PlatformTaskDefinitionIncompatibilityException"; @@ -2584,7 +2596,7 @@ export namespace PlatformTaskDefinitionIncompatibilityException { } /** - *

              The specified platform version does not exist.

              + *

              The specified platform version doesn't exist.

              */ export interface PlatformUnknownException extends __SmithyException, $MetadataBearer { name: "PlatformUnknownException"; @@ -2602,7 +2614,7 @@ export namespace PlatformUnknownException { } /** - *

              The specified task is not supported in this Region.

              + *

              The specified task isn't supported in this Region.

              */ export interface UnsupportedFeatureException extends __SmithyException, $MetadataBearer { name: "UnsupportedFeatureException"; @@ -2663,8 +2675,8 @@ export interface CreateTaskSetRequest { serviceRegistries?: ServiceRegistry[]; /** - *

              The launch type that new tasks in the task set will use. For more information, see - * Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

              + *

              The launch type that new tasks in the task set uses. For more information, see Amazon ECS + * Launch Types in the Amazon Elastic Container Service Developer Guide.

              *

              If a launchType is specified, the capacityProviderStrategy * parameter must be omitted.

              */ @@ -2694,9 +2706,9 @@ export interface CreateTaskSetRequest { capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

              The platform version that the tasks in the task set should use. A platform version is + *

              The platform version that the tasks in the task set uses. A platform version is * specified only for tasks using the Fargate launch type. If one isn't - * specified, the LATEST platform version is used by default.

              + * specified, the LATEST platform version is used.

              */ platformVersion?: string; @@ -2707,16 +2719,16 @@ export interface CreateTaskSetRequest { scale?: Scale; /** - *

              Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. Up to 32 ASCII characters are allowed.

              + *

              The identifier that you provide to ensure the idempotency of the request. It's case + * sensitive and must be unique. It can be up to 32 ASCII characters are allowed.

              */ clientToken?: string; /** *

              The metadata that you apply to the task set to help you categorize and organize them. - * Each tag consists of a key and an optional value, both of which you define. When a - * service is deleted, the tags are deleted as well.

              - *

              The following basic restrictions apply to tags:

              + * Each tag consists of a key and an optional value. You define both. When a service is + * deleted, the tags are deleted.

              + *

              The following basic restrictions apply to tags:

              *
                *
              • *

                Maximum number of tags per resource - 50

                @@ -2780,8 +2792,8 @@ export namespace CreateTaskSetResponse { } /** - *

                The specified service is not active. You can't update a service that is inactive. If - * you have previously deleted a service, you can re-create it with CreateService.

                + *

                The specified service isn't active. You can't update a service that's inactive. If you + * have previously deleted a service, you can re-create it with CreateService.

                */ export interface ServiceNotActiveException extends __SmithyException, $MetadataBearer { name: "ServiceNotActiveException"; @@ -2799,9 +2811,8 @@ export namespace ServiceNotActiveException { } /** - *

                The specified service could not be found. You can view your available services with - * ListServices. Amazon ECS services are cluster-specific and - * Region-specific.

                + *

                The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region + * specific.

                */ export interface ServiceNotFoundException extends __SmithyException, $MetadataBearer { name: "ServiceNotFoundException"; @@ -2828,7 +2839,7 @@ export enum SettingName { export interface DeleteAccountSettingRequest { /** - *

                The resource name for which to disable the account setting. If + *

                The resource name to disable the account setting for. If * serviceLongArnFormat is specified, the ARN for your Amazon ECS services is * affected. If taskLongArnFormat is specified, the ARN and resource ID for * your Amazon ECS tasks is affected. If containerInstanceLongArnFormat is @@ -2839,11 +2850,11 @@ export interface DeleteAccountSettingRequest { name: SettingName | string | undefined; /** - *

                The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you - * specify the root user, it disables the account setting for all IAM users, IAM roles, and - * the root user of the account unless an IAM user or role explicitly overrides these - * settings. If this field is omitted, the setting is changed only for the authenticated - * user.

                + *

                The Amazon Resource Name (ARN) of the principal. It can be an IAM user, IAM role, or + * the root user. If you specify the root user, it disables the account setting for all IAM + * users, IAM roles, and the root user of the account unless an IAM user or role explicitly + * overrides these settings. If this field is omitted, the setting is changed only for the + * authenticated user.

                */ principalArn?: string; } @@ -2867,13 +2878,14 @@ export interface Setting { name?: SettingName | string; /** - *

                Whether the account setting is enabled or disabled for the specified resource.

                + *

                Determines whether the account setting is enabled or disabled for the specified + * resource.

                */ value?: string; /** - *

                The ARN of the principal, which can be an IAM user, IAM role, or the root user. If - * this field is omitted, the authenticated user is assumed.

                + *

                The ARN of the principal. It can be an IAM user, IAM role, or the root user. If this + * field is omitted, the authenticated user is assumed.

                */ principalArn?: string; } @@ -2908,29 +2920,29 @@ export enum TargetType { } /** - *

                An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable - * you to extend the Amazon ECS data model by adding custom metadata to your resources. For more - * information, see Attributes in the Amazon Elastic Container Service Developer Guide.

                + *

                An attribute is a name-value pair that's associated with an Amazon ECS object. Attributes + * enable you to extend the Amazon ECS data model by adding custom metadata to your resources. + * For more information, see Attributes in the Amazon Elastic Container Service Developer Guide.

                */ export interface Attribute { /** *

                The name of the attribute. The name must contain between 1 and 128 - * characters and name may contain letters (uppercase and lowercase), numbers, hyphens, - * underscores, forward slashes, back slashes, or periods.

                + * characters. The name may contain letters (uppercase and lowercase), numbers, hyphens + * (-), underscores (_), forward slashes (/), back slashes (\), or periods (.).

                */ name: string | undefined; /** *

                The value of the attribute. The value must contain between 1 and 128 - * characters and may contain letters (uppercase and lowercase), numbers, hyphens, - * underscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces. - * The value cannot contain any leading or trailing whitespace.

                + * characters. It can contain letters (uppercase and lowercase), numbers, hyphens (-), + * underscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\), + * colons (:), or spaces. The value can't can't start or end with a space.

                */ value?: string; /** - *

                The type of the target with which to attach the attribute. This parameter is required - * if you use the short form ID for a resource instead of the full ARN.

                + *

                The type of the target to attach the attribute with. This parameter is required if you + * use the short form ID for a resource instead of the full ARN.

                */ targetType?: TargetType | string; @@ -2958,8 +2970,8 @@ export interface DeleteAttributesRequest { cluster?: string; /** - *

                The attributes to delete from your resource. You can specify up to 10 attributes per - * request. For custom attributes, specify the attribute name and target ID, but do not + *

                The attributes to delete from your resource. You can specify up to 10 attributes for + * each request. For custom attributes, specify the attribute name and target ID, but don't * specify the value. If you specify the target ID using the short form, you must also * specify the target type.

                */ @@ -2992,8 +3004,8 @@ export namespace DeleteAttributesResponse { } /** - *

                The specified target could not be found. You can view your available container - * instances with ListContainerInstances. Amazon ECS container instances are + *

                The specified target wasn't found. You can view your available container instances + * with ListContainerInstances. Amazon ECS container instances are * cluster-specific and Region-specific.

                */ export interface TargetNotFoundException extends __SmithyException, $MetadataBearer { @@ -3044,7 +3056,7 @@ export namespace DeleteCapacityProviderResponse { } /** - *

                You cannot delete a cluster that has registered container instances. First, deregister + *

                You can't delete a cluster that has registered container instances. First, deregister * the container instances before you can delete the cluster. For more information, see * DeregisterContainerInstance.

                */ @@ -3064,9 +3076,9 @@ export namespace ClusterContainsContainerInstancesException { } /** - *

                You cannot delete a cluster that contains services. First, update the service to - * reduce its desired task count to 0 and then delete the service. For more information, - * see UpdateService and DeleteService.

                + *

                You can't delete a cluster that contains services. First, update the service to reduce + * its desired task count to 0, and then delete the service. For more information, see + * UpdateService and DeleteService.

                */ export interface ClusterContainsServicesException extends __SmithyException, $MetadataBearer { name: "ClusterContainsServicesException"; @@ -3084,7 +3096,7 @@ export namespace ClusterContainsServicesException { } /** - *

                You cannot delete a cluster that has active tasks.

                + *

                You can't delete a cluster that has active tasks.

                */ export interface ClusterContainsTasksException extends __SmithyException, $MetadataBearer { name: "ClusterContainsTasksException"; @@ -3146,9 +3158,9 @@ export interface DeleteServiceRequest { service: string | undefined; /** - *

                If true, allows you to delete a service even if it has not been scaled - * down to zero tasks. It is only necessary to use this if the service is using the - * REPLICA scheduling strategy.

                + *

                If true, allows you to delete a service even if it wasn't scaled down to + * zero tasks. It's only necessary to use this if the service uses the REPLICA + * scheduling strategy.

                */ force?: boolean; } @@ -3181,7 +3193,7 @@ export namespace DeleteServiceResponse { export interface DeleteTaskSetRequest { /** *

                The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task - * set exists in to delete.

                + * set found in to delete.

                */ cluster: string | undefined; @@ -3197,8 +3209,8 @@ export interface DeleteTaskSetRequest { taskSet: string | undefined; /** - *

                If true, this allows you to delete a task set even if it hasn't been - * scaled down to zero.

                + *

                If true, you can delete a task set even if it hasn't been scaled down to + * zero.

                */ force?: boolean; } @@ -3229,9 +3241,8 @@ export namespace DeleteTaskSetResponse { } /** - *

                The specified task set could not be found. You can view your available task sets with - * DescribeTaskSets. Task sets are specific to each cluster, service - * and Region.

                + *

                The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and + * Region.

                */ export interface TaskSetNotFoundException extends __SmithyException, $MetadataBearer { name: "TaskSetNotFoundException"; @@ -3262,12 +3273,12 @@ export interface DeregisterContainerInstanceRequest { containerInstance: string | undefined; /** - *

                Forces the deregistration of the container instance. If you have tasks running on the + *

                Forces the container instance to be deregistered. If you have tasks running on the * container instance when you deregister it with the force option, these * tasks remain running until you terminate the instance or the tasks stop through some - * other means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If - * an orphaned task on your container instance is part of an Amazon ECS service, then the - * service scheduler starts another copy of that task, on a different container instance if + * other means, but they're orphaned (no longer monitored or accounted for by Amazon ECS). If an + * orphaned task on your container instance is part of an Amazon ECS service, then the service + * scheduler starts another copy of that task, on a different container instance if * possible.

                *

                Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer * target group are deregistered. They begin connection draining according to the settings @@ -3285,6 +3296,78 @@ export namespace DeregisterContainerInstanceRequest { }); } +export enum InstanceHealthCheckState { + IMPAIRED = "IMPAIRED", + INITIALIZING = "INITIALIZING", + INSUFFICIENT_DATA = "INSUFFICIENT_DATA", + OK = "OK", +} + +export enum InstanceHealthCheckType { + CONTAINER_RUNTIME = "CONTAINER_RUNTIME", +} + +/** + *

                An object representing the result of a container instance health status check.

                + */ +export interface InstanceHealthCheckResult { + /** + *

                The type of container instance health status that was verified.

                + */ + type?: InstanceHealthCheckType | string; + + /** + *

                The container instance health status.

                + */ + status?: InstanceHealthCheckState | string; + + /** + *

                The Unix timestamp for when the container instance health status was last + * updated.

                + */ + lastUpdated?: Date; + + /** + *

                The Unix timestamp for when the container instance health status last changed.

                + */ + lastStatusChange?: Date; +} + +export namespace InstanceHealthCheckResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceHealthCheckResult): any => ({ + ...obj, + }); +} + +/** + *

                An object representing the health status of the container instance.

                + */ +export interface ContainerInstanceHealthStatus { + /** + *

                The overall health status of the container instance. This is an aggregate status of + * all container instance health checks.

                + */ + overallStatus?: InstanceHealthCheckState | string; + + /** + *

                An array of objects representing the details of the container instance health + * status.

                + */ + details?: InstanceHealthCheckResult[]; +} + +export namespace ContainerInstanceHealthStatus { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ContainerInstanceHealthStatus): any => ({ + ...obj, + }); +} + /** *

                Describes the resources available for a container instance.

                */ @@ -3296,7 +3379,7 @@ export interface Resource { name?: string; /** - *

                The type of the resource, such as INTEGER, DOUBLE, + *

                The type of the resource. Valid values: INTEGER, DOUBLE, * LONG, or STRINGSET.

                */ type?: string; @@ -3352,7 +3435,7 @@ export interface VersionInfo { agentHash?: string; /** - *

                The Docker version running on the container instance.

                + *

                The Docker version that's running on the container instance.

                */ dockerVersion?: string; } @@ -3367,7 +3450,7 @@ export namespace VersionInfo { } /** - *

                An EC2 instance that is running the Amazon ECS agent and has been registered with a + *

                An EC2 instance that's running the Amazon ECS agent and has been registered with a * cluster.

                */ export interface ContainerInstance { @@ -3383,14 +3466,14 @@ export interface ContainerInstance { ec2InstanceId?: string; /** - *

                The capacity provider associated with the container instance.

                + *

                The capacity provider that's associated with the container instance.

                */ capacityProviderName?: string; /** *

                The version counter for the container instance. Every time a container instance * experiences a change that triggers a CloudWatch event, the version counter is - * incremented. If you are replicating your Amazon ECS container instance state with CloudWatch + * incremented. If you're replicating your Amazon ECS container instance state with CloudWatch * Events, you can compare the version of a container instance reported by the Amazon ECS APIs * with the version reported in CloudWatch Events for the container instance (inside the * detail object) to verify that the version in your event stream is @@ -3406,12 +3489,11 @@ export interface ContainerInstance { /** *

                For CPU and memory resource types, this parameter describes the remaining CPU and - * memory that has not already been allocated to tasks and is therefore available for new - * tasks. For port resource types, this parameter describes the ports that were reserved by - * the Amazon ECS container agent (at instance registration time) and any task containers that - * have reserved port mappings on the host (with the host or - * bridge network mode). Any port that is not specified here is available - * for new tasks.

                + * memory that wasn't already allocated to tasks and is therefore available for new tasks. + * For port resource types, this parameter describes the ports that were reserved by the + * Amazon ECS container agent (at instance registration time) and any task containers that have + * reserved port mappings on the host (with the host or bridge + * network mode). Any port that's not specified here is available for new tasks.

                */ remainingResources?: Resource[]; @@ -3439,7 +3521,7 @@ export interface ContainerInstance { * network interface is deprovisioned. The instance then transitions to an * INACTIVE status.

                *

                The ACTIVE status indicates that the container instance can accept tasks. - * The DRAINING indicates that new tasks are not placed on the container + * The DRAINING indicates that new tasks aren't placed on the container * instance and any service tasks running on the container instance are removed if * possible. For more information, see Container Instance Draining in the * Amazon Elastic Container Service Developer Guide.

                @@ -3472,8 +3554,8 @@ export interface ContainerInstance { pendingTasksCount?: number; /** - *

                The status of the most recent agent update. If an update has never been requested, - * this value is NULL.

                + *

                The status of the most recent agent update. If an update wasn't ever requested, this + * value is NULL.

                */ agentUpdateStatus?: AgentUpdateStatus | string; @@ -3485,7 +3567,7 @@ export interface ContainerInstance { attributes?: Attribute[]; /** - *

                The Unix timestamp for when the container instance was registered.

                + *

                The Unix timestamp for the time when the container instance was registered.

                */ registeredAt?: Date; @@ -3497,9 +3579,8 @@ export interface ContainerInstance { /** *

                The metadata that you apply to the container instance to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                - *

                The following basic restrictions apply to tags:

                + * organize them. Each tag consists of a key and an optional value. You define both.

                + *

                The following basic restrictions apply to tags:

                *
                  *
                • *

                  Maximum number of tags per resource - 50

                  @@ -3532,6 +3613,11 @@ export interface ContainerInstance { *
                */ tags?: Tag[]; + + /** + *

                An object representing the health status of the container instance.

                + */ + healthStatus?: ContainerInstanceHealthStatus; } export namespace ContainerInstance { @@ -3598,21 +3684,20 @@ export enum ContainerCondition { * to enable container dependencies. However, we recommend using the latest container agent * version. For information about checking your agent version and updating to the latest * version, see Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using + * an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the * ecs-init package. If your container instances are launched from version * 20190301 or later, then they contain the required versions of the * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                * - *

                For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

                + *

                For tasks that use the Fargate launch type, the task or service + * requires the following platforms:

                *
                  *
                • - *

                  Linux platform - * version 1.3.0 or later.

                  + *

                  Linux platform version 1.3.0 or later.

                  *
                • *
                • - *

                  Windows platform - * version 1.0.0 or later.

                  + *

                  Windows platform version 1.0.0 or later.

                  *
                • *
                *
                @@ -3638,13 +3723,13 @@ export interface ContainerDependency { * COMPLETE - This condition validates that a dependent * container runs to completion (exits) before permitting other containers to * start. This can be useful for nonessential containers that run a script and then - * exit. This condition cannot be set on an essential container.

                + * exit. This condition can't be set on an essential container.

                *
              • *
              • *

                * SUCCESS - This condition is the same as * COMPLETE, but it also requires that the container exits with a - * zero status. This condition cannot be set on an essential + * zero status. This condition can't be set on an essential * container.

                *
              • *
              • @@ -3677,24 +3762,23 @@ export enum EnvironmentFileType { * specify up to ten environment files. The file must have a .env file * extension. Each line in an environment file should contain an environment variable in * VARIABLE=VALUE format. Lines beginning with # are treated - * as comments and are ignored. For more information on the environment variable file + * as comments and are ignored. For more information about the environment variable file * syntax, see Declare default * environment variables in file.

                *

                If there are environment variables specified using the environment * parameter in a container definition, they take precedence over the variables contained * within an environment file. If multiple environment files are specified that contain the - * same variable, they are processed from the top down. It is recommended to use unique + * same variable, they're processed from the top down. We recommend that you use unique * variable names. For more information, see Specifying environment * variables in the Amazon Elastic Container Service Developer Guide.

                - *

                This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                + *

                This parameter is only supported for tasks hosted on Fargate using the + * following platform versions:

                *
                  *
                • - *

                  Linux platform - * version 1.4.0 or later.

                  + *

                  Linux platform version 1.4.0 or later.

                  *
                • *
                • - *

                  Windows platform - * version 1.0.0 or later.

                  + *

                  Windows platform version 1.0.0 or later.

                  *
                • *
                */ @@ -3810,7 +3894,7 @@ export namespace FirelensConfiguration { *
              • *

                * UNKNOWN-The container health check is being evaluated or - * there is no container health check defined.

                + * there's no container health check defined.

                *
              • *
              *

              The following describes the possible healthStatus values for a task. The @@ -3846,13 +3930,13 @@ export namespace FirelensConfiguration { * Amazon ECS Container Agent.

              *
            • *
            • - *

              Container health checks are supported for Fargate tasks if you - * are using platform version 1.1.0 or greater. For more information, see Fargate + *

              Container health checks are supported for Fargate tasks if + * you're using platform version 1.1.0 or greater. For more information, see Fargate * Platform Versions.

              *
            • *
            • - *

              Container health checks are not supported for tasks that are part of a service - * that is configured to use a Classic Load Balancer.

              + *

              Container health checks aren't supported for tasks that are part of a service + * that's configured to use a Classic Load Balancer.

              *
            • *
            */ @@ -3862,11 +3946,12 @@ export interface HealthCheck { * healthy. The string array must start with CMD to execute the command * arguments directly, or CMD-SHELL to run the command with the container's * default shell.

            - *

            When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, you should enclose the list of commands in brackets, as shown below.

            + *

            When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list + * of commands in brackets.

            *

            * [ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ] *

            - *

            You do not need to include the brackets when you use the Amazon Web Services Management Consoleas shown below.

            + *

            You don't need to include the brackets when you use the Amazon Web Services Management Console.

            *

            * "CMD-SHELL", "curl -f http://localhost/ || exit 1" *

            @@ -3896,9 +3981,9 @@ export interface HealthCheck { retries?: number; /** - *

            The optional grace period within which to provide containers time to bootstrap before - * failed health checks count towards the maximum number of retries. You may specify - * between 0 and 300 seconds. The startPeriod is disabled by default.

            + *

            The optional grace period to provide containers time to bootstrap before failed health + * checks count towards the maximum number of retries. You can specify between 0 and 300 + * seconds. By default, the startPeriod is disabled.

            * *

            If a health check succeeds within the startPeriod, then the container * is considered healthy and any subsequent failures count toward the maximum number of @@ -3919,10 +4004,10 @@ export namespace HealthCheck { /** *

            The Linux capabilities for the container that are added to or dropped from the default - * configuration provided by Docker. For more information on the default capabilities and - * the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run - * reference. For more detailed information on these Linux capabilities, see - * the capabilities(7) Linux manual page.

            + * configuration provided by Docker. For more information about the default capabilities + * and the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run + * reference. For more detailed information about these Linux capabilities, + * see the capabilities(7) Linux manual page.

            */ export interface KernelCapabilities { /** @@ -4069,8 +4154,8 @@ export interface LinuxParameters { * Devices in the Create a container section of the * Docker Remote API and the --device option to docker run.

            * - *

            If you are using tasks that use the Fargate launch type, the - * devices parameter is not supported.

            + *

            If you're using tasks that use the Fargate launch type, the + * devices parameter isn't supported.

            *
            */ devices?: Device[]; @@ -4097,8 +4182,8 @@ export interface LinuxParameters { *

            The container path, mount options, and size (in MiB) of the tmpfs mount. This * parameter maps to the --tmpfs option to docker run.

            * - *

            If you are using tasks that use the Fargate launch type, the - * tmpfs parameter is not supported.

            + *

            If you're using tasks that use the Fargate launch type, the + * tmpfs parameter isn't supported.

            *
            */ tmpfs?: Tmpfs[]; @@ -4113,8 +4198,8 @@ export interface LinuxParameters { * configuration for the container instance it is running on. A maxSwap value * must be set for the swappiness parameter to be used.

            * - *

            If you are using tasks that use the Fargate launch type, the - * maxSwap parameter is not supported.

            + *

            If you're using tasks that use the Fargate launch type, the + * maxSwap parameter isn't supported.

            *
            */ maxSwap?: number; @@ -4129,8 +4214,8 @@ export interface LinuxParameters { * maxSwap then this parameter is ignored. This parameter maps to the * --memory-swappiness option to docker run.

            * - *

            If you are using tasks that use the Fargate launch type, the - * swappiness parameter is not supported.

            + *

            If you're using tasks that use the Fargate launch type, the + * swappiness parameter isn't supported.

            *
            */ swappiness?: number; @@ -4182,9 +4267,10 @@ export interface Secret { *

            The secret to expose to the container. The supported values are either the full ARN of * the Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

            * - *

            If the SSM Parameter Store parameter exists in the same Region as the task you - * are launching, then you can use either the full ARN or name of the parameter. If the - * parameter exists in a different Region, then the full ARN must be specified.

            + *

            If the SSM Parameter Store parameter exists in the same Region as the task + * you're launching, then you can use either the full ARN or name of the parameter. If + * the parameter exists in a different Region, then the full ARN must be + * specified.

            *
            */ valueFrom: string | undefined; @@ -4206,13 +4292,13 @@ export namespace Secret { * docker * run * .

            - *

            By default, containers use the same logging driver that the Docker daemon uses; - * however the container may use a different logging driver than the Docker daemon by + *

            By default, containers use the same logging driver that the Docker daemon uses. + * However, the container might use a different logging driver than the Docker daemon by * specifying a log driver configuration in the container definition. For more information - * on the options for different supported log drivers, see Configure logging + * about the options for different supported log drivers, see Configure logging * drivers in the Docker documentation.

            - *

            The following should be noted when specifying a log configuration for your - * containers:

            + *

            Understand the following when specifying a log configuration for your + * containers.

            *
              *
            • *

              Amazon ECS currently supports a subset of the logging drivers available to the @@ -4224,17 +4310,17 @@ export namespace Secret { * your container instance.

              *
            • *
            • - *

              For tasks hosted on Amazon EC2 instances, the Amazon ECS container agent must register - * the available logging drivers with the + *

              For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must + * register the available logging drivers with the * ECS_AVAILABLE_LOGGING_DRIVERS environment variable before * containers placed on that instance can use these log configuration options. For * more information, see Amazon ECS container agent configuration in the * Amazon Elastic Container Service Developer Guide.

              *
            • *
            • - *

              For tasks on Fargate, because you do not have access to the underlying - * infrastructure your tasks are hosted on, any additional software needed will - * have to be installed outside of the task. For example, the Fluentd output + *

              For tasks that are on Fargate, because you don't have access to the + * underlying infrastructure your tasks are hosted on, any additional software + * needed must be installed outside of the task. For example, the Fluentd output * aggregators or a remote host running Logstash to send Gelf logs to.

              *
            • *
            @@ -4253,12 +4339,11 @@ export interface LogConfiguration { * the awslogs log driver in the Amazon Elastic Container Service Developer Guide.

            *

            For more information about using the awsfirelens log driver, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

            * - *

            If you have a custom driver that is not listed, you can fork the Amazon ECS container - * agent project that is available + *

            If you have a custom driver that isn't listed, you can fork the Amazon ECS container + * agent project that's available * on GitHub and customize it to work with that driver. We encourage you to * submit pull requests for changes that you would like to have included. However, we - * do not currently provide support for running modified copies of this - * software.

            + * don't currently provide support for running modified copies of this software.

            *
            */ logDriver: LogDriver | string | undefined; @@ -4286,7 +4371,7 @@ export namespace LogConfiguration { } /** - *

            Details on a volume mount point that is used in a container definition.

            + *

            Details for a volume mount point that's used in a container definition.

            */ export interface MountPoint { /** @@ -4326,13 +4411,13 @@ export enum TransportProtocol { *

            Port mappings allow containers to access ports on the host container instance to send * or receive traffic. Port mappings are specified as part of the container * definition.

            - *

            If you are using containers in a task with the awsvpc or - * host network mode, exposed ports should be specified using - * containerPort. The hostPort can be left blank or it must - * be the same value as the containerPort.

            + *

            If you use containers in a task with the awsvpc or host + * network mode, specify the exposed ports using containerPort. The + * hostPort can be left blank or it must be the same value as the + * containerPort.

            * - *

            You cannot expose the same container port for multiple protocols. An error will be - * returned if this is attempted

            + *

            You can't expose the same container port for multiple protocols. If you attempt + * this, an error is returned.

            *
            *

            After a task reaches the RUNNING status, manual and automatic host and * container port assignments are visible in the networkBindings section of @@ -4340,27 +4425,26 @@ export enum TransportProtocol { */ export interface PortMapping { /** - *

            The port number on the container that is bound to the user-specified or automatically + *

            The port number on the container that's bound to the user-specified or automatically * assigned host port.

            - *

            If you are using containers in a task with the awsvpc or - * host network mode, exposed ports should be specified using - * containerPort.

            - *

            If you are using containers in a task with the bridge network mode and - * you specify a container port and not a host port, your container automatically receives - * a host port in the ephemeral port range. For more information, see - * hostPort. Port mappings that are automatically assigned in this way do not - * count toward the 100 reserved ports limit of a container instance.

            + *

            If you use containers in a task with the awsvpc or host + * network mode, specify the exposed ports using containerPort.

            + *

            If you use containers in a task with the bridge network mode and you + * specify a container port and not a host port, your container automatically receives a + * host port in the ephemeral port range. For more information, see hostPort. + * Port mappings that are automatically assigned in this way do not count toward the 100 + * reserved ports limit of a container instance.

            */ containerPort?: number; /** *

            The port number on the container instance to reserve for your container.

            - *

            If you are using containers in a task with the awsvpc or - * host network mode, the hostPort can either be left blank - * or set to the same value as the containerPort.

            - *

            If you are using containers in a task with the bridge network mode, you - * can specify a non-reserved host port for your container port mapping, or you can omit - * the hostPort (or set it to 0) while specifying a + *

            If you use containers in a task with the awsvpc or host + * network mode, the hostPort can either be left blank or set to the same + * value as the containerPort.

            + *

            If you use containers in a task with the bridge network mode, you can + * specify a non-reserved host port for your container port mapping, or you can omit the + * hostPort (or set it to 0) while specifying a * containerPort and your container automatically receives a port in the * ephemeral port range for your container instance operating system and Docker * version.

            @@ -4376,12 +4460,12 @@ export interface PortMapping { *
            *

            The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the * Amazon ECS container agent ports 51678-51680. Any host port that was previously specified in - * a running task is also reserved while the task is running (after a task stops, the host - * port is released). The current reserved ports are displayed in the + * a running task is also reserved while the task is running. That is, after a task stops, + * the host port is released. The current reserved ports are displayed in the * remainingResources of DescribeContainerInstances - * output. A container instance can have up to 100 reserved ports at a time, including the - * default reserved ports. Automatically assigned ports don't count toward the 100 reserved - * ports limit.

            + * output. A container instance can have up to 100 reserved ports at a time. This number + * includes the default reserved ports. Automatically assigned ports aren't included in the + * 100 reserved ports quota.

            */ hostPort?: number; @@ -4409,10 +4493,10 @@ export interface RepositoryCredentials { *

            The Amazon Resource Name (ARN) of the secret containing the private repository * credentials.

            * - *

            When you are using the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the - * same Region as the task that you are launching then you can use either the full ARN - * or the name of the secret. When you are using the Amazon Web Services Management Console, you must specify the - * full ARN of the secret.

            + *

            When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same + * Region as the task that you're launching then you can use either the full ARN or the + * name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the + * secret.

            *
            */ credentialsParameter: string | undefined; @@ -4435,7 +4519,8 @@ export enum ResourceType { /** *

            The type and amount of a resource to assign to a container. The supported resource * types are GPUs and Elastic Inference accelerators. For more information, see Working with - * GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the + * GPUs on Amazon ECS or Working with + * Amazon Elastic Inference on Amazon ECS in the * Amazon Elastic Container Service Developer Guide *

            */ @@ -4443,12 +4528,12 @@ export interface ResourceRequirement { /** *

            The value for the specified resource type.

            *

            If the GPU type is used, the value is the number of physical - * GPUs the Amazon ECS container agent will reserve for the container. The - * number of GPUs reserved for all containers in a task should not exceed the number of - * available GPUs on the container instance the task is launched on.

            - *

            If the InferenceAccelerator type is used, the value should - * match the deviceName for an InferenceAccelerator - * specified in a task definition.

            + * GPUs the Amazon ECS container agent reserves for the container. The number + * of GPUs that's reserved for all containers in a task can't exceed the number of + * available GPUs on the container instance that the task is launched on.

            + *

            If the InferenceAccelerator type is used, the value matches + * the deviceName for an InferenceAccelerator specified in a + * task definition.

            */ value: string | undefined; @@ -4472,35 +4557,35 @@ export namespace ResourceRequirement { *

            A list of namespaced kernel parameters to set in the container. This parameter maps to * Sysctls in the Create a container section of the * Docker Remote API and the --sysctl option to docker run.

            - *

            It is not recommended that you specify network-related systemControls - * parameters for multiple containers in a single task that also uses either the - * awsvpc or host network mode for the following - * reasons:

            + *

            We don't recommend that you specify network-related systemControls + * parameters for multiple containers in a single task. This task also uses either the + * awsvpc or host network mode. It does it for the following + * reasons.

            *
              *
            • *

              For tasks that use the awsvpc network mode, if you set * systemControls for any container, it applies to all containers * in the task. If you set different systemControls for multiple - * containers in a single task, the container that is started last determines which + * containers in a single task, the container that's started last determines which * systemControls take effect.

              *
            • *
            • *

              For tasks that use the host network mode, the * systemControls parameter applies to the container instance's - * kernel parameter as well as that of all containers of any tasks running on that + * kernel parameter and that of all containers of any tasks running on that * container instance.

              *
            • *
            */ export interface SystemControl { /** - *

            The namespaced kernel parameter for which to set a value.

            + *

            The namespaced kernel parameter to set a value for.

            */ namespace?: string; /** - *

            The value for the namespaced kernel parameter specified in - * namespace.

            + *

            The value for the namespaced kernel parameter that's specified in + * namespace.

            */ value?: string; } @@ -4573,8 +4658,8 @@ export namespace Ulimit { */ export interface VolumeFrom { /** - *

            The name of another container within the same task definition from which to mount - * volumes.

            + *

            The name of another container within the same task definition to mount volumes + * from.

            */ sourceContainer?: string; @@ -4601,7 +4686,7 @@ export namespace VolumeFrom { */ export interface ContainerDefinition { /** - *

            The name of a container. If you are linking multiple containers together in a task + *

            The name of a container. If you're linking multiple containers together in a task * definition, the name of one container can be entered in the * links of another container to connect the containers. * Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to name in the @@ -4613,7 +4698,7 @@ export interface ContainerDefinition { /** *

            The image used to start a container. This string is passed directly to the Docker - * daemon. Images in the Docker Hub registry are available by default. Other repositories + * daemon. By default, images in the Docker Hub registry are available. Other repositories * are specified with either * repository-url/image:tag * or @@ -4626,8 +4711,7 @@ export interface ContainerDefinition { *

          • *

            When a new task starts, the Amazon ECS container agent pulls the latest version of * the specified image and tag for the container to use. However, subsequent - * updates to a repository image are not propagated to already running - * tasks.

            + * updates to a repository image aren't propagated to already running tasks.

            *
          • *
          • *

            Images in Amazon ECR repositories can be specified by either using the full @@ -4674,17 +4758,17 @@ export interface ContainerDefinition { *

            Linux containers share unallocated CPU units with other containers on the container * instance with the same ratio as their allocated amount. For example, if you run a * single-container task on a single-core instance type with 512 CPU units specified for - * that container, and that is the only task running on the container instance, that + * that container, and that's the only task running on the container instance, that * container could use the full 1,024 CPU unit share at any given time. However, if you - * launched another copy of the same task on that container instance, each task would be - * guaranteed a minimum of 512 CPU units when needed, and each container could float to - * higher CPU usage if the other container was not using it, but if both tasks were 100% + * launched another copy of the same task on that container instance, each task is + * guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float + * to higher CPU usage if the other container was not using it. If both tasks were 100% * active all of the time, they would be limited to 512 CPU units.

            *

            On Linux container instances, the Docker daemon on the container instance uses the CPU * value to calculate the relative CPU share ratios for running containers. For more * information, see CPU share * constraint in the Docker documentation. The minimum valid CPU share value - * that the Linux kernel allows is 2. However, the CPU parameter is not required, and you + * that the Linux kernel allows is 2. However, the CPU parameter isn't required, and you * can use CPU values below 2 in your container definitions. For CPU values below 2 * (including null), the behavior varies based on your Amazon ECS container agent * version:

            @@ -4703,7 +4787,7 @@ export interface ContainerDefinition { *
          • *
          *

          On Windows container instances, the CPU limit is enforced as an absolute limit, or a - * quota. Windows containers only have access to the specified amount of CPU that is + * quota. Windows containers only have access to the specified amount of CPU that's * described in the task definition. A null or zero CPU value is passed to Docker as * 0, which Windows interprets as 1% of one CPU.

          */ @@ -4722,10 +4806,10 @@ export interface ContainerDefinition { * memory and memoryReservation value, memory * must be greater than memoryReservation. If you specify * memoryReservation, then that value is subtracted from the available - * memory resources for the container instance on which the container is placed. Otherwise, + * memory resources for the container instance where the container is placed. Otherwise, * the value of memory is used.

          - *

          The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should - * not specify fewer than 4 MiB of memory for your containers.

          + *

          The Docker daemon reserves a minimum of 4 MiB of memory for a container. Therefore, we + * recommend that you specify fewer than 4 MiB of memory for your containers.

          */ memory?: number; @@ -4742,7 +4826,7 @@ export interface ContainerDefinition { * definition. If you specify both, memory must be greater than * memoryReservation. If you specify memoryReservation, then * that value is subtracted from the available memory resources for the container instance - * on which the container is placed. Otherwise, the value of memory is + * where the container is placed. Otherwise, the value of memory is * used.

          *

          For example, if your container normally uses 128 MiB of memory, but occasionally * bursts to 256 MiB of memory for short periods of time, you can set a @@ -4750,8 +4834,8 @@ export interface ContainerDefinition { * 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory * from the remaining resources on the container instance, but also allow the container to * consume more memory resources when needed.

          - *

          The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should - * not specify fewer than 4 MiB of memory for your containers.

          + *

          The Docker daemon reserves a minimum of 4 MiB of memory for a container. Therefore, we + * recommend that you specify fewer than 4 MiB of memory for your containers.

          */ memoryReservation?: number; @@ -4766,10 +4850,10 @@ export interface ContainerDefinition { * Create a container section of the Docker Remote API and the * --link option to docker * run.

          - * + * *

          This parameter is not supported for Windows containers.

          *
          - * + * *

          Containers that are collocated on a single container instance may be able to * communicate with each other without requiring links or host port mappings. Network * isolation is achieved on the container instance using security groups and VPC @@ -4781,12 +4865,12 @@ export interface ContainerDefinition { /** *

          The list of port mappings for the container. Port mappings allow containers to access * ports on the host container instance to send or receive traffic.

          - *

          For task definitions that use the awsvpc network mode, you should only - * specify the containerPort. The hostPort can be left blank or - * it must be the same value as the containerPort.

          + *

          For task definitions that use the awsvpc network mode, only specify the + * containerPort. The hostPort can be left blank or it must + * be the same value as the containerPort.

          *

          Port mappings on Windows use the NetNAT gateway address rather than - * localhost. There is no loopback for port mappings on Windows, so you - * cannot access a container's mapped port from the host itself.

          + * localhost. There's no loopback for port mappings on Windows, so you + * can't access a container's mapped port from the host itself.

          *

          This parameter maps to PortBindings in the * Create a container section of the Docker Remote API and the * --publish option to docker @@ -4809,11 +4893,11 @@ export interface ContainerDefinition { *

          If the essential parameter of a container is marked as true, * and that container fails or stops for any reason, all other containers that are part of * the task are stopped. If the essential parameter of a container is marked - * as false, then its failure does not affect the rest of the containers in a - * task. If this parameter is omitted, a container is assumed to be essential.

          - *

          All tasks must have at least one essential container. If you have an application that - * is composed of multiple containers, you should group containers that are used for a - * common purpose into components, and separate the different components into multiple task + * as false, its failure doesn't affect the rest of the containers in a task. + * If this parameter is omitted, a container is assumed to be essential.

          + *

          All tasks must have at least one essential container. If you have an application + * that's composed of multiple containers, group containers that are used for a common + * purpose into components, and separate the different components into multiple task * definitions. For more information, see Application * Architecture in the Amazon Elastic Container Service Developer Guide.

          */ @@ -4821,23 +4905,23 @@ export interface ContainerDefinition { /** * - *

          Early versions of the Amazon ECS container agent do not properly handle + *

          Early versions of the Amazon ECS container agent don't properly handle * entryPoint parameters. If you have problems using * entryPoint, update your container agent or enter your commands and * arguments as command array items instead.

          *
          - *

          The entry point that is passed to the container. This parameter maps to + *

          The entry point that's passed to the container. This parameter maps to * Entrypoint in the Create a container section of the * Docker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

          */ entryPoint?: string[]; /** - *

          The command that is passed to the container. This parameter maps to Cmd - * in the Create a container section of the Docker Remote API and the + *

          The command that's passed to the container. This parameter maps to Cmd in + * the Create a container section of the Docker Remote API and the * COMMAND parameter to docker * run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each - * argument should be a separated string in the array.

          + * argument is a separated string in the array.

          */ command?: string[]; @@ -4846,7 +4930,7 @@ export interface ContainerDefinition { * Env in the Create a container section of the * Docker Remote API and the --env option to docker run.

          * - *

          We do not recommend using plaintext environment variables for sensitive + *

          We don't recommend that you use plaintext environment variables for sensitive * information, such as credential data.

          *
          */ @@ -4856,15 +4940,15 @@ export interface ContainerDefinition { *

          A list of files containing the environment variables to pass to a container. This * parameter maps to the --env-file option to docker run.

          *

          You can specify up to ten environment files. The file must have a .env - * file extension. Each line in an environment file should contain an environment variable - * in VARIABLE=VALUE format. Lines beginning with # are treated - * as comments and are ignored. For more information on the environment variable file + * file extension. Each line in an environment file contains an environment variable in + * VARIABLE=VALUE format. Lines beginning with # are treated + * as comments and are ignored. For more information about the environment variable file * syntax, see Declare default * environment variables in file.

          *

          If there are environment variables specified using the environment * parameter in a container definition, they take precedence over the variables contained * within an environment file. If multiple environment files are specified that contain the - * same variable, they are processed from the top down. It is recommended to use unique + * same variable, they're processed from the top down. We recommend that you use unique * variable names. For more information, see Specifying Environment * Variables in the Amazon Elastic Container Service Developer Guide.

          */ @@ -4875,8 +4959,8 @@ export interface ContainerDefinition { *

          This parameter maps to Volumes in the Create a container * section of the Docker Remote API and the --volume option to docker run.

          *

          Windows containers can mount whole directories on the same drive as - * $env:ProgramData. Windows containers cannot mount directories on a - * different drive, and mount point cannot be across drives.

          + * $env:ProgramData. Windows containers can't mount directories on a + * different drive, and mount point can't be across drives.

          */ mountPoints?: MountPoint[]; @@ -4910,20 +4994,19 @@ export interface ContainerDefinition { * least version 1.26.0 of the container agent to enable container dependencies. However, * we recommend using the latest container agent version. For information about checking * your agent version and updating to the latest version, see Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using + * an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the * ecs-init package. If your container instances are launched from version * 20190301 or later, then they contain the required versions of the * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

          - *

          For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

          + *

          For tasks using the Fargate launch type, the task or service requires + * the following platforms:

          *
            *
          • - *

            Linux platform - * version 1.3.0 or later.

            + *

            Linux platform version 1.3.0 or later.

            *
          • *
          • - *

            Windows platform - * version 1.0.0 or later.

            + *

            Windows platform version 1.0.0 or later.

            *
          • *
          */ @@ -4934,22 +5017,21 @@ export interface ContainerDefinition { * container. For example, you specify two containers in a task definition with containerA * having a dependency on containerB reaching a COMPLETE, * SUCCESS, or HEALTHY status. If a startTimeout - * value is specified for containerB and it does not reach the desired status within that - * time then containerA will give up and not start. This results in the task transitioning - * to a STOPPED state.

          + * value is specified for containerB and it doesn't reach the desired status within that + * time then containerA gives up and not start. This results in the task transitioning to a + * STOPPED state.

          * *

          When the ECS_CONTAINER_START_TIMEOUT container agent configuration - * variable is used, it is enforced indendently from this start timeout value.

          + * variable is used, it's enforced independently from this start timeout value.

          *
          - *

          For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

          + *

          For tasks using the Fargate launch type, the task or service requires + * the following platforms:

          *
            *
          • - *

            Linux platform - * version 1.3.0 or later.

            + *

            Linux platform version 1.3.0 or later.

            *
          • *
          • - *

            Windows platform - * version 1.0.0 or later.

            + *

            Windows platform version 1.0.0 or later.

            *
          • *
          *

          For tasks using the EC2 launch type, your container instances require at @@ -4957,9 +5039,9 @@ export interface ContainerDefinition { * timeout value. However, we recommend using the latest container agent version. For * information about checking your agent version and updating to the latest version, see * Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of - * the ecs-init package. If your container instances are launched from version + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using + * an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * ecs-init package. If your container instances are launched from version * 20190301 or later, then they contain the required versions of the * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

          */ @@ -4968,22 +5050,21 @@ export interface ContainerDefinition { /** *

          Time duration (in seconds) to wait before the container is forcefully killed if it * doesn't exit normally on its own.

          - *

          For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

          + *

          For tasks using the Fargate launch type, the task or service requires + * the following platforms:

          *
            *
          • - *

            Linux platform - * version 1.3.0 or later.

            + *

            Linux platform version 1.3.0 or later.

            *
          • *
          • - *

            Windows platform - * version 1.0.0 or later.

            + *

            Windows platform version 1.0.0 or later.

            *
          • *
          - *

          The max stop timeout value is 120 seconds and if the - * parameter is not specified, the default value of 30 seconds is used.

          - *

          For tasks using the EC2 launch type, if the stopTimeout - * parameter is not specified, the value set for the Amazon ECS container agent configuration - * variable ECS_CONTAINER_STOP_TIMEOUT is used by default. If neither the + *

          The max stop timeout value is 120 seconds and if the parameter is not specified, the + * default value of 30 seconds is used.

          + *

          For tasks that use the EC2 launch type, if the stopTimeout + * parameter isn't specified, the value set for the Amazon ECS container agent configuration + * variable ECS_CONTAINER_STOP_TIMEOUT is used. If neither the * stopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT * agent configuration variable are set, then the default values of 30 seconds for Linux * containers and 30 seconds on Windows containers are used. Your container instances @@ -4991,8 +5072,8 @@ export interface ContainerDefinition { * timeout value. However, we recommend using the latest container agent version. For * information about checking your agent version and updating to the latest version, see * Updating the Amazon ECS - * Container Agent in the Amazon Elastic Container Service Developer Guide. If you are - * using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the + * Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using + * an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the * ecs-init package. If your container instances are launched from version * 20190301 or later, then they contain the required versions of the * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

          @@ -5005,7 +5086,7 @@ export interface ContainerDefinition { * --hostname option to docker * run.

          * - *

          The hostname parameter is not supported if you are using the + *

          The hostname parameter is not supported if you're using the * awsvpc network mode.

          *
          */ @@ -5017,9 +5098,9 @@ export interface ContainerDefinition { * --user option to docker * run.

          * - *

          When running tasks using the host network mode, you should not run - * containers using the root user (UID 0). It is considered best practice to use a - * non-root user.

          + *

          When running tasks using the host network mode, don't run containers + * using the root user (UID 0). We recommend using a non-root user for better + * security.

          *
          *

          You can specify the user using the following formats. If specifying a UID * or GID, you must specify it as a positive integer.

          @@ -5055,15 +5136,15 @@ export interface ContainerDefinition { *

          *
        • *
        - * + * *

        This parameter is not supported for Windows containers.

        *
        */ user?: string; /** - *

        The working directory in which to run commands inside the container. This parameter - * maps to WorkingDir in the Create a container section of the + *

        The working directory to run commands inside the container in. This parameter maps to + * WorkingDir in the Create a container section of the * Docker Remote API and the --workdir option to docker run.

        */ workingDirectory?: string; @@ -5072,7 +5153,7 @@ export interface ContainerDefinition { *

        When this parameter is true, networking is disabled within the container. This * parameter maps to NetworkDisabled in the Create a container * section of the Docker Remote API.

        - * + * *

        This parameter is not supported for Windows containers.

        *
        */ @@ -5083,7 +5164,7 @@ export interface ContainerDefinition { * container instance (similar to the root user). This parameter maps to * Privileged in the Create a container section of the * Docker Remote API and the --privileged option to docker run.

        - * + * *

        This parameter is not supported for Windows containers or tasks run on Fargate.

        *
        */ @@ -5095,7 +5176,7 @@ export interface ContainerDefinition { * Create a container section of the Docker Remote API and the * --read-only option to docker * run.

        - * + * *

        This parameter is not supported for Windows containers.

        *
        */ @@ -5105,7 +5186,7 @@ export interface ContainerDefinition { *

        A list of DNS servers that are presented to the container. This parameter maps to * Dns in the Create a container section of the * Docker Remote API and the --dns option to docker run.

        - * + * *

        This parameter is not supported for Windows containers.

        *
        */ @@ -5115,7 +5196,7 @@ export interface ContainerDefinition { *

        A list of DNS search domains that are presented to the container. This parameter maps * to DnsSearch in the Create a container section of the * Docker Remote API and the --dns-search option to docker run.

        - * + * *

        This parameter is not supported for Windows containers.

        *
        */ @@ -5128,7 +5209,7 @@ export interface ContainerDefinition { * --add-host option to docker * run.

        * - *

        This parameter is not supported for Windows containers or tasks that use the + *

        This parameter isn't supported for Windows containers or tasks that use the * awsvpc network mode.

        *
        */ @@ -5136,7 +5217,7 @@ export interface ContainerDefinition { /** *

        A list of strings to provide custom labels for SELinux and AppArmor multi-level - * security systems. This field is not valid for containers in tasks using the + * security systems. This field isn't valid for containers in tasks using the * Fargate launch type.

        *

        With Windows containers, this parameter can be used to reference a credential spec * file when configuring a container for Active Directory authentication. For more @@ -5161,10 +5242,10 @@ export interface ContainerDefinition { dockerSecurityOptions?: string[]; /** - *

        When this parameter is true, this allows you to deploy containerized - * applications that require stdin or a tty to be allocated. This - * parameter maps to OpenStdin in the Create a container - * section of the Docker Remote API and the --interactive option to docker run.

        + *

        When this parameter is true, you can deploy containerized applications + * that require stdin or a tty to be allocated. This parameter + * maps to OpenStdin in the Create a container section of the + * Docker Remote API and the --interactive option to docker run.

        */ interactive?: boolean; @@ -5185,8 +5266,8 @@ export interface ContainerDefinition { /** *

        A list of ulimits to set in the container. If a ulimit value is specified - * in a task definition, it will override the default values set by Docker. This parameter - * maps to Ulimits in the Create a container section of the + * in a task definition, it overrides the default values set by Docker. This parameter maps + * to Ulimits in the Create a container section of the * Docker Remote API and the --ulimit option to docker run. Valid naming values are displayed * in the Ulimit data type.

        *

        Amazon ECS tasks hosted on Fargate use the default @@ -5198,7 +5279,7 @@ export interface ContainerDefinition { * is 4096.

        *

        This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' *

        - * + * *

        This parameter is not supported for Windows containers.

        *
        */ @@ -5210,12 +5291,12 @@ export interface ContainerDefinition { * Create a container section of the Docker Remote API and the * --log-driver option to docker * run. By default, containers use the same logging driver that the Docker - * daemon uses. However the container may use a different logging driver than the Docker + * daemon uses. However the container can use a different logging driver than the Docker * daemon by specifying a log driver with this parameter in the container definition. To * use a different logging driver for a container, the log system must be configured * properly on the container instance (or on a different log server for remote logging - * options). For more information on the options for different supported log drivers, see - * Configure + * options). For more information about the options for different supported log drivers, + * see Configure * logging drivers in the Docker documentation.

        * *

        Amazon ECS currently supports a subset of the logging drivers available to the Docker @@ -5249,10 +5330,10 @@ export interface ContainerDefinition { * Sysctls in the Create a container section of the * Docker Remote API and the --sysctl option to docker run.

        * - *

        It is not recommended that you specify network-related systemControls + *

        We don't recommended that you specify network-related systemControls * parameters for multiple containers in a single task that also uses either the * awsvpc or host network modes. For tasks that use the - * awsvpc network mode, the container that is started last determines + * awsvpc network mode, the container that's started last determines * which systemControls parameters take effect. For tasks that use the * host network mode, it changes the container instance's namespaced * kernel parameters as well as the containers.

        @@ -5289,15 +5370,14 @@ export namespace ContainerDefinition { * tasks hosted on Fargate. For more information, see Fargate task * storage in the Amazon ECS User Guide for Fargate.

        * - *

        This parameter is only supported for tasks hosted on Fargate using the following platform versions:

        + *

        This parameter is only supported for tasks hosted on Fargate using + * the following platform versions:

        *
          *
        • - *

          Linux platform - * version 1.4.0 or later.

          + *

          Linux platform version 1.4.0 or later.

          *
        • *
        • - *

          Windows platform - * version 1.0.0 or later.

          + *

          Windows platform version 1.0.0 or later.

          *
        • *
        *
        @@ -5321,9 +5401,8 @@ export namespace EphemeralStorage { } /** - *

        Details on a Elastic Inference accelerator. For more information, see Working with - * Amazon Elastic Inference on Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

        + *

        Details on an Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on + * Amazon ECS in the Amazon Elastic Container Service Developer Guide.

        */ export interface InferenceAccelerator { /** @@ -5374,7 +5453,7 @@ export enum TaskDefinitionPlacementConstraintType { * information, see Task placement constraints in the * Amazon Elastic Container Service Developer Guide.

        * - *

        Task placement constraints are not supported for tasks run on Fargate.

        + *

        Task placement constraints aren't supported for tasks run on Fargate.

        *
        */ export interface TaskDefinitionPlacementConstraint { @@ -5407,10 +5486,10 @@ export enum ProxyConfigurationType { /** *

        The configuration details for the App Mesh proxy.

        - *

        For tasks using the EC2 launch type, the container instances require at - * least version 1.26.0 of the container agent and at least version 1.26.0-1 of the + *

        For tasks that use the EC2 launch type, the container instances require + * at least version 1.26.0 of the container agent and at least version 1.26.0-1 of the * ecs-init package to enable a proxy configuration. If your container - * instances are launched from the Amazon ECS-optimized AMI version 20190301 or + * instances are launched from the Amazon ECS optimized AMI version 20190301 or * later, then they contain the required versions of the container agent and * ecs-init. For more information, see Amazon ECS-optimized Linux AMI *

        @@ -5537,8 +5616,8 @@ export enum Scope { } /** - *

        This parameter is specified when you are using Docker volumes. Docker volumes are only - * supported when you are using the EC2 launch type. Windows containers only + *

        This parameter is specified when you're using Docker volumes. Docker volumes are only + * supported when you're using the EC2 launch type. Windows containers only * support the use of the local driver. To use bind mounts, specify a * host instead.

        */ @@ -5552,8 +5631,8 @@ export interface DockerVolumeConfiguration { scope?: Scope | string; /** - *

        If this value is true, the Docker volume is created if it does not - * already exist.

        + *

        If this value is true, the Docker volume is created if it doesn't already + * exist.

        * *

        This field is only used if the scope is shared.

        *
        @@ -5619,7 +5698,7 @@ export interface EFSAuthorizationConfig { accessPointId?: string; /** - *

        Whether or not to use the Amazon ECS task IAM role defined in a task definition when + *

        Determines whether to use the Amazon ECS task IAM role defined in a task definition when * mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the * EFSVolumeConfiguration. If this parameter is omitted, the default value * of DISABLED is used. For more information, see Using @@ -5643,7 +5722,7 @@ export enum EFSTransitEncryption { } /** - *

        This parameter is specified when you are using an Amazon Elastic File System file system for task + *

        This parameter is specified when you're using an Amazon Elastic File System file system for task * storage. For more information, see Amazon EFS Volumes in the * Amazon Elastic Container Service Developer Guide.

        */ @@ -5666,10 +5745,10 @@ export interface EFSVolumeConfiguration { rootDirectory?: string; /** - *

        Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host - * and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is - * used. If this parameter is omitted, the default value of DISABLED is used. - * For more information, see Encrypting Data in Transit in + *

        Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS + * host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization + * is used. If this parameter is omitted, the default value of DISABLED is + * used. For more information, see Encrypting Data in Transit in * the Amazon Elastic File System User Guide.

        */ transitEncryption?: EFSTransitEncryption | string; @@ -5728,7 +5807,7 @@ export namespace FSxWindowsFileServerAuthorizationConfig { } /** - *

        This parameter is specified when you are using Amazon FSx for Windows File Server file system for task + *

        This parameter is specified when you're using Amazon FSx for Windows File Server file system for task * storage.

        *

        For more information and the input format, see Amazon FSx for Windows File Server Volumes * in the Amazon Elastic Container Service Developer Guide.

        @@ -5766,14 +5845,14 @@ export namespace FSxWindowsFileServerVolumeConfiguration { export interface HostVolumeProperties { /** *

        When the host parameter is used, specify a sourcePath to - * declare the path on the host container instance that is presented to the container. If + * declare the path on the host container instance that's presented to the container. If * this parameter is empty, then the Docker daemon has assigned a host path for you. If the * host parameter contains a sourcePath file location, then * the data volume persists at the specified location on the host container instance until - * you delete it manually. If the sourcePath value does not exist on the host + * you delete it manually. If the sourcePath value doesn't exist on the host * container instance, the Docker daemon creates it. If the location does exist, the * contents of the source path folder are exported.

        - *

        If you are using the Fargate launch type, the sourcePath + *

        If you're using the Fargate launch type, the sourcePath * parameter is not supported.

        */ sourcePath?: string; @@ -5789,9 +5868,9 @@ export namespace HostVolumeProperties { } /** - *

        A data volume used in a task definition. For tasks that use the Amazon Elastic File - * System (Amazon EFS), specify an efsVolumeConfiguration. For Windows tasks - * that use Amazon FSx for Windows File Server file system, specify a + *

        A data volume that's used in a task definition. For tasks that use the Amazon Elastic + * File System (Amazon EFS), specify an efsVolumeConfiguration. For Windows + * tasks that use Amazon FSx for Windows File Server file system, specify a * fsxWindowsFileServerVolumeConfiguration. For tasks that use a Docker * volume, specify a DockerVolumeConfiguration. For tasks that use a bind * mount host volume, specify a host and optional sourcePath. For @@ -5807,38 +5886,38 @@ export interface Volume { name?: string; /** - *

        This parameter is specified when you are using bind mount host volumes. The contents - * of the host parameter determine whether your bind mount host volume - * persists on the host container instance and where it is stored. If the host - * parameter is empty, then the Docker daemon assigns a host path for your data volume. - * However, the data is not guaranteed to persist after the containers associated with it - * stop running.

        + *

        This parameter is specified when you use bind mount host volumes. The contents of the + * host parameter determine whether your bind mount host volume persists + * on the host container instance and where it's stored. If the host parameter + * is empty, then the Docker daemon assigns a host path for your data volume. However, the + * data isn't guaranteed to persist after the containers that are associated with it stop + * running.

        *

        Windows containers can mount whole directories on the same drive as - * $env:ProgramData. Windows containers cannot mount directories on a - * different drive, and mount point cannot be across drives. For example, you can mount + * $env:ProgramData. Windows containers can't mount directories on a + * different drive, and mount point can't be across drives. For example, you can mount * C:\my\path:C:\my\path and D:\:D:\, but not * D:\my\path:C:\my\path or D:\:C:\my\path.

        */ host?: HostVolumeProperties; /** - *

        This parameter is specified when you are using Docker volumes.

        + *

        This parameter is specified when you use Docker volumes.

        *

        Windows containers only support the use of the local driver. To use bind * mounts, specify the host parameter instead.

        * - *

        Docker volumes are not supported by tasks run on Fargate.

        + *

        Docker volumes aren't supported by tasks run on Fargate.

        *
        */ dockerVolumeConfiguration?: DockerVolumeConfiguration; /** - *

        This parameter is specified when you are using an Amazon Elastic File System file system for task + *

        This parameter is specified when you use an Amazon Elastic File System file system for task * storage.

        */ efsVolumeConfiguration?: EFSVolumeConfiguration; /** - *

        This parameter is specified when you are using Amazon FSx for Windows File Server file system for task + *

        This parameter is specified when you use Amazon FSx for Windows File Server file system for task * storage.

        */ fsxWindowsFileServerVolumeConfiguration?: FSxWindowsFileServerVolumeConfiguration; @@ -5874,8 +5953,9 @@ export interface TaskDefinition { containerDefinitions?: ContainerDefinition[]; /** - *

        The name of a family that this task definition is registered to. Up to 255 letters - * (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

        + *

        The name of a family that this task definition is registered to. Up to 255 characters + * are allowed. Letters (both uppercase and lowercase letters), numbers, hyphens (-), and + * underscores (_) are allowed.

        *

        A family groups multiple versions of a task definition. Amazon ECS gives the first task * definition that you registered to a family a revision number of 1. Amazon ECS gives * sequential revision numbers to each task definition that you add.

        @@ -5888,8 +5968,7 @@ export interface TaskDefinition { * Task Role in the Amazon Elastic Container Service Developer Guide.

        *

        IAM roles for tasks on Windows require that the -EnableTaskIAMRole option * is set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some - * configuration code in order to take advantage of the feature. For more information, see - * Windows IAM roles + * configuration code to use the feature. For more information, see Windows IAM roles * for tasks in the Amazon Elastic Container Service Developer Guide.

        */ taskRoleArn?: string; @@ -5938,8 +6017,8 @@ export interface TaskDefinition { *

        The revision of the task in a particular family. The revision is a version number of a * task definition in a family. When you register a task definition for the first time, the * revision is 1. Each time that you register a new revision of a task - * definition in the same family, the revision value always increases by one, even if you - * have deregistered previous revisions in this family.

        + * definition in the same family, the revision value always increases by one. This is even + * if you deregistered previous revisions in this family.

        */ revision?: number; @@ -5947,7 +6026,7 @@ export interface TaskDefinition { *

        The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the * Amazon Elastic Container Service Developer Guide.

        * - *

        The host and sourcePath parameters are not supported for + *

        The host and sourcePath parameters aren't supported for * tasks run on Fargate.

        *
        */ @@ -5961,12 +6040,12 @@ export interface TaskDefinition { /** *

        The container instance attributes required by your task. When an Amazon EC2 instance is * registered to your cluster, the Amazon ECS container agent assigns some standard attributes - * to the instance. You can apply custom attributes, specified as key-value pairs using the - * Amazon ECS console or the PutAttributes API. These attributes are used when - * considering task placement for tasks hosted on Amazon EC2 instances. For more information, - * see Attributes in the Amazon Elastic Container Service Developer Guide.

        + * to the instance. You can apply custom attributes. These are specified as key-value pairs + * using the Amazon ECS console or the PutAttributes API. These attributes are + * used when determining task placement for tasks hosted on Amazon EC2 instances. For more + * information, see Attributes in the Amazon Elastic Container Service Developer Guide.

        * - *

        This parameter is not supported for tasks run on Fargate.

        + *

        This parameter isn't supported for tasks run on Fargate.

        *
        */ requiresAttributes?: Attribute[]; @@ -5974,7 +6053,7 @@ export interface TaskDefinition { /** *

        An array of placement constraint objects to use for tasks.

        * - *

        This parameter is not supported for tasks run on Fargate.

        + *

        This parameter isn't supported for tasks run on Fargate.

        *
        */ placementConstraints?: TaskDefinitionPlacementConstraint[]; @@ -5987,8 +6066,10 @@ export interface TaskDefinition { compatibilities?: (Compatibility | string)[]; /** - *

        The operating system that your task definitions are running on. A platform family is specified only for tasks using the Fargate launch type.

        - *

        When you specify a task in a service, this value must match the runtimePlatform value of the service.

        + *

        The operating system that your task definitions are running on. A platform family is + * specified only for tasks using the Fargate launch type.

        + *

        When you specify a task in a service, this value must match the + * runtimePlatform value of the service.

        */ runtimePlatform?: RuntimePlatform; @@ -5999,10 +6080,12 @@ export interface TaskDefinition { requiresCompatibilities?: (Compatibility | string)[]; /** - *

        The number of cpu units used by the task. If you are using the EC2 launch - * type, this field is optional and any value can be used. If you are using the Fargate - * launch type, this field is required and you must use one of the following values, which - * determines your range of valid values for the memory parameter:

        + *

        The number of cpu units used by the task. If you use the EC2 launch type, + * this field is optional. Any value can be used. If you use the Fargate launch type, this + * field is required. You must use one of the following values. The value that you choose + * determines your range of valid values for the memory parameter.

        + *

        The CPU units cannot be less than 1 vCPU when you use Windows containers on + * Fargate.

        *
          *
        • *

          256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

          @@ -6025,15 +6108,15 @@ export interface TaskDefinition { /** *

          The amount (in MiB) of memory used by the task.

          - *

          If your tasks will be run on Amazon EC2 instances, you must specify either a task-level - * memory value or a container-level memory value. This field is optional and any value can - * be used. If a task-level memory value is specified then the container-level memory value - * is optional. For more information regarding container-level memory and memory - * reservation, see ContainerDefinition.

          - *

          If your tasks will be run on Fargate, this field is required and you must use one of - * the following values, which determines your range of valid values for the - * cpu parameter:

          - *
            + *

            If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory + * value or a container-level memory value. This field is optional and any value can be + * used. If a task-level memory value is specified, the container-level memory value is + * optional. For more information regarding container-level memory and memory reservation, + * see ContainerDefinition.

            + *

            If your tasks runs on Fargate, this field is required. You must use one of the + * following values. The value you choose determines your range of valid values for the + * cpu parameter.

            + *
              *
            • *

              512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

              *
            • @@ -6054,7 +6137,7 @@ export interface TaskDefinition { memory?: string; /** - *

              The Elastic Inference accelerator associated with the task.

              + *

              The Elastic Inference accelerator that's associated with the task.

              */ inferenceAccelerators?: InferenceAccelerator[]; @@ -6118,19 +6201,19 @@ export interface TaskDefinition { *

              The configuration details for the App Mesh proxy.

              *

              Your Amazon ECS container instances require at least version 1.26.0 of the container agent * and at least version 1.26.0-1 of the ecs-init package to enable a proxy - * configuration. If your container instances are launched from the Amazon ECS-optimized AMI - * version 20190301 or later, then they contain the required versions of the + * configuration. If your container instances are launched from the Amazon ECS optimized AMI + * version 20190301 or later, they contain the required versions of the * container agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

              */ proxyConfiguration?: ProxyConfiguration; /** - *

              The Unix timestamp for when the task definition was registered.

              + *

              The Unix timestamp for the time when the task definition was registered.

              */ registeredAt?: Date; /** - *

              The Unix timestamp for when the task definition was deregistered.

              + *

              The Unix timestamp for the time when the task definition was deregistered.

              */ deregisteredAt?: Date; @@ -6184,7 +6267,7 @@ export interface DescribeCapacityProvidersRequest { /** *

              Specifies whether or not you want to see the resource tags for the capacity provider. * If TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

              + * is omitted, tags aren't included in the response.

              */ include?: (CapacityProviderField | string)[]; @@ -6301,8 +6384,8 @@ export interface DescribeClustersRequest { clusters?: string[]; /** - *

              Whether to include additional information about the clusters in the response. If this - * field is omitted, this information isn't included.

              + *

              Determines whether to include additional information about the clusters in the + * response. If this field is omitted, this information isn't included.

              *

              If ATTACHMENTS is specified, the attachments for the container instances * or tasks within the cluster are included.

              *

              If SETTINGS is specified, the settings for the cluster are @@ -6348,6 +6431,7 @@ export namespace DescribeClustersResponse { } export enum ContainerInstanceField { + CONTAINER_INSTANCE_HEALTH = "CONTAINER_INSTANCE_HEALTH", TAGS = "TAGS", } @@ -6367,8 +6451,10 @@ export interface DescribeContainerInstancesRequest { /** *

              Specifies whether you want to see the resource tags for the container instance. If - * TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

              + * TAGS is specified, the tags are included in the response. If + * CONTAINER_INSTANCE_HEALTH is specified, the container instance health + * is included in the response. If this field is omitted, tags and container instance + * health status aren't included in the response.

              */ include?: (ContainerInstanceField | string)[]; } @@ -6422,9 +6508,9 @@ export interface DescribeServicesRequest { services: string[] | undefined; /** - *

              Specifies whether you want to see the resource tags for the service. If + *

              Determines whether you want to see the resource tags for the service. If * TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

              + * is omitted, tags aren't included in the response.

              */ include?: (ServiceField | string)[]; } @@ -6473,9 +6559,9 @@ export interface DescribeTaskDefinitionRequest { taskDefinition: string | undefined; /** - *

              Specifies whether to see the resource tags for the task definition. If + *

              Determines whether to see the resource tags for the task definition. If * TAGS is specified, the tags are included in the response. If this field - * is omitted, tags are not included in the response.

              + * is omitted, tags aren't included in the response.

              */ include?: (TaskDefinitionField | string)[]; } @@ -6496,10 +6582,9 @@ export interface DescribeTaskDefinitionResponse { taskDefinition?: TaskDefinition; /** - *

              The metadata that is applied to the task definition to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

              - *

              The following basic restrictions apply to tags:

              + *

              The metadata that's applied to the task definition to help you categorize and organize + * them. Each tag consists of a key and an optional value. You define both.

              + *

              The following basic restrictions apply to tags:

              *
                *
              • *

                Maximum number of tags per resource - 50

                @@ -6562,8 +6647,8 @@ export interface DescribeTasksRequest { /** *

                Specifies whether you want to see the resource tags for the task. If TAGS - * is specified, the tags are included in the response. If this field is omitted, tags are - * not included in the response.

                + * is specified, the tags are included in the response. If this field is omitted, tags + * aren't included in the response.

                */ include?: (TaskField | string)[]; } @@ -6597,7 +6682,7 @@ export enum ManagedAgentName { */ export interface ManagedAgent { /** - *

                The Unix timestamp for when the managed agent was last started.

                + *

                The Unix timestamp for the time when the managed agent was last started.

                */ lastStartedAt?: Date; @@ -6640,12 +6725,12 @@ export interface NetworkBinding { bindIP?: string; /** - *

                The port number on the container that is used with the network binding.

                + *

                The port number on the container that's used with the network binding.

                */ containerPort?: number; /** - *

                The port number on the host that is used with the network binding.

                + *

                The port number on the host that's used with the network binding.

                */ hostPort?: number; @@ -6695,7 +6780,7 @@ export namespace NetworkInterface { } /** - *

                A Docker container that is part of a task.

                + *

                A Docker container that's part of a task.

                */ export interface Container { /** @@ -6759,7 +6844,7 @@ export interface Container { networkInterfaces?: NetworkInterface[]; /** - *

                The health status of the container. If health checks are not configured for this + *

                The health status of the container. If health checks aren't configured for this * container in its task definition, then it reports the health status as * UNKNOWN.

                */ @@ -6771,8 +6856,8 @@ export interface Container { managedAgents?: ManagedAgent[]; /** - *

                The number of CPU units set for the container. The value will be 0 if no - * value was specified in the container definition when the task definition was + *

                The number of CPU units set for the container. The value is 0 if no value + * was specified in the container definition when the task definition was * registered.

                */ cpu?: string; @@ -6803,10 +6888,10 @@ export namespace Container { } /** - *

                The overrides that should be sent to a container. An empty container override can be - * passed in. An example of an empty container override would be - * {"containerOverrides": [ ] }. If a non-empty container override is - * specified, the name parameter must be included.

                + *

                The overrides that are sent to a container. An empty container override can be passed + * in. An example of an empty container override is {"containerOverrides": [ ] + * }. If a non-empty container override is specified, the name + * parameter must be included.

                */ export interface ContainerOverride { /** @@ -6873,8 +6958,9 @@ export namespace ContainerOverride { /** *

                Details on an Elastic Inference accelerator task override. This parameter is used to * override the Elastic Inference accelerator specified in the task definition. For more - * information, see Working with Amazon Elastic Inference on Amazon ECS in the - * Amazon Elastic Container Service Developer Guide.

                + * information, see Working with Amazon + * Elastic Inference on Amazon ECS in the + * Amazon Elastic Container Service Developer Guide.

                */ export interface InferenceAcceleratorOverride { /** @@ -6899,11 +6985,11 @@ export namespace InferenceAcceleratorOverride { } /** - *

                The overrides associated with a task.

                + *

                The overrides that are associated with a task.

                */ export interface TaskOverride { /** - *

                One or more container overrides sent to a task.

                + *

                One or more container overrides that are sent to a task.

                */ containerOverrides?: ContainerOverride[]; @@ -6918,8 +7004,8 @@ export interface TaskOverride { inferenceAcceleratorOverrides?: InferenceAcceleratorOverride[]; /** - *

                The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, - * see Amazon ECS task + *

                The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more + * information, see Amazon ECS task * execution IAM role in the Amazon Elastic Container Service Developer Guide.

                */ executionRoleArn?: string; @@ -6930,8 +7016,8 @@ export interface TaskOverride { memory?: string; /** - *

                The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in - * this task are granted the permissions that are specified in this role. For more + *

                The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers + * in this task are granted the permissions that are specified in this role. For more * information, see IAM Role for Tasks * in the Amazon Elastic Container Service Developer Guide.

                */ @@ -6940,15 +7026,14 @@ export interface TaskOverride { /** *

                The ephemeral storage setting override for the task.

                * - *

                This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                + *

                This parameter is only supported for tasks hosted on Fargate that + * use the following platform versions:

                *
                  *
                • - *

                  Linux platform - * version 1.4.0 or later.

                  + *

                  Linux platform version 1.4.0 or later.

                  *
                • *
                • - *

                  Windows platform - * version 1.0.0 or later.

                  + *

                  Windows platform version 1.0.0 or later.

                  *
                • *
                *
                @@ -6976,7 +7061,7 @@ export enum TaskStopCode { */ export interface Task { /** - *

                The Elastic Network Adapter associated with the task if the task uses the + *

                The Elastic Network Adapter that's associated with the task if the task uses the * awsvpc network mode.

                */ attachments?: Attachment[]; @@ -6987,12 +7072,12 @@ export interface Task { attributes?: Attribute[]; /** - *

                The availability zone of the task.

                + *

                The Availability Zone for the task.

                */ availabilityZone?: string; /** - *

                The capacity provider associated with the task.

                + *

                The capacity provider that's associated with the task.

                */ capacityProviderName?: string; @@ -7007,7 +7092,7 @@ export interface Task { connectivity?: Connectivity | string; /** - *

                The Unix timestamp for when the task last went into CONNECTED + *

                The Unix timestamp for the time when the task last went into CONNECTED * status.

                */ connectivityAt?: Date; @@ -7018,23 +7103,25 @@ export interface Task { containerInstanceArn?: string; /** - *

                The containers associated with the task.

                + *

                The containers that's associated with the task.

                */ containers?: Container[]; /** *

                The number of CPU units used by the task as expressed in a task definition. It can be - * expressed as an integer using CPU units, for example 1024. It can also be - * expressed as a string using vCPUs, for example 1 vCPU or 1 - * vcpu. String values are converted to an integer indicating the CPU units when - * the task definition is registered.

                - *

                If you are using the EC2 launch type, this field is optional. Supported - * values are between 128 CPU units (0.125 vCPUs) and - * 10240 CPU units (10 vCPUs).

                - *

                If you are using the Fargate launch type, this field is required and you - * must use one of the following values, which determines your range of supported values - * for the memory parameter:

                - *
                  + * expressed as an integer using CPU units (for example, 1024). It can also be + * expressed as a string using vCPUs (for example, 1 vCPU or 1 + * vcpu). String values are converted to an integer that indicates the CPU units + * when the task definition is registered.

                  + *

                  If you use the EC2 launch type, this field is optional. Supported values + * are between 128 CPU units (0.125 vCPUs) and 10240 + * CPU units (10 vCPUs).

                  + *

                  If you use the Fargate launch type, this field is required. You must use + * one of the following values. These values determine the range of supported values for + * the memory parameter:

                  + *

                  The CPU units cannot be less than 1 vCPU when you use Windows containers on + * Fargate.

                  + *
                    *
                  • *

                    256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                    *
                  • @@ -7055,8 +7142,8 @@ export interface Task { cpu?: string; /** - *

                    The Unix timestamp for when the task was created (the task entered the - * PENDING state).

                    + *

                    The Unix timestamp for the time when the task was created. More specifically, it's for + * the time when the task entered the PENDING state.

                    */ createdAt?: Date; @@ -7067,67 +7154,67 @@ export interface Task { desiredStatus?: string; /** - *

                    Whether or not execute command functionality is enabled for this task. If - * true, this enables execute command functionality on all containers in + *

                    Determines whether execute command functionality is enabled for this task. If + * true, execute command functionality is enabled on all the containers in * the task.

                    */ enableExecuteCommand?: boolean; /** - *

                    The Unix timestamp for when the task execution stopped.

                    + *

                    The Unix timestamp for the time when the task execution stopped.

                    */ executionStoppedAt?: Date; /** - *

                    The name of the task group associated with the task.

                    + *

                    The name of the task group that's associated with the task.

                    */ group?: string; /** - *

                    The health status for the task, which is determined by the health of the essential + *

                    The health status for the task. It's determined by the health of the essential * containers in the task. If all essential containers in the task are reporting as - * HEALTHY, then the task status also reports as HEALTHY. If - * any essential containers in the task are reporting as UNHEALTHY or - * UNKNOWN, then the task status also reports as UNHEALTHY or - * UNKNOWN, accordingly.

                    + * HEALTHY, the task status also reports as HEALTHY. If any + * essential containers in the task are reporting as UNHEALTHY or + * UNKNOWN, the task status also reports as UNHEALTHY or + * UNKNOWN.

                    * - *

                    The Amazon ECS container agent does not monitor or report on Docker health checks that - * are embedded in a container image (such as those specified in a parent image or from - * the image's Dockerfile) and not specified in the container definition. Health check - * parameters that are specified in a container definition override any Docker health - * checks that exist in the container image.

                    + *

                    The Amazon ECS container agent doesn't monitor or report on Docker health checks that + * are embedded in a container image and not specified in the container definition. For + * example, this includes those specified in a parent image or from the image's + * Dockerfile. Health check parameters that are specified in a container definition + * override any Docker health checks that are found in the container image.

                    *
                    */ healthStatus?: HealthStatus | string; /** - *

                    The Elastic Inference accelerator associated with the task.

                    + *

                    The Elastic Inference accelerator that's associated with the task.

                    */ inferenceAccelerators?: InferenceAccelerator[]; /** - *

                    The last known status of the task. For more information, see Task + *

                    The last known status for the task. For more information, see Task * Lifecycle.

                    */ lastStatus?: string; /** - *

                    The infrastructure on which your task is running. For more information, see Amazon ECS + *

                    The infrastructure where your task runs on. For more information, see Amazon ECS * launch types in the Amazon Elastic Container Service Developer Guide.

                    */ launchType?: LaunchType | string; /** - *

                    The amount of memory (in MiB) used by the task as expressed in a task definition. It - * can be expressed as an integer using MiB, for example 1024. It can also be - * expressed as a string using GB, for example 1GB or 1 GB. - * String values are converted to an integer indicating the MiB when the task definition is + *

                    The amount of memory (in MiB) that the task uses as expressed in a task definition. It + * can be expressed as an integer using MiB (for example, 1024). If it's + * expressed as a string using GB (for example, 1GB or 1 GB), + * it's converted to an integer indicating the MiB when the task definition is * registered.

                    - *

                    If you are using the EC2 launch type, this field is optional.

                    - *

                    If you are using the Fargate launch type, this field is required and you - * must use one of the following values, which determines your range of supported values - * for the cpu parameter:

                    - *
                      + *

                      If you use the EC2 launch type, this field is optional.

                      + *

                      If you use the Fargate launch type, this field is required. You must use + * one of the following values. The value that you choose determines the range of supported + * values for the cpu parameter.

                      + *
                        *
                      • *

                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                        *
                      • @@ -7153,52 +7240,55 @@ export interface Task { overrides?: TaskOverride; /** - *

                        The platform version on which your task is running. A platform version is only - * specified for tasks using the Fargate launch type. If one is not - * specified, the LATEST platform version is used by default. For more - * information, see Fargate Platform - * Versions in the Amazon Elastic Container Service Developer Guide.

                        + *

                        The platform version where your task runs on. A platform version is only specified for + * tasks that use the Fargate launch type. If you didn't specify one, the + * LATEST platform version is used. For more information, see Fargate Platform Versions in the + * Amazon Elastic Container Service Developer Guide.

                        */ platformVersion?: string; /** - *

                        The operating system that your tasks are running on. A platform family is specified only for tasks using the Fargate launch type.

                        - *

                        All tasks that run as part of this service must use the same platformFamily value as the service, for example, LINUX..

                        + *

                        The operating system that your tasks are running on. A platform family is specified + * only for tasks that use the Fargate launch type.

                        + *

                        All tasks that run as part of this service must use the same + * platformFamily value as the service (for example, + * LINUX.).

                        */ platformFamily?: string; /** - *

                        The Unix timestamp for when the container image pull began.

                        + *

                        The Unix timestamp for the time when the container image pull began.

                        */ pullStartedAt?: Date; /** - *

                        The Unix timestamp for when the container image pull completed.

                        + *

                        The Unix timestamp for the time when the container image pull completed.

                        */ pullStoppedAt?: Date; /** - *

                        The Unix timestamp for when the task started (the task transitioned from the - * PENDING state to the RUNNING state).

                        + *

                        The Unix timestamp for the time when the task started. More specifically, it's for the + * time when the task transitioned from the PENDING state to the + * RUNNING state.

                        */ startedAt?: Date; /** - *

                        The tag specified when a task is started. If the task is started by an Amazon ECS service, - * then the startedBy parameter contains the deployment ID of the service that - * starts it.

                        + *

                        The tag specified when a task is started. If an Amazon ECS service started the task, the + * startedBy parameter contains the deployment ID of that service.

                        */ startedBy?: string; /** - *

                        The stop code indicating why a task was stopped. The stoppedReason may + *

                        The stop code indicating why a task was stopped. The stoppedReason might * contain additional details.

                        */ stopCode?: TaskStopCode | string; /** - *

                        The Unix timestamp for when the task was stopped (the task transitioned from the - * RUNNING state to the STOPPED state).

                        + *

                        The Unix timestamp for the time when the task was stopped. More specifically, it's for + * the time when the task transitioned from the RUNNING state to the + * STOPPED state.

                        */ stoppedAt?: Date; @@ -7208,14 +7298,16 @@ export interface Task { stoppedReason?: string; /** - *

                        The Unix timestamp for when the task stops (transitions from the RUNNING - * state to STOPPED).

                        + *

                        The Unix timestamp for the time when the task stops. More specifically, it's for the + * time when the task transitions from the RUNNING state to + * STOPPED.

                        */ stoppingAt?: Date; /** - *

                        The metadata that you apply to the task to help you categorize and organize them. Each - * tag consists of a key and an optional value, both of which you define.

                        + *

                        The metadata that you apply to the task to help you categorize and organize the task. + * Each tag consists of a key and an optional value. You define both the key and + * value.

                        *

                        The following basic restrictions apply to tags:

                        *
                          *
                        • @@ -7261,9 +7353,9 @@ export interface Task { taskDefinitionArn?: string; /** - *

                          The version counter for the task. Every time a task experiences a change that triggers - * a CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task - * state with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API + *

                          The version counter for the task. Every time a task experiences a change that starts a + * CloudWatch event, the version counter is incremented. If you replicate your Amazon ECS task state + * with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API * actions with the version reported in CloudWatch Events for the task (inside the * detail object) to verify that the version in your event stream is * current.

                          @@ -7330,7 +7422,7 @@ export interface DescribeTaskSetsRequest { /** *

                          Specifies whether to see the resource tags for the task set. If TAGS is - * specified, the tags are included in the response. If this field is omitted, tags are not + * specified, the tags are included in the response. If this field is omitted, tags aren't * included in the response.

                          */ include?: (TaskSetField | string)[]; @@ -7374,8 +7466,8 @@ export interface DiscoverPollEndpointRequest { containerInstance?: string; /** - *

                          The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance - * belongs.

                          + *

                          The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs + * to.

                          */ cluster?: string; } @@ -7449,7 +7541,7 @@ export namespace ExecuteCommandRequest { } /** - *

                          The details of the execute command session.

                          + *

                          The details for the execute command session.

                          */ export interface Session { /** @@ -7458,13 +7550,15 @@ export interface Session { sessionId?: string; /** - *

                          A URL back to managed agent on the container that the SSM Session Manager client uses - * to send commands and receive output from the container.

                          + *

                          A URL + * back + * to managed agent on the container that the SSM Session Manager client + * uses to send commands and receive output from the container.

                          */ streamUrl?: string; /** - *

                          An encrypted token value containing session and caller information. Used to + *

                          An encrypted token value containing session and caller information. It's used to * authenticate the connection to the container.

                          */ tokenValue?: string; @@ -7497,9 +7591,9 @@ export interface ExecuteCommandResponse { containerName?: string; /** - *

                          Whether or not the execute command session is running in interactive mode. Amazon ECS only - * supports initiating interactive sessions, so you must specify true for this - * value.

                          + *

                          Determines whether the execute command session is running in interactive mode. Amazon ECS + * only supports initiating interactive sessions, so you must specify true for + * this value.

                          */ interactive?: boolean; @@ -7526,7 +7620,7 @@ export namespace ExecuteCommandResponse { } /** - *

                          The target container is not properly configured with the execute command agent or the + *

                          The target container isn't properly configured with the execute command agent or the * container is no longer active or running.

                          */ export interface TargetNotConnectedException extends __SmithyException, $MetadataBearer { @@ -7551,8 +7645,8 @@ export interface ListAccountSettingsRequest { name?: SettingName | string; /** - *

                          The value of the account settings with which to filter results. You must also specify - * an account setting name to use this parameter.

                          + *

                          The value of the account settings to filter results with. You must also specify an + * account setting name to use this parameter.

                          */ value?: string; @@ -7568,19 +7662,19 @@ export interface ListAccountSettingsRequest { principalArn?: string; /** - *

                          Specifies whether to return the effective settings. If true, the account + *

                          Determines whether to return the effective settings. If true, the account * settings for the root user or the default setting for the principalArn are * returned. If false, the account settings for the principalArn - * are returned if they are set. Otherwise, no account settings are returned.

                          + * are returned if they're set. Otherwise, no account settings are returned.

                          */ effectiveSettings?: boolean; /** *

                          The nextToken value returned from a ListAccountSettings * request indicating that more results are available to fulfill the request and further - * calls will be needed. If maxResults was provided, it is possible the number + * calls will be needed. If maxResults was provided, it's possible the number * of results to be fewer than maxResults.

                          - * + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -7595,7 +7689,7 @@ export interface ListAccountSettingsRequest { * of the initial request can be seen by sending another ListAccountSettings * request with the returned nextToken value. This value can be between * 1 and 10. If this - * parameter is not used, then ListAccountSettings returns up to + * parameter isn't used, then ListAccountSettings returns up to * 10 results and a nextToken value * if applicable.

                          */ @@ -7644,27 +7738,27 @@ export interface ListAttributesRequest { cluster?: string; /** - *

                          The type of the target with which to list attributes.

                          + *

                          The type of the target to list attributes with.

                          */ targetType: TargetType | string | undefined; /** - *

                          The name of the attribute with which to filter the results.

                          + *

                          The name of the attribute to filter the results with.

                          */ attributeName?: string; /** - *

                          The value of the attribute with which to filter results. You must also specify an - * attribute name to use this parameter.

                          + *

                          The value of the attribute to filter results with. You must also specify an attribute + * name to use this parameter.

                          */ attributeValue?: string; /** *

                          The nextToken value returned from a ListAttributes request - * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results - * to be fewer than maxResults.

                          - * + * indicating that more results are available to fulfill the request and further calls are + * needed. If maxResults was provided, it's possible the number of results to + * be fewer than maxResults.

                          + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -7672,13 +7766,13 @@ export interface ListAttributesRequest { nextToken?: string; /** - *

                          The maximum number of cluster results returned by ListAttributes in + *

                          The maximum number of cluster results that ListAttributes returned in * paginated output. When this parameter is used, ListAttributes only returns * maxResults results in a single page along with a nextToken * response element. The remaining results of the initial request can be seen by sending * another ListAttributes request with the returned nextToken * value. This value can be between 1 and 100. If this - * parameter is not used, then ListAttributes returns up to + * parameter isn't used, then ListAttributes returns up to * 100 results and a nextToken value if applicable.

                          */ maxResults?: number; @@ -7721,10 +7815,10 @@ export namespace ListAttributesResponse { export interface ListClustersRequest { /** *

                          The nextToken value returned from a ListClusters request - * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results - * to be fewer than maxResults.

                          - * + * indicating that more results are available to fulfill the request and further calls are + * needed. If maxResults was provided, it's possible the number of results to + * be fewer than maxResults.

                          + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -7732,14 +7826,14 @@ export interface ListClustersRequest { nextToken?: string; /** - *

                          The maximum number of cluster results returned by ListClusters in + *

                          The maximum number of cluster results that ListClusters returned in * paginated output. When this parameter is used, ListClusters only returns * maxResults results in a single page along with a nextToken * response element. The remaining results of the initial request can be seen by sending * another ListClusters request with the returned nextToken * value. This value can be between 1 and 100. If this - * parameter is not used, then ListClusters returns up to - * 100 results and a nextToken value if applicable.

                          + * parameter isn't used, then ListClusters returns up to 100 + * results and a nextToken value if applicable.

                          */ maxResults?: number; } @@ -7755,7 +7849,7 @@ export namespace ListClustersRequest { export interface ListClustersResponse { /** - *

                          The list of full Amazon Resource Name (ARN) entries for each cluster associated with your + *

                          The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your * account.

                          */ clusterArns?: string[]; @@ -7804,9 +7898,9 @@ export interface ListContainerInstancesRequest { /** *

                          The nextToken value returned from a ListContainerInstances * request indicating that more results are available to fulfill the request and further - * calls will be needed. If maxResults was provided, it is possible the number - * of results to be fewer than maxResults.

                          - * + * calls are needed. If maxResults was provided, it's possible the number of + * results to be fewer than maxResults.

                          + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -7814,15 +7908,16 @@ export interface ListContainerInstancesRequest { nextToken?: string; /** - *

                          The maximum number of container instance results returned by - * ListContainerInstances in paginated output. When this parameter is - * used, ListContainerInstances only returns maxResults results - * in a single page along with a nextToken response element. The remaining - * results of the initial request can be seen by sending another - * ListContainerInstances request with the returned nextToken - * value. This value can be between 1 and 100. If this - * parameter is not used, then ListContainerInstances returns up to - * 100 results and a nextToken value if applicable.

                          + *

                          The maximum number of container instance results that + * ListContainerInstances returned in paginated output. When this + * parameter is used, ListContainerInstances only returns + * maxResults results in a single page along with a nextToken + * response element. The remaining results of the initial request can be seen by sending + * another ListContainerInstances request with the returned + * nextToken value. This value can be between 1 and + * 100. If this parameter isn't used, then + * ListContainerInstances returns up to 100 results and + * a nextToken value if applicable.

                          */ maxResults?: number; @@ -7830,7 +7925,7 @@ export interface ListContainerInstancesRequest { *

                          Filters the container instances by status. For example, if you specify the * DRAINING status, the results include only container instances that have * been set to DRAINING using UpdateContainerInstancesState. - * If you do not specify this parameter, the default is to include container instances set + * If you don't specify this parameter, the default is to include container instances set * to all states other than INACTIVE.

                          */ status?: ContainerInstanceStatus | string; @@ -7883,7 +7978,7 @@ export interface ListServicesRequest { * indicating that more results are available to fulfill the request and further calls will * be needed. If maxResults was provided, it is possible the number of results * to be fewer than maxResults.

                          - * + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -7891,13 +7986,13 @@ export interface ListServicesRequest { nextToken?: string; /** - *

                          The maximum number of service results returned by ListServices in + *

                          The maximum number of service results that ListServices returned in * paginated output. When this parameter is used, ListServices only returns * maxResults results in a single page along with a nextToken * response element. The remaining results of the initial request can be seen by sending * another ListServices request with the returned nextToken * value. This value can be between 1 and 100. If - * this parameter is not used, then ListServices returns up to + * this parameter isn't used, then ListServices returns up to * 10 results and a nextToken value if * applicable.

                          */ @@ -7926,7 +8021,7 @@ export namespace ListServicesRequest { export interface ListServicesResponse { /** - *

                          The list of full ARN entries for each service associated with the specified + *

                          The list of full ARN entries for each service that's associated with the specified * cluster.

                          */ serviceArns?: string[]; @@ -7952,7 +8047,7 @@ export namespace ListServicesResponse { export interface ListTagsForResourceRequest { /** - *

                          The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the + *

                          The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the * supported resources are Amazon ECS tasks, services, task definitions, clusters, and container * instances.

                          */ @@ -7992,7 +8087,7 @@ export enum TaskDefinitionFamilyStatus { export interface ListTaskDefinitionFamiliesRequest { /** - *

                          The familyPrefix is a string that is used to filter the results of + *

                          The familyPrefix is a string that's used to filter the results of * ListTaskDefinitionFamilies. If you specify a familyPrefix, * only task definition family names that begin with the familyPrefix string * are returned.

                          @@ -8000,8 +8095,8 @@ export interface ListTaskDefinitionFamiliesRequest { familyPrefix?: string; /** - *

                          The task definition family status with which to filter the - * ListTaskDefinitionFamilies results. By default, both + *

                          The task definition family status to filter the + * ListTaskDefinitionFamilies results with. By default, both * ACTIVE and INACTIVE task definition families are listed. * If this parameter is set to ACTIVE, only task definition families that have * an ACTIVE task definition revision are returned. If this parameter is set @@ -8018,7 +8113,7 @@ export interface ListTaskDefinitionFamiliesRequest { * available to fulfill the request and further calls will be needed. If * maxResults was provided, it is possible the number of results to be * fewer than maxResults.

                          - * + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -8026,14 +8121,14 @@ export interface ListTaskDefinitionFamiliesRequest { nextToken?: string; /** - *

                          The maximum number of task definition family results returned by - * ListTaskDefinitionFamilies in paginated output. When this parameter is - * used, ListTaskDefinitions only returns maxResults results in a - * single page along with a nextToken response element. The remaining results - * of the initial request can be seen by sending another + *

                          The maximum number of task definition family results that + * ListTaskDefinitionFamilies returned in paginated output. When this + * parameter is used, ListTaskDefinitions only returns maxResults + * results in a single page along with a nextToken response element. The + * remaining results of the initial request can be seen by sending another * ListTaskDefinitionFamilies request with the returned * nextToken value. This value can be between 1 and - * 100. If this parameter is not used, then + * 100. If this parameter isn't used, then * ListTaskDefinitionFamilies returns up to 100 results * and a nextToken value if applicable.

                          */ @@ -8082,16 +8177,16 @@ export enum SortOrder { export interface ListTaskDefinitionsRequest { /** - *

                          The full family name with which to filter the ListTaskDefinitions - * results. Specifying a familyPrefix limits the listed task definitions to - * task definition revisions that belong to that family.

                          + *

                          The full family name to filter the ListTaskDefinitions results with. + * Specifying a familyPrefix limits the listed task definitions to task + * definition revisions that belong to that family.

                          */ familyPrefix?: string; /** - *

                          The task definition status with which to filter the ListTaskDefinitions - * results. By default, only ACTIVE task definitions are listed. By setting - * this parameter to INACTIVE, you can view task definitions that are + *

                          The task definition status to filter the ListTaskDefinitions results + * with. By default, only ACTIVE task definitions are listed. By setting this + * parameter to INACTIVE, you can view task definitions that are * INACTIVE as long as an active task or service still references them. If * you paginate the resulting output, be sure to keep the status value * constant in each subsequent request.

                          @@ -8099,12 +8194,12 @@ export interface ListTaskDefinitionsRequest { status?: TaskDefinitionStatus | string; /** - *

                          The order in which to sort the results. Valid values are ASC and - * DESC. By default (ASC), task definitions are listed + *

                          The order to sort the results in. Valid values are ASC and + * DESC. By default, (ASC) task definitions are listed * lexicographically by family name and in ascending numerical order by revision so that * the newest task definitions in a family are listed last. Setting this parameter to - * DESC reverses the sort order on family name and revision so that the - * newest task definitions in a family are listed first.

                          + * DESC reverses the sort order on family name and revision. This is so + * that the newest task definitions in a family are listed first.

                          */ sort?: SortOrder | string; @@ -8113,7 +8208,7 @@ export interface ListTaskDefinitionsRequest { * request indicating that more results are available to fulfill the request and further * calls will be needed. If maxResults was provided, it is possible the number * of results to be fewer than maxResults.

                          - * + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -8121,13 +8216,13 @@ export interface ListTaskDefinitionsRequest { nextToken?: string; /** - *

                          The maximum number of task definition results returned by - * ListTaskDefinitions in paginated output. When this parameter is used, + *

                          The maximum number of task definition results that ListTaskDefinitions + * returned in paginated output. When this parameter is used, * ListTaskDefinitions only returns maxResults results in a * single page along with a nextToken response element. The remaining results * of the initial request can be seen by sending another ListTaskDefinitions * request with the returned nextToken value. This value can be between - * 1 and 100. If this parameter is not used, then + * 1 and 100. If this parameter isn't used, then * ListTaskDefinitions returns up to 100 results and a * nextToken value if applicable.

                          */ @@ -8200,9 +8295,9 @@ export interface ListTasksRequest { /** *

                          The nextToken value returned from a ListTasks request * indicating that more results are available to fulfill the request and further calls will - * be needed. If maxResults was provided, it is possible the number of results + * be needed. If maxResults was provided, it's possible the number of results * to be fewer than maxResults.

                          - * + * *

                          This token should be treated as an opaque identifier that is only used to * retrieve the next items in a list and not for other programmatic purposes.

                          *
                          @@ -8210,19 +8305,19 @@ export interface ListTasksRequest { nextToken?: string; /** - *

                          The maximum number of task results returned by ListTasks in paginated + *

                          The maximum number of task results that ListTasks returned in paginated * output. When this parameter is used, ListTasks only returns * maxResults results in a single page along with a nextToken * response element. The remaining results of the initial request can be seen by sending * another ListTasks request with the returned nextToken value. - * This value can be between 1 and 100. If this parameter is - * not used, then ListTasks returns up to 100 results and a - * nextToken value if applicable.

                          + * This value can be between 1 and 100. If this parameter + * isn't used, then ListTasks returns up to 100 results and + * a nextToken value if applicable.

                          */ maxResults?: number; /** - *

                          The startedBy value with which to filter the task results. Specifying a + *

                          The startedBy value to filter the task results with. Specifying a * startedBy value limits the results to tasks that were started with that * value.

                          */ @@ -8239,12 +8334,12 @@ export interface ListTasksRequest { *

                          The task desired status to use when filtering the ListTasks results. * Specifying a desiredStatus of STOPPED limits the results to * tasks that Amazon ECS has set the desired status to STOPPED. This can be useful - * for debugging tasks that are not starting properly or have died or finished. The default + * for debugging tasks that aren't starting properly or have died or finished. The default * status filter is RUNNING, which shows tasks that Amazon ECS has set the desired * status to RUNNING.

                          * *

                          Although you can filter results based on a desired status of PENDING, - * this does not return any results. Amazon ECS never sets the desired status of a task to + * this doesn't return any results. Amazon ECS never sets the desired status of a task to * that value (only a task's lastStatus may have a value of * PENDING).

                          *
                          @@ -8396,9 +8491,9 @@ export namespace PutAccountSettingDefaultResponse { } /** - *

                          You can apply up to 10 custom attributes per resource. You can view the attributes of - * a resource with ListAttributes. You can remove existing attributes on - * a resource with DeleteAttributes.

                          + *

                          You can apply up to 10 custom attributes for each resource. You can view the + * attributes of a resource with ListAttributes. You can remove existing + * attributes on a resource with DeleteAttributes.

                          */ export interface AttributeLimitExceededException extends __SmithyException, $MetadataBearer { name: "AttributeLimitExceededException"; @@ -8424,7 +8519,7 @@ export interface PutAttributesRequest { /** *

                          The attributes to apply to your resource. You can specify up to 10 custom attributes - * per resource. You can specify up to 10 attributes in a single call.

                          + * for each resource. You can specify up to 10 attributes in a single call.

                          */ attributes: Attribute[] | undefined; } @@ -8457,7 +8552,7 @@ export namespace PutAttributesResponse { export interface PutClusterCapacityProvidersRequest { /** *

                          The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider - * settings for. If you do not specify a cluster, the default cluster is assumed.

                          + * settings for. If you don't specify a cluster, the default cluster is assumed.

                          */ cluster: string | undefined; @@ -8519,7 +8614,7 @@ export namespace PutClusterCapacityProvidersResponse { } /** - *

                          The specified resource is in-use and cannot be removed.

                          + *

                          The specified resource is in-use and can't be removed.

                          */ export interface ResourceInUseException extends __SmithyException, $MetadataBearer { name: "ResourceInUseException"; @@ -8546,14 +8641,14 @@ export enum PlatformDeviceType { */ export interface PlatformDevice { /** - *

                          The ID for the GPU(s) on the container instance. The available GPU IDs can also be + *

                          The ID for the GPUs on the container instance. The available GPU IDs can also be * obtained on the container instance in the * /var/lib/ecs/gpu/nvidia_gpu_info.json file.

                          */ id: string | undefined; /** - *

                          The type of device that is available on the container instance. The only supported + *

                          The type of device that's available on the container instance. The only supported * value is GPU.

                          */ type: PlatformDeviceType | string | undefined; @@ -8570,8 +8665,8 @@ export namespace PlatformDevice { export interface RegisterContainerInstanceRequest { /** - *

                          The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container - * instance. If you do not specify a cluster, the default cluster is assumed.

                          + *

                          The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance + * with. If you do not specify a cluster, the default cluster is assumed.

                          */ cluster?: string; @@ -8597,8 +8692,8 @@ export interface RegisterContainerInstanceRequest { totalResources?: Resource[]; /** - *

                          The version information for the Amazon ECS container agent and Docker daemon running on the - * container instance.

                          + *

                          The version information for the Amazon ECS container agent and Docker daemon that runs on + * the container instance.

                          */ versionInfo?: VersionInfo; @@ -8620,9 +8715,8 @@ export interface RegisterContainerInstanceRequest { /** *

                          The metadata that you apply to the container instance to help you categorize and - * organize them. Each tag consists of a key and an optional value, both of which you - * define.

                          - *

                          The following basic restrictions apply to tags:

                          + * organize them. Each tag consists of a key and an optional value. You define both.

                          + *

                          The following basic restrictions apply to tags:

                          *
                            *
                          • *

                            Maximum number of tags per resource - 50

                            @@ -8684,9 +8778,9 @@ export namespace RegisterContainerInstanceResponse { export interface RegisterTaskDefinitionRequest { /** - *

                            You must specify a family for a task definition, which allows you to - * track multiple versions of the same task definition. The family is used as - * a name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                            + *

                            You must specify a family for a task definition. You can use it track + * multiple versions of the same task definition. The family is used as a name + * for your task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                            */ family: string | undefined; @@ -8745,20 +8839,20 @@ export interface RegisterTaskDefinitionRequest { containerDefinitions: ContainerDefinition[] | undefined; /** - *

                            A list of volume definitions in JSON format that containers in your task may + *

                            A list of volume definitions in JSON format that containers in your task might * use.

                            */ volumes?: Volume[]; /** *

                            An array of placement constraint objects to use for the task. You can specify a - * maximum of 10 constraints per task (this limit includes constraints in the task - * definition and those specified at runtime).

                            + * maximum of 10 constraints for each task. This limit includes constraints in the task + * definition and those specified at runtime.

                            */ placementConstraints?: TaskDefinitionPlacementConstraint[]; /** - *

                            The task launch type that Amazon ECS should validate the task definition against. A client + *

                            The task launch type that Amazon ECS validates the task definition against. A client * exception is returned if the task definition doesn't validate against the * compatibilities specified. If no value is specified, the parameter is omitted from the * response.

                            @@ -8767,21 +8861,23 @@ export interface RegisterTaskDefinitionRequest { /** *

                            The number of CPU units used by the task. It can be expressed as an integer using CPU - * units, for example 1024, or as a string using vCPUs, for example 1 - * vCPU or 1 vcpu, in a task definition. String values are + * units (for example, 1024) or as a string using vCPUs (for example, 1 + * vCPU or 1 vcpu) in a task definition. String values are * converted to an integer indicating the CPU units when the task definition is * registered.

                            * *

                            Task-level CPU and memory parameters are ignored for Windows containers. We * recommend specifying container-level resources for Windows containers.

                            *
                            - *

                            If you are using the EC2 launch type, this field is optional. Supported + *

                            If you're using the EC2 launch type, this field is optional. Supported * values are between 128 CPU units (0.125 vCPUs) and * 10240 CPU units (10 vCPUs).

                            - *

                            If you are using the Fargate launch type, this field is required and you + *

                            If you're using the Fargate launch type, this field is required and you * must use one of the following values, which determines your range of supported values * for the memory parameter:

                            - *
                              + *

                              The CPU units cannot be less than 1 vCPU when you use Windows containers on + * Fargate.

                              + *
                                *
                              • *

                                256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                *
                              • @@ -8803,8 +8899,8 @@ export interface RegisterTaskDefinitionRequest { /** *

                                The amount of memory (in MiB) used by the task. It can be expressed as an integer - * using MiB, for example 1024, or as a string using GB, for example - * 1GB or 1 GB, in a task definition. String values are + * using MiB (for example ,1024) or as a string using GB (for example, + * 1GB or 1 GB) in a task definition. String values are * converted to an integer indicating the MiB when the task definition is * registered.

                                * @@ -8813,9 +8909,11 @@ export interface RegisterTaskDefinitionRequest { * *

                                If using the EC2 launch type, this field is optional.

                                *

                                If using the Fargate launch type, this field is required and you must - * use one of the following values, which determines your range of supported values for the - * cpu parameter:

                                - *
                                  + * use one of the following values. This determines your range of supported values for the + * cpu parameter.

                                  + *

                                  The CPU units cannot be less than 1 vCPU when you use Windows containers on + * Fargate.

                                  + *
                                    *
                                  • *

                                    512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                    *
                                  • @@ -8837,7 +8935,7 @@ export interface RegisterTaskDefinitionRequest { /** *

                                    The metadata that you apply to the task definition to help you categorize and organize - * them. Each tag consists of a key and an optional value, both of which you define.

                                    + * them. Each tag consists of a key and an optional value. You define both of them.

                                    *

                                    The following basic restrictions apply to tags:

                                    *
                                      *
                                    • @@ -8951,15 +9049,14 @@ export interface RegisterTaskDefinitionRequest { * tasks hosted on Fargate. For more information, see Fargate task * storage in the Amazon ECS User Guide for Fargate.

                                      * - *

                                      This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                                      + *

                                      This parameter is only supported for tasks hosted on Fargate using + * the following platform versions:

                                      *
                                        *
                                      • - *

                                        Linux platform - * version 1.4.0 or later.

                                        + *

                                        Linux platform version 1.4.0 or later.

                                        *
                                      • *
                                      • - *

                                        Windows platform - * version 1.0.0 or later.

                                        + *

                                        Windows platform version 1.0.0 or later.

                                        *
                                      • *
                                      *
                                      @@ -8967,8 +9064,10 @@ export interface RegisterTaskDefinitionRequest { ephemeralStorage?: EphemeralStorage; /** - *

                                      The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.

                                      - *

                                      When you specify a task definition in a service, this value must match the runtimePlatform value of the service.

                                      + *

                                      The operating system that your tasks definitions run on. A platform family is + * specified only for tasks using the Fargate launch type.

                                      + *

                                      When you specify a task definition in a service, this value must match the + * runtimePlatform value of the service.

                                      */ runtimePlatform?: RuntimePlatform; } @@ -9004,7 +9103,7 @@ export namespace RegisterTaskDefinitionResponse { } /** - *

                                      Your Amazon Web Services account has been blocked. For more information, contact + *

                                      Your Amazon Web Services account was blocked. For more information, contact * Amazon Web Services Support.

                                      */ export interface BlockedException extends __SmithyException, $MetadataBearer { @@ -9029,20 +9128,21 @@ export interface RunTaskRequest { * parameter must be omitted. If no capacityProviderStrategy or * launchType is specified, the * defaultCapacityProviderStrategy for the cluster is used.

                                      - *

                                      When you use cluster auto scaling, you must specify capacityProviderStrategy and not launchType.

                                      + *

                                      When you use cluster auto scaling, you must specify + * capacityProviderStrategy and not launchType.

                                      *

                                      A capacity provider strategy may contain a maximum of 6 capacity providers.

                                      */ capacityProviderStrategy?: CapacityProviderStrategyItem[]; /** - *

                                      The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task. + *

                                      The short name or full Amazon Resource Name (ARN) of the cluster to run your task on. * If you do not specify a cluster, the default cluster is assumed.

                                      */ cluster?: string; /** *

                                      The number of instantiations of the specified task to place on your cluster. You can - * specify up to 10 tasks per call.

                                      + * specify up to 10 tasks for each call.

                                      */ count?: number; @@ -9054,9 +9154,9 @@ export interface RunTaskRequest { enableECSManagedTags?: boolean; /** - *

                                      Whether or not to enable the execute command functionality for the containers in this - * task. If true, this enables execute command functionality on all containers - * in the task.

                                      + *

                                      Determines whether to enable the execute command functionality for the containers in + * this task. If true, this enables execute command functionality on all + * containers in the task.

                                      */ enableExecuteCommand?: boolean; @@ -9067,8 +9167,8 @@ export interface RunTaskRequest { group?: string; /** - *

                                      The infrastructure on which to run your standalone task. For more information, see - * Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

                                      + *

                                      The infrastructure to run your standalone task on. For more information, see Amazon ECS + * launch types in the Amazon Elastic Container Service Developer Guide.

                                      *

                                      The FARGATE launch type runs your tasks on Fargate On-Demand * infrastructure.

                                      * @@ -9078,20 +9178,21 @@ export interface RunTaskRequest { * *

                                      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your * cluster.

                                      - *

                                      The EXTERNAL launch type runs your tasks on your on-premise server or + *

                                      The EXTERNAL launch type runs your tasks on your on-premises server or * virtual machine (VM) capacity registered to your cluster.

                                      *

                                      A task can use either a launch type or a capacity provider strategy. If a * launchType is specified, the capacityProviderStrategy * parameter must be omitted.

                                      - *

                                      When you use cluster auto scaling, you must specify capacityProviderStrategy and not launchType.

                                      + *

                                      When you use cluster auto scaling, you must specify + * capacityProviderStrategy and not launchType.

                                      */ launchType?: LaunchType | string; /** *

                                      The network configuration for the task. This parameter is required for task * definitions that use the awsvpc network mode to receive their own elastic - * network interface, and it is not supported for other network modes. For more - * information, see Task networking + * network interface, and it isn't supported for other network modes. For more information, + * see Task networking * in the Amazon Elastic Container Service Developer Guide.

                                      */ networkConfiguration?: NetworkConfiguration; @@ -9099,7 +9200,7 @@ export interface RunTaskRequest { /** *

                                      A list of container overrides in JSON format that specify the name of a container in * the specified task definition and the overrides it should receive. You can override the - * default command for a container (that is specified in the task definition or Docker + * default command for a container (that's specified in the task definition or Docker * image) with a command override. You can also override existing environment * variables (that are specified in the task definition or Docker image) on a container or * add new environment variables to it with an environment override.

                                      @@ -9110,28 +9211,28 @@ export interface RunTaskRequest { /** *

                                      An array of placement constraint objects to use for the task. You can specify up to 10 - * constraints per task (including constraints in the task definition and those specified - * at runtime).

                                      + * constraints for each task (including constraints in the task definition and those + * specified at runtime).

                                      */ placementConstraints?: PlacementConstraint[]; /** *

                                      The placement strategy objects to use for the task. You can specify a maximum of 5 - * strategy rules per task.

                                      + * strategy rules for each task.

                                      */ placementStrategy?: PlacementStrategy[]; /** - *

                                      The platform version the task should use. A platform version is only specified for - * tasks hosted on Fargate. If one is not specified, the LATEST - * platform version is used by default. For more information, see Fargate platform versions in the - * Amazon Elastic Container Service Developer Guide.

                                      + *

                                      The platform version the task uses. A platform version is only specified for tasks + * hosted on Fargate. If one isn't specified, the LATEST + * platform version is used. For more information, see Fargate platform + * versions in the Amazon Elastic Container Service Developer Guide.

                                      */ platformVersion?: string; /** *

                                      Specifies whether to propagate the tags from the task definition to the task. If no - * value is specified, the tags are not propagated. Tags can only be propagated to the task + * value is specified, the tags aren't propagated. Tags can only be propagated to the task * during task creation. To add tags to a task after task creation, use the TagResource API action.

                                      * *

                                      An error will be received if you specify the SERVICE option when @@ -9152,7 +9253,7 @@ export interface RunTaskRequest { * job to your task with the startedBy parameter. You can then identify which * tasks belong to that job by filtering the results of a ListTasks call * with the startedBy value. Up to 36 letters (uppercase and lowercase), - * numbers, hyphens, and underscores are allowed.

                                      + * numbers, hyphens (-), and underscores (_) are allowed.

                                      *

                                      If a task is started by an Amazon ECS service, then the startedBy parameter * contains the deployment ID of the service that starts it.

                                      */ @@ -9197,10 +9298,11 @@ export interface RunTaskRequest { /** *

                                      The family and revision (family:revision) or - * full ARN of the task definition to run. If a revision is not specified, + * full ARN of the task definition to run. If a revision isn't specified, * the latest ACTIVE revision is used.

                                      - *

                                      The full ARN value must match the value that you specified ias the Resource - * of the IAM principal's permissions policy. For example, if the Resource is + *

                                      The full ARN value must match the value that you specified as the + * Resource of the IAM principal's permissions policy. For example, if the + * Resource is * arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the * taskDefinition ARN value must be * arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName.

                                      @@ -9241,14 +9343,14 @@ export namespace RunTaskResponse { export interface StartTaskRequest { /** - *

                                      The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. + *

                                      The short name or full Amazon Resource Name (ARN) of the cluster where to start your task. * If you do not specify a cluster, the default cluster is assumed.

                                      */ cluster?: string; /** - *

                                      The container instance IDs or full ARN entries for the container instances on which - * you would like to place your task. You can specify up to 10 container instances.

                                      + *

                                      The container instance IDs or full ARN entries for the container instances where you + * would like to place your task. You can specify up to 10 container instances.

                                      */ containerInstances: string[] | undefined; @@ -9280,8 +9382,8 @@ export interface StartTaskRequest { /** *

                                      A list of container overrides in JSON format that specify the name of a container in - * the specified task definition and the overrides it should receive. You can override the - * default command for a container (that is specified in the task definition or Docker + * the specified task definition and the overrides it receives. You can override the + * default command for a container (that's specified in the task definition or Docker * image) with a command override. You can also override existing environment * variables (that are specified in the task definition or Docker image) on a container or * add new environment variables to it with an environment override.

                                      @@ -9294,7 +9396,7 @@ export interface StartTaskRequest { /** *

                                      Specifies whether to propagate the tags from the task definition or the service to the - * task. If no value is specified, the tags are not propagated.

                                      + * task. If no value is specified, the tags aren't propagated.

                                      */ propagateTags?: PropagateTags | string; @@ -9309,8 +9411,8 @@ export interface StartTaskRequest { * job to your task with the startedBy parameter. You can then identify which * tasks belong to that job by filtering the results of a ListTasks call * with the startedBy value. Up to 36 letters (uppercase and lowercase), - * numbers, hyphens, and underscores are allowed.

                                      - *

                                      If a task is started by an Amazon ECS service, then the startedBy parameter + * numbers, hyphens (-), and underscores (_) are allowed.

                                      + *

                                      If a task is started by an Amazon ECS service, the startedBy parameter * contains the deployment ID of the service that starts it.

                                      */ startedBy?: string; @@ -9354,7 +9456,7 @@ export interface StartTaskRequest { /** *

                                      The family and revision (family:revision) or - * full ARN of the task definition to start. If a revision is not specified, + * full ARN of the task definition to start. If a revision isn't specified, * the latest ACTIVE revision is used.

                                      */ taskDefinition: string | undefined; @@ -9404,7 +9506,7 @@ export interface StopTaskRequest { task: string | undefined; /** - *

                                      An optional message specified when a task is stopped. For example, if you are using a + *

                                      An optional message specified when a task is stopped. For example, if you're using a * custom scheduler, you can use this parameter to specify the reason for stopping the task * here, and the message appears in subsequent DescribeTasks API * operations on this task. Up to 255 characters are allowed in this message.

                                      @@ -9526,7 +9628,7 @@ export interface SubmitContainerStateChangeRequest { status?: string; /** - *

                                      The exit code returned for the state change request.

                                      + *

                                      The exit code that's returned for the state change request.

                                      */ exitCode?: number; @@ -9567,7 +9669,7 @@ export namespace SubmitContainerStateChangeResponse { } /** - *

                                      An object representing a change in state for a container.

                                      + *

                                      An object that represents a change in state for a container.

                                      */ export interface ContainerStateChange { /** @@ -9592,7 +9694,7 @@ export interface ContainerStateChange { exitCode?: number; /** - *

                                      Any network bindings associated with the container.

                                      + *

                                      Any network bindings that are associated with the container.

                                      */ networkBindings?: NetworkBinding[]; @@ -9621,7 +9723,7 @@ export namespace ContainerStateChange { */ export interface ManagedAgentStateChange { /** - *

                                      The name of the container associated with the managed agent.

                                      + *

                                      The name of the container that's associated with the managed agent.

                                      */ containerName: string | undefined; @@ -9672,7 +9774,7 @@ export interface SubmitTaskStateChangeRequest { reason?: string; /** - *

                                      Any containers associated with the state change request.

                                      + *

                                      Any containers that's associated with the state change request.

                                      */ containers?: ContainerStateChange[]; @@ -9682,22 +9784,22 @@ export interface SubmitTaskStateChangeRequest { attachments?: AttachmentStateChange[]; /** - *

                                      The details for the managed agent associated with the task.

                                      + *

                                      The details for the managed agent that's associated with the task.

                                      */ managedAgents?: ManagedAgentStateChange[]; /** - *

                                      The Unix timestamp for when the container image pull began.

                                      + *

                                      The Unix timestamp for the time when the container image pull started.

                                      */ pullStartedAt?: Date; /** - *

                                      The Unix timestamp for when the container image pull completed.

                                      + *

                                      The Unix timestamp for the time when the container image pull completed.

                                      */ pullStoppedAt?: Date; /** - *

                                      The Unix timestamp for when the task execution stopped.

                                      + *

                                      The Unix timestamp for the time when the task execution stopped.

                                      */ executionStoppedAt?: Date; } @@ -9728,7 +9830,7 @@ export namespace SubmitTaskStateChangeResponse { } /** - *

                                      The specified resource could not be found.

                                      + *

                                      The specified resource wasn't found.

                                      */ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceNotFoundException"; @@ -9747,8 +9849,8 @@ export namespace ResourceNotFoundException { export interface TagResourceRequest { /** - *

                                      The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources - * are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container + *

                                      The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are + * Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container * instances.

                                      */ resourceArn: string | undefined; @@ -9812,9 +9914,9 @@ export namespace TagResourceResponse { export interface UntagResourceRequest { /** - *

                                      The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported - * resources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and - * container instances.

                                      + *

                                      The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources + * are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container + * instances.

                                      */ resourceArn: string | undefined; @@ -9859,14 +9961,14 @@ export interface AutoScalingGroupProviderUpdate { * protection.

                                      * *

                                      When using managed termination protection, managed scaling must also be used - * otherwise managed termination protection will not work.

                                      + * otherwise managed termination protection doesn't work.

                                      *
                                      *

                                      When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in * an Auto Scaling group that contain tasks from being terminated during a scale-in action. * The Auto Scaling group and each instance in the Auto Scaling group must have instance - * protection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

                                      - *

                                      When managed termination protection is disabled, your Amazon EC2 instances are not - * protected from termination when the Auto Scaling group scales in.

                                      + * protection from scale-in actions enabled. For more information, see Instance Protection in the Auto Scaling User Guide.

                                      + *

                                      When managed termination protection is disabled, your Amazon EC2 instances aren't protected + * from termination when the Auto Scaling group scales in.

                                      */ managedTerminationProtection?: ManagedTerminationProtection | string; } @@ -9887,7 +9989,7 @@ export interface UpdateCapacityProviderRequest { name: string | undefined; /** - *

                                      An object representing the parameters to update for the Auto Scaling group capacity + *

                                      An object that represent the parameters to update for the Auto Scaling group capacity * provider.

                                      */ autoScalingGroupProvider: AutoScalingGroupProviderUpdate | undefined; @@ -9968,7 +10070,7 @@ export interface UpdateClusterSettingsRequest { /** *

                                      The setting to use by default for a cluster. This parameter is used to enable CloudWatch - * Container Insights for a cluster. If this value is specified, it will override the + * Container Insights for a cluster. If this value is specified, it overrides the * containerInsights value set with PutAccountSetting or * PutAccountSettingDefault.

                                      */ @@ -10001,10 +10103,10 @@ export namespace UpdateClusterSettingsResponse { } /** - *

                                      Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the - * container instance and does not have enough information to proceed with an update. This - * could be because the agent running on the container instance is an older or custom - * version that does not use our version information.

                                      + *

                                      Amazon ECS can't determine the current version of the Amazon ECS container agent on the + * container instance and doesn't have enough information to proceed with an update. This + * could be because the agent running on the container instance is a previous or custom + * version that doesn't use our version information.

                                      */ export interface MissingVersionException extends __SmithyException, $MetadataBearer { name: "MissingVersionException"; @@ -10022,9 +10124,9 @@ export namespace MissingVersionException { } /** - *

                                      There is no update available for this Amazon ECS container agent. This could be because the - * agent is already running the latest version, or it is so old that there is no update - * path to the current version.

                                      + *

                                      There's no update available for this Amazon ECS container agent. This might be because the + * agent is already running the latest version or because it's so old that there's no + * update path to the current version.

                                      */ export interface NoUpdateAvailableException extends __SmithyException, $MetadataBearer { name: "NoUpdateAvailableException"; @@ -10049,8 +10151,8 @@ export interface UpdateContainerAgentRequest { cluster?: string; /** - *

                                      The container instance ID or full ARN entries for the container instance on which - * you would like to update the Amazon ECS container agent.

                                      + *

                                      The container instance ID or full ARN entries for the container instance where you + * would like to update the Amazon ECS container agent.

                                      */ containerInstance: string | undefined; } @@ -10066,7 +10168,7 @@ export namespace UpdateContainerAgentRequest { export interface UpdateContainerAgentResponse { /** - *

                                      The container instance for which the container agent was updated.

                                      + *

                                      The container instance that the container agent was updated for.

                                      */ containerInstance?: ContainerInstance; } @@ -10093,13 +10195,12 @@ export interface UpdateContainerInstancesStateRequest { containerInstances: string[] | undefined; /** - *

                                      The container instance state with which to update the container instance. The only - * valid values for this action are ACTIVE and DRAINING. A - * container instance can only be updated to DRAINING status once it has - * reached an ACTIVE state. If a container instance is in - * REGISTERING, DEREGISTERING, or - * REGISTRATION_FAILED state you can describe the container instance but - * will be unable to update the container instance state.

                                      + *

                                      The container instance state to update the container instance with. The only valid + * values for this action are ACTIVE and DRAINING. A container + * instance can only be updated to DRAINING status once it has reached an + * ACTIVE state. If a container instance is in REGISTERING, + * DEREGISTERING, or REGISTRATION_FAILED state you can + * describe the container instance but can't update the container instance state.

                                      */ status: ContainerInstanceStatus | string | undefined; } @@ -10136,7 +10237,7 @@ export namespace UpdateContainerInstancesStateResponse { export interface UpdateServiceRequest { /** - *

                                      The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on. + *

                                      The short name or full Amazon Resource Name (ARN) of the cluster that your service runs on. * If you do not specify a cluster, the default cluster is assumed.

                                      */ cluster?: string; @@ -10163,11 +10264,11 @@ export interface UpdateServiceRequest { /** *

                                      The capacity provider strategy to update the service to use.

                                      - *

                                      If the service is using the default capacity provider strategy for the cluster, the + *

                                      if the service uses the default capacity provider strategy for the cluster, the * service can be updated to use one or more capacity providers as opposed to the default * capacity provider strategy. However, when a service is using a capacity provider - * strategy that is not the default capacity provider strategy, the service cannot be - * updated to use the cluster's default capacity provider strategy.

                                      + * strategy that's not the default capacity provider strategy, the service can't be updated + * to use the cluster's default capacity provider strategy.

                                      *

                                      A capacity provider strategy consists of one or more capacity providers along with the * base and weight to assign to them. A capacity provider * must be associated with the cluster to be used in a capacity provider strategy. The @@ -10203,8 +10304,8 @@ export interface UpdateServiceRequest { * unchanged. If this value is specified, it will override any existing placement * constraints defined for the service. To remove all existing placement constraints, * specify an empty array.

                                      - *

                                      You can specify a maximum of 10 constraints per task (this limit includes constraints - * in the task definition and those specified at runtime).

                                      + *

                                      You can specify a maximum of 10 constraints for each task. This limit includes + * constraints in the task definition and those specified at runtime.

                                      */ placementConstraints?: PlacementConstraint[]; @@ -10213,37 +10314,37 @@ export interface UpdateServiceRequest { * specified, the existing placement strategy for the service will remain unchanged. If * this value is specified, it will override the existing placement strategy defined for * the service. To remove an existing placement strategy, specify an empty object.

                                      - *

                                      You can specify a maximum of five strategy rules per service.

                                      + *

                                      You can specify a maximum of five strategy rules for each service.

                                      */ placementStrategy?: PlacementStrategy[]; /** - *

                                      The platform version on which your tasks in the service are running. A platform - * version is only specified for tasks using the Fargate launch type. If a - * platform version is not specified, the LATEST platform version is used by - * default. For more information, see Fargate Platform + *

                                      The platform version that your tasks in the service run on. A platform version is only + * specified for tasks using the Fargate launch type. If a platform version + * is not specified, the LATEST platform version is used. For more + * information, see Fargate Platform * Versions in the Amazon Elastic Container Service Developer Guide.

                                      */ platformVersion?: string; /** - *

                                      Whether to force a new deployment of the service. Deployments are not forced by - * default. You can use this option to trigger a new deployment with no service definition - * changes. For example, you can update a service's tasks to use a newer Docker image with - * the same image/tag combination (my_image:latest) or to roll Fargate tasks - * onto a newer platform version.

                                      + *

                                      Determines whether to force a new deployment of the service. By default, deployments + * aren't forced. You can use this option to start a new deployment with no service + * definition changes. For example, you can update a service's tasks to use a newer Docker + * image with the same image/tag combination (my_image:latest) or to roll + * Fargate tasks onto a newer platform version.

                                      */ forceNewDeployment?: boolean; /** - *

                                      The period of time, in seconds, that the Amazon ECS service scheduler should ignore - * unhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid - * if your service is configured to use a load balancer. If your service's tasks take a - * while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace - * period of up to 2,147,483,647 seconds. During that time, the Amazon ECS service - * scheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS - * service scheduler from marking tasks as unhealthy and stopping them before they have - * time to come up.

                                      + *

                                      The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy + * Elastic Load Balancing target health checks after a task has first started. This is only valid if your + * service is configured to use a load balancer. If your service's tasks take a while to + * start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of + * up to 2,147,483,647 seconds. During that time, the Amazon ECS service scheduler ignores + * the Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler + * from marking tasks as unhealthy and stopping them before they have time to come + * up.

                                      */ healthCheckGracePeriodSeconds?: number; @@ -10328,12 +10429,12 @@ export namespace UpdateServicePrimaryTaskSetResponse { export interface UpdateTaskSetRequest { /** *

                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task - * set exists in.

                                      + * set is found in.

                                      */ cluster: string | undefined; /** - *

                                      The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

                                      + *

                                      The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.

                                      */ service: string | undefined; diff --git a/clients/client-ecs/src/protocols/Aws_json1_1.ts b/clients/client-ecs/src/protocols/Aws_json1_1.ts index e85a62006ed9e..efcf899959245 100644 --- a/clients/client-ecs/src/protocols/Aws_json1_1.ts +++ b/clients/client-ecs/src/protocols/Aws_json1_1.ts @@ -177,6 +177,7 @@ import { ContainerDependency, ContainerInstance, ContainerInstanceField, + ContainerInstanceHealthStatus, ContainerOverride, ContainerStateChange, CreateCapacityProviderRequest, @@ -243,6 +244,7 @@ import { HostVolumeProperties, InferenceAccelerator, InferenceAcceleratorOverride, + InstanceHealthCheckResult, InvalidParameterException, KernelCapabilities, KeyValuePair, @@ -8344,6 +8346,10 @@ const deserializeAws_json1_1ContainerInstance = (output: any, context: __SerdeCo capacityProviderName: __expectString(output.capacityProviderName), containerInstanceArn: __expectString(output.containerInstanceArn), ec2InstanceId: __expectString(output.ec2InstanceId), + healthStatus: + output.healthStatus !== undefined && output.healthStatus !== null + ? deserializeAws_json1_1ContainerInstanceHealthStatus(output.healthStatus, context) + : undefined, pendingTasksCount: __expectInt32(output.pendingTasksCount), registeredAt: output.registeredAt !== undefined && output.registeredAt !== null @@ -8370,6 +8376,19 @@ const deserializeAws_json1_1ContainerInstance = (output: any, context: __SerdeCo } as any; }; +const deserializeAws_json1_1ContainerInstanceHealthStatus = ( + output: any, + context: __SerdeContext +): ContainerInstanceHealthStatus => { + return { + details: + output.details !== undefined && output.details !== null + ? deserializeAws_json1_1InstanceHealthCheckResultList(output.details, context) + : undefined, + overallStatus: __expectString(output.overallStatus), + } as any; +}; + const deserializeAws_json1_1ContainerInstances = (output: any, context: __SerdeContext): ContainerInstance[] => { return (output || []) .filter((e: any) => e != null) @@ -9067,6 +9086,38 @@ const deserializeAws_json1_1InferenceAccelerators = (output: any, context: __Ser }); }; +const deserializeAws_json1_1InstanceHealthCheckResult = ( + output: any, + context: __SerdeContext +): InstanceHealthCheckResult => { + return { + lastStatusChange: + output.lastStatusChange !== undefined && output.lastStatusChange !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChange))) + : undefined, + lastUpdated: + output.lastUpdated !== undefined && output.lastUpdated !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated))) + : undefined, + status: __expectString(output.status), + type: __expectString(output.type), + } as any; +}; + +const deserializeAws_json1_1InstanceHealthCheckResultList = ( + output: any, + context: __SerdeContext +): InstanceHealthCheckResult[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1InstanceHealthCheckResult(entry, context); + }); +}; + const deserializeAws_json1_1InvalidParameterException = ( output: any, context: __SerdeContext diff --git a/clients/client-efs/src/endpoints.ts b/clients/client-efs/src/endpoints.ts index d6e5156e559c3..4c8069baa2b64 100644 --- a/clients/client-efs/src/endpoints.ts +++ b/clients/client-efs/src/endpoints.ts @@ -412,6 +412,10 @@ const partitionHash: PartitionHash = { hostname: "elasticfilesystem.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elasticfilesystem-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -422,6 +426,10 @@ const partitionHash: PartitionHash = { hostname: "elasticfilesystem.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elasticfilesystem-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-eks/src/endpoints.ts b/clients/client-eks/src/endpoints.ts index 4daaedc8eb717..e5e54c82b3792 100644 --- a/clients/client-eks/src/endpoints.ts +++ b/clients/client-eks/src/endpoints.ts @@ -147,6 +147,10 @@ const partitionHash: PartitionHash = { hostname: "eks.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "eks-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -157,6 +161,10 @@ const partitionHash: PartitionHash = { hostname: "eks.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "eks-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elastic-beanstalk/src/endpoints.ts b/clients/client-elastic-beanstalk/src/endpoints.ts index 693ea07524a3c..8509fd869001a 100644 --- a/clients/client-elastic-beanstalk/src/endpoints.ts +++ b/clients/client-elastic-beanstalk/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "elasticbeanstalk.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elasticbeanstalk-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "elasticbeanstalk.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elasticbeanstalk-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elastic-inference/src/endpoints.ts b/clients/client-elastic-inference/src/endpoints.ts index 6c155a9ea6194..caf4e49ca4547 100644 --- a/clients/client-elastic-inference/src/endpoints.ts +++ b/clients/client-elastic-inference/src/endpoints.ts @@ -127,6 +127,10 @@ const partitionHash: PartitionHash = { hostname: "api.elastic-inference.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.elastic-inference-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -137,6 +141,10 @@ const partitionHash: PartitionHash = { hostname: "api.elastic-inference.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.elastic-inference-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elastic-load-balancing-v2/src/endpoints.ts b/clients/client-elastic-load-balancing-v2/src/endpoints.ts index 363c91b11d93e..772060e2a304f 100644 --- a/clients/client-elastic-load-balancing-v2/src/endpoints.ts +++ b/clients/client-elastic-load-balancing-v2/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "elasticloadbalancing.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elasticloadbalancing-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "elasticloadbalancing.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elasticloadbalancing-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elastic-load-balancing/src/endpoints.ts b/clients/client-elastic-load-balancing/src/endpoints.ts index 363c91b11d93e..772060e2a304f 100644 --- a/clients/client-elastic-load-balancing/src/endpoints.ts +++ b/clients/client-elastic-load-balancing/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "elasticloadbalancing.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elasticloadbalancing-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "elasticloadbalancing.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elasticloadbalancing-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elastic-transcoder/src/endpoints.ts b/clients/client-elastic-transcoder/src/endpoints.ts index d429ef0d3a841..fcbe5d1e580dd 100644 --- a/clients/client-elastic-transcoder/src/endpoints.ts +++ b/clients/client-elastic-transcoder/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "elastictranscoder.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elastictranscoder-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "elastictranscoder.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elastictranscoder-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elasticache/src/endpoints.ts b/clients/client-elasticache/src/endpoints.ts index 1d33150fd24b8..3b32cfa650c25 100644 --- a/clients/client-elasticache/src/endpoints.ts +++ b/clients/client-elasticache/src/endpoints.ts @@ -144,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "elasticache.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elasticache-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -154,6 +158,10 @@ const partitionHash: PartitionHash = { hostname: "elasticache.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elasticache-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-elasticsearch-service/src/endpoints.ts b/clients/client-elasticsearch-service/src/endpoints.ts index 97f80484fbb89..c1f5bfbc7c09b 100644 --- a/clients/client-elasticsearch-service/src/endpoints.ts +++ b/clients/client-elasticsearch-service/src/endpoints.ts @@ -156,6 +156,10 @@ const partitionHash: PartitionHash = { hostname: "es.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "es-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -166,6 +170,10 @@ const partitionHash: PartitionHash = { hostname: "es.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "es-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-emr-containers/src/endpoints.ts b/clients/client-emr-containers/src/endpoints.ts index 037b282d32453..f048d3d3156fa 100644 --- a/clients/client-emr-containers/src/endpoints.ts +++ b/clients/client-emr-containers/src/endpoints.ts @@ -144,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "emr-containers.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "emr-containers-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -154,6 +158,10 @@ const partitionHash: PartitionHash = { hostname: "emr-containers.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "emr-containers-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-emr/src/endpoints.ts b/clients/client-emr/src/endpoints.ts index a19b63f04993f..aec5a47861491 100644 --- a/clients/client-emr/src/endpoints.ts +++ b/clients/client-emr/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "elasticmapreduce.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "elasticmapreduce-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "elasticmapreduce.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "elasticmapreduce-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-eventbridge/src/endpoints.ts b/clients/client-eventbridge/src/endpoints.ts index deb0ab8df3b95..6e6b75d81970c 100644 --- a/clients/client-eventbridge/src/endpoints.ts +++ b/clients/client-eventbridge/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "events.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "events-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "events.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "events-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-finspace-data/src/endpoints.ts b/clients/client-finspace-data/src/endpoints.ts index 7a6f4725fb79d..ce36509298d82 100644 --- a/clients/client-finspace-data/src/endpoints.ts +++ b/clients/client-finspace-data/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "finspace-api.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "finspace-api-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "finspace-api.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "finspace-api-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-finspace/src/endpoints.ts b/clients/client-finspace/src/endpoints.ts index 4983ea8a38a78..0745a29ea6d1f 100644 --- a/clients/client-finspace/src/endpoints.ts +++ b/clients/client-finspace/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "finspace.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "finspace-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "finspace.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "finspace-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-firehose/src/endpoints.ts b/clients/client-firehose/src/endpoints.ts index 9139e3ea0b93c..4a1d13a9d68eb 100644 --- a/clients/client-firehose/src/endpoints.ts +++ b/clients/client-firehose/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "firehose.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "firehose-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "firehose.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "firehose-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-fis/src/endpoints.ts b/clients/client-fis/src/endpoints.ts index 73a4dae6cf54b..e3f84979efe5a 100644 --- a/clients/client-fis/src/endpoints.ts +++ b/clients/client-fis/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "fis.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "fis-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "fis.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "fis-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-fms/src/endpoints.ts b/clients/client-fms/src/endpoints.ts index 8359972a9ecb2..30a5811de4937 100644 --- a/clients/client-fms/src/endpoints.ts +++ b/clients/client-fms/src/endpoints.ts @@ -350,6 +350,10 @@ const partitionHash: PartitionHash = { hostname: "fms.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "fms-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -360,6 +364,10 @@ const partitionHash: PartitionHash = { hostname: "fms.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "fms-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-forecast/src/endpoints.ts b/clients/client-forecast/src/endpoints.ts index d0256f755ff76..d161f7c98b108 100644 --- a/clients/client-forecast/src/endpoints.ts +++ b/clients/client-forecast/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "forecast.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "forecast-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "forecast.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "forecast-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-forecastquery/src/endpoints.ts b/clients/client-forecastquery/src/endpoints.ts index 06a354a96a4b1..3de6502fc3551 100644 --- a/clients/client-forecastquery/src/endpoints.ts +++ b/clients/client-forecastquery/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "forecastquery.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "forecastquery-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "forecastquery.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "forecastquery-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-frauddetector/src/endpoints.ts b/clients/client-frauddetector/src/endpoints.ts index ac54ca6ccafc9..fcd60ba767bd4 100644 --- a/clients/client-frauddetector/src/endpoints.ts +++ b/clients/client-frauddetector/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "frauddetector.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "frauddetector-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "frauddetector.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "frauddetector-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-fsx/src/endpoints.ts b/clients/client-fsx/src/endpoints.ts index c3aaee928d6ad..8e1ba9216a83e 100644 --- a/clients/client-fsx/src/endpoints.ts +++ b/clients/client-fsx/src/endpoints.ts @@ -178,6 +178,10 @@ const partitionHash: PartitionHash = { hostname: "fsx.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "fsx-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -188,6 +192,10 @@ const partitionHash: PartitionHash = { hostname: "fsx.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "fsx-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-gamelift/src/endpoints.ts b/clients/client-gamelift/src/endpoints.ts index 398dd8ce2852e..7598e18749bc0 100644 --- a/clients/client-gamelift/src/endpoints.ts +++ b/clients/client-gamelift/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "gamelift.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "gamelift-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "gamelift.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "gamelift-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-glacier/src/endpoints.ts b/clients/client-glacier/src/endpoints.ts index 4660c9730e88e..4bbb17c9accc5 100644 --- a/clients/client-glacier/src/endpoints.ts +++ b/clients/client-glacier/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "glacier.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "glacier-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "glacier.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "glacier-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-global-accelerator/src/endpoints.ts b/clients/client-global-accelerator/src/endpoints.ts index d0716d3dfa3d9..fb7882dc0790e 100644 --- a/clients/client-global-accelerator/src/endpoints.ts +++ b/clients/client-global-accelerator/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "globalaccelerator.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "globalaccelerator-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "globalaccelerator.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "globalaccelerator-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-glue/src/endpoints.ts b/clients/client-glue/src/endpoints.ts index 2d9d5dc8986a4..a000713898a69 100644 --- a/clients/client-glue/src/endpoints.ts +++ b/clients/client-glue/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "glue.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "glue-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "glue.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "glue-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-grafana/src/endpoints.ts b/clients/client-grafana/src/endpoints.ts index 0372d7945f360..b76c9bdf3a0d9 100644 --- a/clients/client-grafana/src/endpoints.ts +++ b/clients/client-grafana/src/endpoints.ts @@ -169,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "grafana.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "grafana-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -179,6 +183,10 @@ const partitionHash: PartitionHash = { hostname: "grafana.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "grafana-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-greengrass/src/endpoints.ts b/clients/client-greengrass/src/endpoints.ts index 1731269f0bf2f..02011ff9d8505 100644 --- a/clients/client-greengrass/src/endpoints.ts +++ b/clients/client-greengrass/src/endpoints.ts @@ -119,6 +119,10 @@ const partitionHash: PartitionHash = { hostname: "greengrass.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "greengrass-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -129,6 +133,10 @@ const partitionHash: PartitionHash = { hostname: "greengrass.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "greengrass-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-greengrassv2/src/GreengrassV2.ts b/clients/client-greengrassv2/src/GreengrassV2.ts index 6ca139c110364..331be1dc3c4aa 100644 --- a/clients/client-greengrassv2/src/GreengrassV2.ts +++ b/clients/client-greengrassv2/src/GreengrassV2.ts @@ -296,6 +296,9 @@ export class GreengrassV2 extends GreengrassV2Client { *
                                    *

                                    To create a component from a Lambda function, specify lambdaFunction * when you call this operation.

                                    + * + *

                                    IoT Greengrass currently supports Lambda functions on only Linux core devices.

                                    + *
                                    * *
                                  */ diff --git a/clients/client-greengrassv2/src/commands/CreateComponentVersionCommand.ts b/clients/client-greengrassv2/src/commands/CreateComponentVersionCommand.ts index 4a9b9c74ba5e3..f2fb931983617 100644 --- a/clients/client-greengrassv2/src/commands/CreateComponentVersionCommand.ts +++ b/clients/client-greengrassv2/src/commands/CreateComponentVersionCommand.ts @@ -74,6 +74,9 @@ export interface CreateComponentVersionCommandOutput extends CreateComponentVers *
                                *

                                To create a component from a Lambda function, specify lambdaFunction * when you call this operation.

                                + * + *

                                IoT Greengrass currently supports Lambda functions on only Linux core devices.

                                + *
                                * *
                              * @example diff --git a/clients/client-greengrassv2/src/endpoints.ts b/clients/client-greengrassv2/src/endpoints.ts index 1731269f0bf2f..02011ff9d8505 100644 --- a/clients/client-greengrassv2/src/endpoints.ts +++ b/clients/client-greengrassv2/src/endpoints.ts @@ -119,6 +119,10 @@ const partitionHash: PartitionHash = { hostname: "greengrass.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "greengrass-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -129,6 +133,10 @@ const partitionHash: PartitionHash = { hostname: "greengrass.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "greengrass-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-greengrassv2/src/models/models_0.ts b/clients/client-greengrassv2/src/models/models_0.ts index 26d75e550e1aa..07985f581ccbe 100644 --- a/clients/client-greengrassv2/src/models/models_0.ts +++ b/clients/client-greengrassv2/src/models/models_0.ts @@ -716,8 +716,9 @@ export namespace SystemResourceLimits { */ export interface ComponentRunWith { /** - *

                              The POSIX system user and (optional) group to use to run this component. Specify the user - * and group separated by a colon (:) in the following format: + *

                              The POSIX system user and, optionally, group to use to run this component on Linux core + * devices. The user, and group if specified, must exist on each Linux core device. Specify the + * user and group separated by a colon (:) in the following format: * user:group. The group is optional. If you don't specify a group, the IoT Greengrass Core * software uses the primary user for the group.

                              *

                              If you omit this parameter, the IoT Greengrass Core software uses the default system user and group that @@ -726,11 +727,21 @@ export interface ComponentRunWith { posixUser?: string; /** - *

                              The system resource limits to apply to this component's process on the core device.

                              + *

                              The system resource limits to apply to this component's process on the core device. IoT Greengrass + * currently supports this feature on only Linux core devices.

                              *

                              If you omit this parameter, the IoT Greengrass Core software uses the default system resource limits * that you configure on the Greengrass nucleus component. For more information, see Configure system resource limits for components.

                              */ systemResourceLimits?: SystemResourceLimits; + + /** + *

                              The Windows user to use to run this component on Windows core devices. The user must exist + * on each Windows core device, and its name and password must be in the LocalSystem account's + * Credentials Manager instance.

                              + *

                              If you omit this parameter, the IoT Greengrass Core software uses the default Windows user that you + * configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.

                              + */ + windowsUser?: string; } export namespace ComponentRunWith { diff --git a/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts b/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts index e89e4d10409ad..d62bb4d3855eb 100644 --- a/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts +++ b/clients/client-greengrassv2/src/protocols/Aws_restJson1.ts @@ -3370,6 +3370,7 @@ const serializeAws_restJson1ComponentRunWith = (input: ComponentRunWith, context input.systemResourceLimits !== null && { systemResourceLimits: serializeAws_restJson1SystemResourceLimits(input.systemResourceLimits, context), }), + ...(input.windowsUser !== undefined && input.windowsUser !== null && { windowsUser: input.windowsUser }), }; }; @@ -3952,6 +3953,7 @@ const deserializeAws_restJson1ComponentRunWith = (output: any, context: __SerdeC output.systemResourceLimits !== undefined && output.systemResourceLimits !== null ? deserializeAws_restJson1SystemResourceLimits(output.systemResourceLimits, context) : undefined, + windowsUser: __expectString(output.windowsUser), } as any; }; diff --git a/clients/client-groundstation/src/endpoints.ts b/clients/client-groundstation/src/endpoints.ts index d8af8da5bd7d0..25eff145a2677 100644 --- a/clients/client-groundstation/src/endpoints.ts +++ b/clients/client-groundstation/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "groundstation.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "groundstation-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "groundstation.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "groundstation-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-guardduty/src/endpoints.ts b/clients/client-guardduty/src/endpoints.ts index 375faed4c1614..20cf516eaeaca 100644 --- a/clients/client-guardduty/src/endpoints.ts +++ b/clients/client-guardduty/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "guardduty.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "guardduty-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "guardduty.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "guardduty-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-health/README.md b/clients/client-health/README.md index e92be54c78ee6..3d2460870895e 100644 --- a/clients/client-health/README.md +++ b/clients/client-health/README.md @@ -7,46 +7,46 @@ AWS SDK for JavaScript Health Client for Node.js, Browser and React Native. -AWS Health +Health -

                              The AWS Health API provides programmatic access to the AWS Health information that -appears in the AWS Personal Health Dashboard. You -can use the API operations to get information about AWS Health events that affect your -AWS services and resources.

                              +

                              The Health API provides programmatic access to the Health information that +appears in the Personal Health Dashboard. You +can use the API operations to get information about events that might affect your Amazon Web Services +services and resources.

                              • -

                                You must have a Business or Enterprise Support plan from AWS Support to use the -AWS Health API. If you call the AWS Health API from an AWS account that +

                                You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the +Health API. If you call the Health API from an Amazon Web Services account that doesn't have a Business or Enterprise Support plan, you receive a SubscriptionRequiredException error.

                              • -

                                You can use the AWS Health endpoint health.us-east-1.amazonaws.com (HTTPS) to -call the AWS Health API operations. AWS Health supports a multi-Region +

                                You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to +call the Health API operations. Health supports a multi-Region application architecture and has two regional endpoints in an active-passive configuration. You can use the high availability endpoint example to determine -which AWS Region is active, so that you can get the latest information from the -API. For more information, see Accessing the AWS Health API in the -AWS Health User Guide.

                                +which Amazon Web Services Region is active, so that you can get the latest information from the +API. For more information, see Accessing the Health API in the +Health User Guide.

                              -

                              For authentication of requests, AWS Health uses the Signature Version 4 Signing +

                              For authentication of requests, Health uses the Signature Version 4 Signing Process.

                              -

                              If your AWS account is part of AWS Organizations, you can use the AWS Health organizational -view feature. This feature provides a centralized view of AWS Health events across all -accounts in your organization. You can aggregate AWS Health events in real time to +

                              If your Amazon Web Services account is part of Organizations, you can use the Health organizational +view feature. This feature provides a centralized view of Health events across all +accounts in your organization. You can aggregate Health events in real time to identify accounts in your organization that are affected by an operational event or get notified of security vulnerabilities. Use the organizational view API operations to enable this feature and return event information. For more information, see Aggregating -AWS Health events in the AWS Health User Guide.

                              +Health events in the Health User Guide.

                              -

                              When you use the AWS Health API operations to return AWS Health events, see the +

                              When you use the Health API operations to return Health events, see the following recommendations:

                              • -

                                Use the eventScopeCode parameter to specify whether to return AWS Health +

                                Use the eventScopeCode parameter to specify whether to return Health events that are public or account-specific.

                              • diff --git a/clients/client-health/src/Health.ts b/clients/client-health/src/Health.ts index 920118296e72b..e29d3aa95ede7 100644 --- a/clients/client-health/src/Health.ts +++ b/clients/client-health/src/Health.ts @@ -68,46 +68,46 @@ import { import { HealthClient } from "./HealthClient"; /** - * AWS Health + * Health * - *

                                The AWS Health API provides programmatic access to the AWS Health information that - * appears in the AWS Personal Health Dashboard. You - * can use the API operations to get information about AWS Health events that affect your - * AWS services and resources.

                                + *

                                The Health API provides programmatic access to the Health information that + * appears in the Personal Health Dashboard. You + * can use the API operations to get information about events that might affect your Amazon Web Services + * services and resources.

                                * *
                                  *
                                • - *

                                  You must have a Business or Enterprise Support plan from AWS Support to use the - * AWS Health API. If you call the AWS Health API from an AWS account that + *

                                  You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the + * Health API. If you call the Health API from an Amazon Web Services account that * doesn't have a Business or Enterprise Support plan, you receive a * SubscriptionRequiredException error.

                                  *
                                • *
                                • - *

                                  You can use the AWS Health endpoint health.us-east-1.amazonaws.com (HTTPS) to - * call the AWS Health API operations. AWS Health supports a multi-Region + *

                                  You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to + * call the Health API operations. Health supports a multi-Region * application architecture and has two regional endpoints in an active-passive * configuration. You can use the high availability endpoint example to determine - * which AWS Region is active, so that you can get the latest information from the - * API. For more information, see Accessing the AWS Health API in the - * AWS Health User Guide.

                                  + * which Amazon Web Services Region is active, so that you can get the latest information from the + * API. For more information, see Accessing the Health API in the + * Health User Guide.

                                  *
                                • *
                                *
                                - *

                                For authentication of requests, AWS Health uses the Signature Version 4 Signing + *

                                For authentication of requests, Health uses the Signature Version 4 Signing * Process.

                                - *

                                If your AWS account is part of AWS Organizations, you can use the AWS Health organizational - * view feature. This feature provides a centralized view of AWS Health events across all - * accounts in your organization. You can aggregate AWS Health events in real time to + *

                                If your Amazon Web Services account is part of Organizations, you can use the Health organizational + * view feature. This feature provides a centralized view of Health events across all + * accounts in your organization. You can aggregate Health events in real time to * identify accounts in your organization that are affected by an operational event or get * notified of security vulnerabilities. Use the organizational view API operations to enable * this feature and return event information. For more information, see Aggregating - * AWS Health events in the AWS Health User Guide.

                                + * Health events in the Health User Guide.

                                * - *

                                When you use the AWS Health API operations to return AWS Health events, see the + *

                                When you use the Health API operations to return Health events, see the * following recommendations:

                                *
                                  *
                                • - *

                                  Use the eventScopeCode parameter to specify whether to return AWS Health + *

                                  Use the eventScopeCode parameter to specify whether to return Health * events that are public or account-specific.

                                  *
                                • *
                                • @@ -121,11 +121,11 @@ import { HealthClient } from "./HealthClient"; */ export class Health extends HealthClient { /** - *

                                  Returns a list of accounts in the organization from AWS Organizations that are affected by the - * provided event. For more information about the different types of AWS Health events, see + *

                                  Returns a list of accounts in the organization from Organizations that are affected by the + * provided event. For more information about the different types of Health events, see * Event.

                                  - *

                                  Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's + *

                                  Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

                                  * *

                                  This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                  @@ -165,11 +165,10 @@ export class Health extends HealthClient { /** *

                                  Returns a list of entities that have been affected by the specified events, based on the * specified filter criteria. Entities can refer to individual customer resources, groups of - * customer resources, or any other construct, depending on the AWS service. Events that + * customer resources, or any other construct, depending on the Amazon Web Services service. Events that * have impact beyond that of the affected entities, or where the extent of impact is unknown, * include at least one entity indicating this.

                                  - *

                                  At least one event ARN is required. Results are sorted by the - * lastUpdatedTime of the entity, starting with the most recent.

                                  + *

                                  At least one event ARN is required.

                                  * * *
                                    @@ -177,8 +176,8 @@ export class Health extends HealthClient { *

                                    This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                    * *
                                  • - *

                                    This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                    + *

                                    This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                    *
                                  • *
                                  *
                                  @@ -214,14 +213,12 @@ export class Health extends HealthClient { /** *

                                  Returns a list of entities that have been affected by one or more events for one or more - * accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer + * accounts in your organization in Organizations, based on the filter criteria. Entities can refer * to individual customer resources, groups of customer resources, or any other construct, - * depending on the AWS service.

                                  - *

                                  At least one event Amazon Resource Name (ARN) and account ID are required. Results are - * sorted by the lastUpdatedTime of the entity, starting with the most - * recent.

                                  - *

                                  Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization + * depending on the Amazon Web Services service.

                                  + *

                                  At least one event Amazon Resource Name (ARN) and account ID are required.

                                  + *

                                  Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization * operation from your organization's management account.

                                  * *
                                    @@ -229,8 +226,8 @@ export class Health extends HealthClient { *

                                    This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                    * *
                                  • - *

                                    This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                    + *

                                    This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                    *
                                  • *
                                  * @@ -268,8 +265,7 @@ export class Health extends HealthClient { } /** - *

                                  Returns the number of entities that are affected by each of the specified events. If no - * events are specified, the counts of all affected entities are returned.

                                  + *

                                  Returns the number of entities that are affected by each of the specified events.

                                  */ public describeEntityAggregates( args: DescribeEntityAggregatesCommandInput, @@ -339,14 +335,14 @@ export class Health extends HealthClient { /** *

                                  Returns detailed information about one or more specified events. Information includes - * standard event data (AWS Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata + * standard event data (Amazon Web Services Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata * that depends upon the nature of the event. Affected entities are not included. To retrieve * the entities, use the DescribeAffectedEntities operation.

                                  *

                                  If a specified event can't be retrieved, an error message is returned for that * event.

                                  * - *

                                  This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                  + *

                                  This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                  *
                                  */ public describeEventDetails( @@ -379,38 +375,38 @@ export class Health extends HealthClient { } /** - *

                                  Returns detailed information about one or more specified events for one or more AWS - * accounts in your organization. This information includes standard event data (such as the - * AWS Region and service), an event description, and (depending on the event) possible + *

                                  Returns detailed information about one or more specified events for one or more + * Amazon Web Services accounts in your organization. This information includes standard event data (such as the + * Amazon Web Services Region and service), an event description, and (depending on the event) possible * metadata. This operation doesn't return affected entities, such as the resources related to * the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.

                                  * - *

                                  Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's + *

                                  Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

                                  *
                                  *

                                  When you call the DescribeEventDetailsForOrganization operation, specify * the organizationEventDetailFilters object in the request. Depending on the - * AWS Health event type, note the following differences:

                                  + * Health event type, note the following differences:

                                  *
                                    *
                                  • *

                                    To return event details for a public event, you must specify a null value for the * awsAccountId parameter. If you specify an account ID for a public - * event, AWS Health returns an error message because public events aren't specific to + * event, Health returns an error message because public events aren't specific to * an account.

                                    *
                                  • *
                                  • *

                                    To return event details for an event that is specific to an account in your * organization, you must specify the awsAccountId parameter in the - * request. If you don't specify an account ID, AWS Health returns an error message + * request. If you don't specify an account ID, Health returns an error message * because the event is specific to an account in your organization.

                                    *
                                  • *
                                  *

                                  For more information, see Event.

                                  * * - *

                                  This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                  + *

                                  This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                  *
                                  */ public describeEventDetailsForOrganization( @@ -453,10 +449,10 @@ export class Health extends HealthClient { *
                                    *
                                  • *

                                    When you call the DescribeEvents operation and specify an entity - * for the entityValues parameter, AWS Health might return public + * for the entityValues parameter, Health might return public * events that aren't specific to that resource. For example, if you call * DescribeEvents and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) - * instance, AWS Health might return events that aren't specific to that resource or + * instance, Health might return events that aren't specific to that resource or * service. To get events that are specific to a service, use the * services parameter in the filter object. For more * information, see Event.

                                    @@ -497,7 +493,7 @@ export class Health extends HealthClient { } /** - *

                                    Returns information about events across your organization in AWS Organizations. You can use + *

                                    Returns information about events across your organization in Organizations. You can use * thefilters parameter to specify the events that you want to return. Events * are returned in a summary form and don't include the affected accounts, detailed * description, any additional metadata that depends on the event type, or any affected @@ -522,9 +518,9 @@ export class Health extends HealthClient { *

                                    If you don't specify a filter, the * DescribeEventsForOrganizations returns all events across your organization. * Results are sorted by lastModifiedTime, starting with the most recent event.

                                    - *

                                    For more information about the different types of AWS Health events, see Event.

                                    - *

                                    Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's + *

                                    For more information about the different types of Health events, see Event.

                                    + *

                                    Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

                                    * *

                                    This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                    @@ -561,7 +557,7 @@ export class Health extends HealthClient { /** *

                                    Returns the event types that meet the specified filter criteria. You can use this API - * operation to find information about the AWS Health event, such as the category, AWS + * operation to find information about the Health event, such as the category, Amazon Web Services * service, and event code. The metadata for each event appears in the EventType object.

                                    *

                                    If you don't specify a filter criteria, the API operation returns all event types, in no * particular order.

                                    @@ -599,7 +595,7 @@ export class Health extends HealthClient { } /** - *

                                    This operation provides status information on enabling or disabling AWS Health to work + *

                                    This operation provides status information on enabling or disabling Health to work * with your organization. To call this operation, you must sign in as an IAM user, assume * an IAM role, or sign in as the root user (not recommended) in the organization's * management account.

                                    @@ -636,20 +632,19 @@ export class Health extends HealthClient { } /** - *

                                    Disables AWS Health from working with AWS Organizations. To call this operation, you must sign - * in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not + *

                                    Disables Health from working with Organizations. To call this operation, you must sign + * in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not * recommended) in the organization's management account. For more information, see Aggregating - * AWS Health events in the - * AWS Health User Guide.

                                    - *

                                    This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or AWS Command Line Interface (AWS CLI) to + * Health events in the + * Health User Guide.

                                    + *

                                    This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or Command Line Interface (CLI) to * remove the service-linked role. For more information, see Deleting a Service-Linked Role in the * IAM User Guide.

                                    * *

                                    You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation, - * AWS Health stops aggregating events for all other AWS accounts in your organization. - * If you call the AWS Health API operations for organizational view, AWS Health returns - * an error. AWS Health continues to aggregate health events for your AWS - * account.

                                    + * Health stops aggregating events for all other Amazon Web Services accounts in your organization. + * If you call the Health API operations for organizational view, Health returns + * an error. Health continues to aggregate health events for your Amazon Web Services account.

                                    *
                                    */ public disableHealthServiceAccessForOrganization( @@ -684,29 +679,29 @@ export class Health extends HealthClient { } /** - *

                                    Enables AWS Health to work with AWS Organizations. You can use the organizational view feature - * to aggregate events from all AWS accounts in your organization in a centralized location.

                                    + *

                                    Enables Health to work with Organizations. You can use the organizational view feature + * to aggregate events from all Amazon Web Services accounts in your organization in a centralized location.

                                    *

                                    This operation also creates a service-linked role for the management account in the * organization.

                                    * *

                                    To call this operation, you must meet the following requirements:

                                    *
                                      *
                                    • - *

                                      You must have a Business or Enterprise Support plan from AWS Support to use the AWS Health - * API. If you call the AWS Health API from an AWS account that doesn't have a + *

                                      You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the Health + * API. If you call the Health API from an Amazon Web Services account that doesn't have a * Business or Enterprise Support plan, you receive a * SubscriptionRequiredException error.

                                      *
                                    • *
                                    • *

                                      You must have permission to call this operation from the organization's - * management account. For example IAM policies, see AWS Health + * management account. For example IAM policies, see Health * identity-based policy examples.

                                      *
                                    • *
                                    *
                                    - *

                                    If you don't have the required support plan, you can instead use the AWS Health console + *

                                    If you don't have the required support plan, you can instead use the Health console * to enable the organizational view feature. For more information, see Aggregating - * AWS Health events in the AWS Health User Guide.

                                    + * Health events in the Health User Guide.

                                    */ public enableHealthServiceAccessForOrganization( args: EnableHealthServiceAccessForOrganizationCommandInput, diff --git a/clients/client-health/src/HealthClient.ts b/clients/client-health/src/HealthClient.ts index 8c14909e7cdbf..f90c6fb94f43a 100644 --- a/clients/client-health/src/HealthClient.ts +++ b/clients/client-health/src/HealthClient.ts @@ -276,46 +276,46 @@ type HealthClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandle export interface HealthClientResolvedConfig extends HealthClientResolvedConfigType {} /** - * AWS Health + * Health * - *

                                    The AWS Health API provides programmatic access to the AWS Health information that - * appears in the AWS Personal Health Dashboard. You - * can use the API operations to get information about AWS Health events that affect your - * AWS services and resources.

                                    + *

                                    The Health API provides programmatic access to the Health information that + * appears in the Personal Health Dashboard. You + * can use the API operations to get information about events that might affect your Amazon Web Services + * services and resources.

                                    * *
                                      *
                                    • - *

                                      You must have a Business or Enterprise Support plan from AWS Support to use the - * AWS Health API. If you call the AWS Health API from an AWS account that + *

                                      You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the + * Health API. If you call the Health API from an Amazon Web Services account that * doesn't have a Business or Enterprise Support plan, you receive a * SubscriptionRequiredException error.

                                      *
                                    • *
                                    • - *

                                      You can use the AWS Health endpoint health.us-east-1.amazonaws.com (HTTPS) to - * call the AWS Health API operations. AWS Health supports a multi-Region + *

                                      You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to + * call the Health API operations. Health supports a multi-Region * application architecture and has two regional endpoints in an active-passive * configuration. You can use the high availability endpoint example to determine - * which AWS Region is active, so that you can get the latest information from the - * API. For more information, see Accessing the AWS Health API in the - * AWS Health User Guide.

                                      + * which Amazon Web Services Region is active, so that you can get the latest information from the + * API. For more information, see Accessing the Health API in the + * Health User Guide.

                                      *
                                    • *
                                    *
                                    - *

                                    For authentication of requests, AWS Health uses the Signature Version 4 Signing + *

                                    For authentication of requests, Health uses the Signature Version 4 Signing * Process.

                                    - *

                                    If your AWS account is part of AWS Organizations, you can use the AWS Health organizational - * view feature. This feature provides a centralized view of AWS Health events across all - * accounts in your organization. You can aggregate AWS Health events in real time to + *

                                    If your Amazon Web Services account is part of Organizations, you can use the Health organizational + * view feature. This feature provides a centralized view of Health events across all + * accounts in your organization. You can aggregate Health events in real time to * identify accounts in your organization that are affected by an operational event or get * notified of security vulnerabilities. Use the organizational view API operations to enable * this feature and return event information. For more information, see Aggregating - * AWS Health events in the AWS Health User Guide.

                                    + * Health events in the Health User Guide.

                                    * - *

                                    When you use the AWS Health API operations to return AWS Health events, see the + *

                                    When you use the Health API operations to return Health events, see the * following recommendations:

                                    *
                                      *
                                    • - *

                                      Use the eventScopeCode parameter to specify whether to return AWS Health + *

                                      Use the eventScopeCode parameter to specify whether to return Health * events that are public or account-specific.

                                      *
                                    • *
                                    • diff --git a/clients/client-health/src/commands/DescribeAffectedAccountsForOrganizationCommand.ts b/clients/client-health/src/commands/DescribeAffectedAccountsForOrganizationCommand.ts index e7403250a90ba..5dd9be84fa5bf 100644 --- a/clients/client-health/src/commands/DescribeAffectedAccountsForOrganizationCommand.ts +++ b/clients/client-health/src/commands/DescribeAffectedAccountsForOrganizationCommand.ts @@ -28,11 +28,11 @@ export interface DescribeAffectedAccountsForOrganizationCommandOutput __MetadataBearer {} /** - *

                                      Returns a list of accounts in the organization from AWS Organizations that are affected by the - * provided event. For more information about the different types of AWS Health events, see + *

                                      Returns a list of accounts in the organization from Organizations that are affected by the + * provided event. For more information about the different types of Health events, see * Event.

                                      - *

                                      Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's + *

                                      Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

                                      * *

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                      diff --git a/clients/client-health/src/commands/DescribeAffectedEntitiesCommand.ts b/clients/client-health/src/commands/DescribeAffectedEntitiesCommand.ts index 1999ff7b61f9d..14b089a0e403e 100644 --- a/clients/client-health/src/commands/DescribeAffectedEntitiesCommand.ts +++ b/clients/client-health/src/commands/DescribeAffectedEntitiesCommand.ts @@ -24,11 +24,10 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE /** *

                                      Returns a list of entities that have been affected by the specified events, based on the * specified filter criteria. Entities can refer to individual customer resources, groups of - * customer resources, or any other construct, depending on the AWS service. Events that + * customer resources, or any other construct, depending on the Amazon Web Services service. Events that * have impact beyond that of the affected entities, or where the extent of impact is unknown, * include at least one entity indicating this.

                                      - *

                                      At least one event ARN is required. Results are sorted by the - * lastUpdatedTime of the entity, starting with the most recent.

                                      + *

                                      At least one event ARN is required.

                                      * * *
                                        @@ -36,8 +35,8 @@ export interface DescribeAffectedEntitiesCommandOutput extends DescribeAffectedE *

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        * *
                                      • - *

                                        This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                        + *

                                        This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                        *
                                      • *
                                      *
                                      diff --git a/clients/client-health/src/commands/DescribeAffectedEntitiesForOrganizationCommand.ts b/clients/client-health/src/commands/DescribeAffectedEntitiesForOrganizationCommand.ts index 46ca393118044..df38e2964fe37 100644 --- a/clients/client-health/src/commands/DescribeAffectedEntitiesForOrganizationCommand.ts +++ b/clients/client-health/src/commands/DescribeAffectedEntitiesForOrganizationCommand.ts @@ -29,14 +29,12 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput /** *

                                      Returns a list of entities that have been affected by one or more events for one or more - * accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer + * accounts in your organization in Organizations, based on the filter criteria. Entities can refer * to individual customer resources, groups of customer resources, or any other construct, - * depending on the AWS service.

                                      - *

                                      At least one event Amazon Resource Name (ARN) and account ID are required. Results are - * sorted by the lastUpdatedTime of the entity, starting with the most - * recent.

                                      - *

                                      Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization + * depending on the Amazon Web Services service.

                                      + *

                                      At least one event Amazon Resource Name (ARN) and account ID are required.

                                      + *

                                      Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization * operation from your organization's management account.

                                      * *
                                        @@ -44,8 +42,8 @@ export interface DescribeAffectedEntitiesForOrganizationCommandOutput *

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        * *
                                      • - *

                                        This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                        + *

                                        This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                        *
                                      • *
                                      * diff --git a/clients/client-health/src/commands/DescribeEntityAggregatesCommand.ts b/clients/client-health/src/commands/DescribeEntityAggregatesCommand.ts index ea400d28e8c4e..8977c99f2caef 100644 --- a/clients/client-health/src/commands/DescribeEntityAggregatesCommand.ts +++ b/clients/client-health/src/commands/DescribeEntityAggregatesCommand.ts @@ -22,8 +22,7 @@ export interface DescribeEntityAggregatesCommandInput extends DescribeEntityAggr export interface DescribeEntityAggregatesCommandOutput extends DescribeEntityAggregatesResponse, __MetadataBearer {} /** - *

                                      Returns the number of entities that are affected by each of the specified events. If no - * events are specified, the counts of all affected entities are returned.

                                      + *

                                      Returns the number of entities that are affected by each of the specified events.

                                      * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-health/src/commands/DescribeEventDetailsCommand.ts b/clients/client-health/src/commands/DescribeEventDetailsCommand.ts index 056bd1a1cb3b1..29d786bb02fae 100644 --- a/clients/client-health/src/commands/DescribeEventDetailsCommand.ts +++ b/clients/client-health/src/commands/DescribeEventDetailsCommand.ts @@ -23,14 +23,14 @@ export interface DescribeEventDetailsCommandOutput extends DescribeEventDetailsR /** *

                                      Returns detailed information about one or more specified events. Information includes - * standard event data (AWS Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata + * standard event data (Amazon Web Services Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata * that depends upon the nature of the event. Affected entities are not included. To retrieve * the entities, use the DescribeAffectedEntities operation.

                                      *

                                      If a specified event can't be retrieved, an error message is returned for that * event.

                                      * - *

                                      This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                      + *

                                      This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-health/src/commands/DescribeEventDetailsForOrganizationCommand.ts b/clients/client-health/src/commands/DescribeEventDetailsForOrganizationCommand.ts index f9e72c35393f8..a74994f9a3571 100644 --- a/clients/client-health/src/commands/DescribeEventDetailsForOrganizationCommand.ts +++ b/clients/client-health/src/commands/DescribeEventDetailsForOrganizationCommand.ts @@ -27,38 +27,38 @@ export interface DescribeEventDetailsForOrganizationCommandOutput __MetadataBearer {} /** - *

                                      Returns detailed information about one or more specified events for one or more AWS - * accounts in your organization. This information includes standard event data (such as the - * AWS Region and service), an event description, and (depending on the event) possible + *

                                      Returns detailed information about one or more specified events for one or more + * Amazon Web Services accounts in your organization. This information includes standard event data (such as the + * Amazon Web Services Region and service), an event description, and (depending on the event) possible * metadata. This operation doesn't return affected entities, such as the resources related to * the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.

                                      * - *

                                      Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's + *

                                      Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

                                      *
                                      *

                                      When you call the DescribeEventDetailsForOrganization operation, specify * the organizationEventDetailFilters object in the request. Depending on the - * AWS Health event type, note the following differences:

                                      + * Health event type, note the following differences:

                                      *
                                        *
                                      • *

                                        To return event details for a public event, you must specify a null value for the * awsAccountId parameter. If you specify an account ID for a public - * event, AWS Health returns an error message because public events aren't specific to + * event, Health returns an error message because public events aren't specific to * an account.

                                        *
                                      • *
                                      • *

                                        To return event details for an event that is specific to an account in your * organization, you must specify the awsAccountId parameter in the - * request. If you don't specify an account ID, AWS Health returns an error message + * request. If you don't specify an account ID, Health returns an error message * because the event is specific to an account in your organization.

                                        *
                                      • *
                                      *

                                      For more information, see Event.

                                      * * - *

                                      This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more - * information, see Resource- and action-based conditions in the AWS Health User Guide.

                                      + *

                                      This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more + * information, see Resource- and action-based conditions in the Health User Guide.

                                      *
                                      * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-health/src/commands/DescribeEventTypesCommand.ts b/clients/client-health/src/commands/DescribeEventTypesCommand.ts index 65f66682eebc6..79d593d5d10d4 100644 --- a/clients/client-health/src/commands/DescribeEventTypesCommand.ts +++ b/clients/client-health/src/commands/DescribeEventTypesCommand.ts @@ -23,7 +23,7 @@ export interface DescribeEventTypesCommandOutput extends DescribeEventTypesRespo /** *

                                      Returns the event types that meet the specified filter criteria. You can use this API - * operation to find information about the AWS Health event, such as the category, AWS + * operation to find information about the Health event, such as the category, Amazon Web Services * service, and event code. The metadata for each event appears in the EventType object.

                                      *

                                      If you don't specify a filter criteria, the API operation returns all event types, in no * particular order.

                                      diff --git a/clients/client-health/src/commands/DescribeEventsCommand.ts b/clients/client-health/src/commands/DescribeEventsCommand.ts index 2bdf2cd8bd2b2..fd205be50fea3 100644 --- a/clients/client-health/src/commands/DescribeEventsCommand.ts +++ b/clients/client-health/src/commands/DescribeEventsCommand.ts @@ -32,10 +32,10 @@ export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __M *
                                        *
                                      • *

                                        When you call the DescribeEvents operation and specify an entity - * for the entityValues parameter, AWS Health might return public + * for the entityValues parameter, Health might return public * events that aren't specific to that resource. For example, if you call * DescribeEvents and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) - * instance, AWS Health might return events that aren't specific to that resource or + * instance, Health might return events that aren't specific to that resource or * service. To get events that are specific to a service, use the * services parameter in the filter object. For more * information, see Event.

                                        diff --git a/clients/client-health/src/commands/DescribeEventsForOrganizationCommand.ts b/clients/client-health/src/commands/DescribeEventsForOrganizationCommand.ts index 94ebeb593bb34..e837e20db10be 100644 --- a/clients/client-health/src/commands/DescribeEventsForOrganizationCommand.ts +++ b/clients/client-health/src/commands/DescribeEventsForOrganizationCommand.ts @@ -24,7 +24,7 @@ export interface DescribeEventsForOrganizationCommandOutput __MetadataBearer {} /** - *

                                        Returns information about events across your organization in AWS Organizations. You can use + *

                                        Returns information about events across your organization in Organizations. You can use * thefilters parameter to specify the events that you want to return. Events * are returned in a summary form and don't include the affected accounts, detailed * description, any additional metadata that depends on the event type, or any affected @@ -49,9 +49,9 @@ export interface DescribeEventsForOrganizationCommandOutput *

                                        If you don't specify a filter, the * DescribeEventsForOrganizations returns all events across your organization. * Results are sorted by lastModifiedTime, starting with the most recent event.

                                        - *

                                        For more information about the different types of AWS Health events, see Event.

                                        - *

                                        Before you can call this operation, you must first enable AWS Health to work with - * AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's + *

                                        For more information about the different types of Health events, see Event.

                                        + *

                                        Before you can call this operation, you must first enable Health to work with + * Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's * management account.

                                        * *

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        diff --git a/clients/client-health/src/commands/DescribeHealthServiceStatusForOrganizationCommand.ts b/clients/client-health/src/commands/DescribeHealthServiceStatusForOrganizationCommand.ts index b808b89cdda8f..ffed2374fe2dd 100644 --- a/clients/client-health/src/commands/DescribeHealthServiceStatusForOrganizationCommand.ts +++ b/clients/client-health/src/commands/DescribeHealthServiceStatusForOrganizationCommand.ts @@ -24,7 +24,7 @@ export interface DescribeHealthServiceStatusForOrganizationCommandOutput __MetadataBearer {} /** - *

                                        This operation provides status information on enabling or disabling AWS Health to work + *

                                        This operation provides status information on enabling or disabling Health to work * with your organization. To call this operation, you must sign in as an IAM user, assume * an IAM role, or sign in as the root user (not recommended) in the organization's * management account.

                                        diff --git a/clients/client-health/src/commands/DisableHealthServiceAccessForOrganizationCommand.ts b/clients/client-health/src/commands/DisableHealthServiceAccessForOrganizationCommand.ts index d7a934cac727b..f8e03c44819b7 100644 --- a/clients/client-health/src/commands/DisableHealthServiceAccessForOrganizationCommand.ts +++ b/clients/client-health/src/commands/DisableHealthServiceAccessForOrganizationCommand.ts @@ -21,20 +21,19 @@ export interface DisableHealthServiceAccessForOrganizationCommandInput {} export interface DisableHealthServiceAccessForOrganizationCommandOutput extends __MetadataBearer {} /** - *

                                        Disables AWS Health from working with AWS Organizations. To call this operation, you must sign - * in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not + *

                                        Disables Health from working with Organizations. To call this operation, you must sign + * in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not * recommended) in the organization's management account. For more information, see Aggregating - * AWS Health events in the - * AWS Health User Guide.

                                        - *

                                        This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or AWS Command Line Interface (AWS CLI) to + * Health events in the + * Health User Guide.

                                        + *

                                        This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or Command Line Interface (CLI) to * remove the service-linked role. For more information, see Deleting a Service-Linked Role in the * IAM User Guide.

                                        * *

                                        You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation, - * AWS Health stops aggregating events for all other AWS accounts in your organization. - * If you call the AWS Health API operations for organizational view, AWS Health returns - * an error. AWS Health continues to aggregate health events for your AWS - * account.

                                        + * Health stops aggregating events for all other Amazon Web Services accounts in your organization. + * If you call the Health API operations for organizational view, Health returns + * an error. Health continues to aggregate health events for your Amazon Web Services account.

                                        *
                                        * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-health/src/commands/EnableHealthServiceAccessForOrganizationCommand.ts b/clients/client-health/src/commands/EnableHealthServiceAccessForOrganizationCommand.ts index 4377aa57cb785..645ab2bce93e7 100644 --- a/clients/client-health/src/commands/EnableHealthServiceAccessForOrganizationCommand.ts +++ b/clients/client-health/src/commands/EnableHealthServiceAccessForOrganizationCommand.ts @@ -21,29 +21,29 @@ export interface EnableHealthServiceAccessForOrganizationCommandInput {} export interface EnableHealthServiceAccessForOrganizationCommandOutput extends __MetadataBearer {} /** - *

                                        Enables AWS Health to work with AWS Organizations. You can use the organizational view feature - * to aggregate events from all AWS accounts in your organization in a centralized location.

                                        + *

                                        Enables Health to work with Organizations. You can use the organizational view feature + * to aggregate events from all Amazon Web Services accounts in your organization in a centralized location.

                                        *

                                        This operation also creates a service-linked role for the management account in the * organization.

                                        * *

                                        To call this operation, you must meet the following requirements:

                                        *
                                          *
                                        • - *

                                          You must have a Business or Enterprise Support plan from AWS Support to use the AWS Health - * API. If you call the AWS Health API from an AWS account that doesn't have a + *

                                          You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the Health + * API. If you call the Health API from an Amazon Web Services account that doesn't have a * Business or Enterprise Support plan, you receive a * SubscriptionRequiredException error.

                                          *
                                        • *
                                        • *

                                          You must have permission to call this operation from the organization's - * management account. For example IAM policies, see AWS Health + * management account. For example IAM policies, see Health * identity-based policy examples.

                                          *
                                        • *
                                        *
                                        - *

                                        If you don't have the required support plan, you can instead use the AWS Health console + *

                                        If you don't have the required support plan, you can instead use the Health console * to enable the organizational view feature. For more information, see Aggregating - * AWS Health events in the AWS Health User Guide.

                                        + * Health events in the Health User Guide.

                                        * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-health/src/endpoints.ts b/clients/client-health/src/endpoints.ts index 4e3575a7ea60b..95f090f5238f2 100644 --- a/clients/client-health/src/endpoints.ts +++ b/clients/client-health/src/endpoints.ts @@ -79,6 +79,10 @@ const partitionHash: PartitionHash = { hostname: "health.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "health-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -89,6 +93,10 @@ const partitionHash: PartitionHash = { hostname: "health.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "health-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-health/src/models/models_0.ts b/clients/client-health/src/models/models_0.ts index 3c17345f4b379..21f0ecef20a0e 100644 --- a/clients/client-health/src/models/models_0.ts +++ b/clients/client-health/src/models/models_0.ts @@ -40,7 +40,7 @@ export interface AffectedEntity { entityUrl?: string; /** - *

                                        The 12-digit AWS account number that contains the affected entity.

                                        + *

                                        The 12-digit Amazon Web Services account number that contains the affected entity.

                                        */ awsAccountId?: string; @@ -122,7 +122,7 @@ export interface DescribeAffectedAccountsForOrganizationResponse { affectedAccounts?: string[]; /** - *

                                        This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

                                        + *

                                        This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

                                        *
                                          *
                                        • *

                                          If the eventScopeCode value is PUBLIC, then the @@ -130,9 +130,9 @@ export interface DescribeAffectedAccountsForOrganizationResponse { *

                                        • *
                                        • *

                                          If the eventScopeCode value is ACCOUNT_SPECIFIC, then - * the affectedAccounts value lists the affected AWS accounts in your + * the affectedAccounts value lists the affected Amazon Web Services accounts in your * organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you - * have AWS accounts that use that service, those account IDs appear in the + * have Amazon Web Services accounts that use that service, those account IDs appear in the * response.

                                          *
                                        • *
                                        • @@ -211,7 +211,7 @@ export namespace DateTimeRange { } /** - *

                                          The values to use to filter results from the EntityFilter + *

                                          The values to use to filter results from the DescribeAffectedEntities * operation.

                                          */ export interface EntityFilter { @@ -353,7 +353,7 @@ export interface EventAccountFilter { eventArn: string | undefined; /** - *

                                          The 12-digit AWS account numbers that contains the affected entities.

                                          + *

                                          The 12-digit Amazon Web Services account numbers that contains the affected entities.

                                          */ awsAccountId?: string; } @@ -408,7 +408,7 @@ export namespace DescribeAffectedEntitiesForOrganizationRequest { */ export interface OrganizationAffectedEntitiesErrorItem { /** - *

                                          The 12-digit AWS account numbers that contains the affected entities.

                                          + *

                                          The 12-digit Amazon Web Services account numbers that contains the affected entities.

                                          */ awsAccountId?: string; @@ -577,17 +577,17 @@ export interface EventFilter { eventTypeCodes?: string[]; /** - *

                                          The AWS services associated with the event. For example, EC2, RDS.

                                          + *

                                          The Amazon Web Services services associated with the event. For example, EC2, RDS.

                                          */ services?: string[]; /** - *

                                          A list of AWS Regions.

                                          + *

                                          A list of Amazon Web Services Regions.

                                          */ regions?: string[]; /** - *

                                          A list of AWS Availability Zones.

                                          + *

                                          A list of Amazon Web Services Availability Zones.

                                          */ availabilityZones?: string[]; @@ -618,8 +618,9 @@ export interface EventFilter { entityValues?: string[]; /** - *

                                          A list of event type category codes (issue, scheduledChange, - * or accountNotification).

                                          + *

                                          A list of event type category codes. Possible values are + * issue, accountNotification, or scheduledChange. Currently, + * the investigation value isn't supported at this time.

                                          */ eventTypeCategories?: (EventTypeCategory | string)[]; @@ -787,21 +788,20 @@ export namespace EventDetailsErrorItem { } /** - *

                                          Summary information about an AWS Health event.

                                          - *

                                          AWS Health events can be public or account-specific:

                                          + *

                                          Summary information about an Health event.

                                          + *

                                          Health events can be public or account-specific:

                                          *
                                            *
                                          • *

                                            * Public events might be service events that are not specific - * to an AWS account. For example, if there is an issue with an AWS Region, - * AWS Health provides information about the event, even if you don't use services or + * to an Amazon Web Services account. For example, if there is an issue with an Amazon Web Services Region, + * Health provides information about the event, even if you don't use services or * resources in that Region.

                                            *
                                          • *
                                          • *

                                            - * Account-specific events are specific to either your AWS - * account or an account in your organization. For example, if there's an issue with - * Amazon Elastic Compute Cloud in a Region that you use, AWS Health provides information about the event + * Account-specific events are specific to either your Amazon Web Services account or an account in your organization. For example, if there's an issue with + * Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the event * and the affected resources in the account.

                                            *
                                          • *
                                          @@ -822,7 +822,7 @@ export interface Event { arn?: string; /** - *

                                          The AWS service that is affected by the event. For example, EC2, RDS.

                                          + *

                                          The Amazon Web Services service that is affected by the event. For example, EC2, RDS.

                                          */ service?: string; @@ -833,18 +833,19 @@ export interface Event { eventTypeCode?: string; /** - *

                                          The category of the event. Possible values are issue, - * scheduledChange, and accountNotification.

                                          + *

                                          A list of event type category codes. Possible values are + * issue, accountNotification, or scheduledChange. Currently, + * the investigation value isn't supported at this time.

                                          */ eventTypeCategory?: EventTypeCategory | string; /** - *

                                          The AWS Region name of the event.

                                          + *

                                          The Amazon Web Services Region name of the event.

                                          */ region?: string; /** - *

                                          The AWS Availability Zone of the event. For example, us-east-1a.

                                          + *

                                          The Amazon Web Services Availability Zone of the event. For example, us-east-1a.

                                          */ availabilityZone?: string; @@ -870,7 +871,7 @@ export interface Event { statusCode?: EventStatusCode | string; /** - *

                                          This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

                                          + *

                                          This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

                                          *
                                            *
                                          • *

                                            If the eventScopeCode value is PUBLIC, then the @@ -878,9 +879,9 @@ export interface Event { *

                                          • *
                                          • *

                                            If the eventScopeCode value is ACCOUNT_SPECIFIC, then - * the affectedAccounts value lists the affected AWS accounts in your + * the affectedAccounts value lists the affected Amazon Web Services accounts in your * organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you - * have AWS accounts that use that service, those account IDs appear in the + * have Amazon Web Services accounts that use that service, those account IDs appear in the * response.

                                            *
                                          • *
                                          • @@ -1025,17 +1026,16 @@ export interface OrganizationEventDetailsErrorItem { /** *

                                            A message that describes the error.

                                            - *

                                            If you call the DescribeEventDetailsForOrganization - * operation and receive one of the following errors, follow the recommendations in the message:

                                            + *

                                            If you call the DescribeEventDetailsForOrganization operation and receive one of the following errors, follow the recommendations in the message:

                                            *
                                              *
                                            • - *

                                              We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an AWS account ID in the request.

                                              + *

                                              We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.

                                              *
                                            • *
                                            • - *

                                              We couldn't find an account specific event for the specified AWS account. To find an event that is public, you must enter a null value for the AWS account ID in the request.

                                              + *

                                              We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.

                                              *
                                            • *
                                            • - *

                                              Your AWS account doesn't include the AWS Support plan required to use the AWS Health API. You must have either a Business or Enterprise Support plan.

                                              + *

                                              Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business or Enterprise Support plan.

                                              *
                                            • *
                                            */ @@ -1057,26 +1057,25 @@ export namespace OrganizationEventDetailsErrorItem { */ export interface OrganizationEventDetails { /** - *

                                            The 12-digit AWS account numbers that contains the affected entities.

                                            + *

                                            The 12-digit Amazon Web Services account numbers that contains the affected entities.

                                            */ awsAccountId?: string; /** - *

                                            Summary information about an AWS Health event.

                                            - *

                                            AWS Health events can be public or account-specific:

                                            + *

                                            Summary information about an Health event.

                                            + *

                                            Health events can be public or account-specific:

                                            *
                                              *
                                            • *

                                              * Public events might be service events that are not specific - * to an AWS account. For example, if there is an issue with an AWS Region, - * AWS Health provides information about the event, even if you don't use services or + * to an Amazon Web Services account. For example, if there is an issue with an Amazon Web Services Region, + * Health provides information about the event, even if you don't use services or * resources in that Region.

                                              *
                                            • *
                                            • *

                                              - * Account-specific events are specific to either your AWS - * account or an account in your organization. For example, if there's an issue with - * Amazon Elastic Compute Cloud in a Region that you use, AWS Health provides information about the event + * Account-specific events are specific to either your Amazon Web Services account or an account in your organization. For example, if there's an issue with + * Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the event * and the affected resources in the account.

                                              *
                                            • *
                                            @@ -1196,17 +1195,17 @@ export interface OrganizationEventFilter { eventTypeCodes?: string[]; /** - *

                                            A list of 12-digit AWS account numbers that contains the affected entities.

                                            + *

                                            A list of 12-digit Amazon Web Services account numbers that contains the affected entities.

                                            */ awsAccountIds?: string[]; /** - *

                                            The AWS services associated with the event. For example, EC2, RDS.

                                            + *

                                            The Amazon Web Services services associated with the event. For example, EC2, RDS.

                                            */ services?: string[]; /** - *

                                            A list of AWS Regions.

                                            + *

                                            A list of Amazon Web Services Regions.

                                            */ regions?: string[]; @@ -1254,7 +1253,9 @@ export interface OrganizationEventFilter { entityValues?: string[]; /** - *

                                            A list of event type category codes (issue, scheduledChange, or accountNotification).

                                            + *

                                            A list of event type category codes. Possible values are + * issue, accountNotification, or scheduledChange. Currently, + * the investigation value isn't supported at this time.

                                            */ eventTypeCategories?: (EventTypeCategory | string)[]; @@ -1324,7 +1325,7 @@ export interface OrganizationEvent { arn?: string; /** - *

                                            The AWS service that is affected by the event, such as EC2 and RDS.

                                            + *

                                            The Amazon Web Services service that is affected by the event, such as EC2 and RDS.

                                            */ service?: string; @@ -1336,12 +1337,14 @@ export interface OrganizationEvent { eventTypeCode?: string; /** - *

                                            The category of the event type.

                                            + *

                                            A list of event type category codes. Possible values are + * issue, accountNotification, or scheduledChange. Currently, + * the investigation value isn't supported at this time.

                                            */ eventTypeCategory?: EventTypeCategory | string; /** - *

                                            This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

                                            + *

                                            This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

                                            *
                                              *
                                            • *

                                              If the eventScopeCode value is PUBLIC, then the @@ -1349,9 +1352,9 @@ export interface OrganizationEvent { *

                                            • *
                                            • *

                                              If the eventScopeCode value is ACCOUNT_SPECIFIC, then - * the affectedAccounts value lists the affected AWS accounts in your + * the affectedAccounts value lists the affected Amazon Web Services accounts in your * organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you - * have AWS accounts that use that service, those account IDs appear in the + * have Amazon Web Services accounts that use that service, those account IDs appear in the * response.

                                              *
                                            • *
                                            • @@ -1364,7 +1367,7 @@ export interface OrganizationEvent { eventScopeCode?: EventScopeCode | string; /** - *

                                              The AWS Region name of the event.

                                              + *

                                              The Amazon Web Services Region name of the event.

                                              */ region?: string; @@ -1434,13 +1437,14 @@ export interface EventTypeFilter { eventTypeCodes?: string[]; /** - *

                                              The AWS services associated with the event. For example, EC2, RDS.

                                              + *

                                              The Amazon Web Services services associated with the event. For example, EC2, RDS.

                                              */ services?: string[]; /** - *

                                              A list of event type category codes (issue, scheduledChange, - * or accountNotification).

                                              + *

                                              A list of event type category codes. Possible values are + * issue, accountNotification, or scheduledChange. Currently, + * the investigation value isn't supported at this time.

                                              */ eventTypeCategories?: (EventTypeCategory | string)[]; } @@ -1489,20 +1493,20 @@ export namespace DescribeEventTypesRequest { } /** - *

                                              Contains the metadata about a type of event that is reported by AWS Health. The + *

                                              Contains the metadata about a type of event that is reported by Health. The * EventType shows the category, service, and the event type code of the * event. For example, an issue might be the category, EC2 the * service, and AWS_EC2_SYSTEM_MAINTENANCE_EVENT the event type code.

                                              *

                                              You can use the DescribeEventTypes API operation to return this information * about an event.

                                              *

                                              You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or - * take action when AWS Health delivers a specific event to your AWS account. For more - * information, see Monitor for AWS Health events with Amazon CloudWatch Events in the - * AWS Health User Guide.

                                              + * take action when Health delivers a specific event to your Amazon Web Services account. For more + * information, see Monitor for Health events with Amazon CloudWatch Events in the + * Health User Guide.

                                              */ export interface EventType { /** - *

                                              The AWS service that is affected by the event. For example, EC2, RDS.

                                              + *

                                              The Amazon Web Services service that is affected by the event. For example, EC2, RDS.

                                              */ service?: string; @@ -1513,8 +1517,9 @@ export interface EventType { code?: string; /** - *

                                              A list of event type category codes (issue, scheduledChange, - * or accountNotification).

                                              + *

                                              A list of event type category codes. Possible values are + * issue, accountNotification, or scheduledChange. Currently, + * the investigation value isn't supported at this time.

                                              */ category?: EventTypeCategory | string; } @@ -1560,7 +1565,8 @@ export namespace DescribeEventTypesResponse { export interface DescribeHealthServiceStatusForOrganizationResponse { /** - *

                                              Information about the status of enabling or disabling AWS Health Organizational View in + *

                                              Information about the status of enabling or disabling the Health organizational + * view feature in * your organization.

                                              *

                                              Valid values are ENABLED | DISABLED | PENDING.

                                              */ diff --git a/clients/client-healthlake/src/endpoints.ts b/clients/client-healthlake/src/endpoints.ts index dad75e660a108..c003928e5c60b 100644 --- a/clients/client-healthlake/src/endpoints.ts +++ b/clients/client-healthlake/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "healthlake.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "healthlake-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "healthlake.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "healthlake-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-honeycode/src/endpoints.ts b/clients/client-honeycode/src/endpoints.ts index 579da27b962c7..b0051d23c0379 100644 --- a/clients/client-honeycode/src/endpoints.ts +++ b/clients/client-honeycode/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "honeycode.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "honeycode-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "honeycode.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "honeycode-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iam/src/endpoints.ts b/clients/client-iam/src/endpoints.ts index 53045a9969dc0..707191726d49c 100644 --- a/clients/client-iam/src/endpoints.ts +++ b/clients/client-iam/src/endpoints.ts @@ -138,6 +138,10 @@ const partitionHash: PartitionHash = { hostname: "iam.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "iam-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], endpoint: "aws-iso-global", }, @@ -149,6 +153,10 @@ const partitionHash: PartitionHash = { hostname: "iam.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "iam-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], endpoint: "aws-iso-b-global", }, diff --git a/clients/client-identitystore/src/endpoints.ts b/clients/client-identitystore/src/endpoints.ts index e2bc78234a9c8..41155283ee39a 100644 --- a/clients/client-identitystore/src/endpoints.ts +++ b/clients/client-identitystore/src/endpoints.ts @@ -91,6 +91,10 @@ const partitionHash: PartitionHash = { hostname: "identitystore.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "identitystore-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -101,6 +105,10 @@ const partitionHash: PartitionHash = { hostname: "identitystore.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "identitystore-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { @@ -112,17 +120,9 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "identitystore-fips.{region}.amazonaws.com", + hostname: "identitystore.{region}.amazonaws.com", tags: ["fips"], }, - { - hostname: "identitystore-fips.{region}.api.aws", - tags: ["dualstack", "fips"], - }, - { - hostname: "identitystore.{region}.api.aws", - tags: ["dualstack"], - }, ], }, }; diff --git a/clients/client-imagebuilder/src/endpoints.ts b/clients/client-imagebuilder/src/endpoints.ts index 636c85f61533a..13812b37bebea 100644 --- a/clients/client-imagebuilder/src/endpoints.ts +++ b/clients/client-imagebuilder/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "imagebuilder.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "imagebuilder-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "imagebuilder.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "imagebuilder-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-inspector/src/endpoints.ts b/clients/client-inspector/src/endpoints.ts index 6c68ed5a387a1..fc877061cba21 100644 --- a/clients/client-inspector/src/endpoints.ts +++ b/clients/client-inspector/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "inspector.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "inspector-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "inspector.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "inspector-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-1click-devices-service/src/endpoints.ts b/clients/client-iot-1click-devices-service/src/endpoints.ts index 7128a8c4cc902..c43f8e15936f4 100644 --- a/clients/client-iot-1click-devices-service/src/endpoints.ts +++ b/clients/client-iot-1click-devices-service/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "devices.iot1click.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "devices.iot1click-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "devices.iot1click.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "devices.iot1click-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-1click-projects/src/endpoints.ts b/clients/client-iot-1click-projects/src/endpoints.ts index 5cbfc76540a33..b241b907d32c8 100644 --- a/clients/client-iot-1click-projects/src/endpoints.ts +++ b/clients/client-iot-1click-projects/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "projects.iot1click.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "projects.iot1click-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "projects.iot1click.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "projects.iot1click-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-data-plane/src/endpoints.ts b/clients/client-iot-data-plane/src/endpoints.ts index a28ceee2ad76f..3bec1ba390335 100644 --- a/clients/client-iot-data-plane/src/endpoints.ts +++ b/clients/client-iot-data-plane/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "data.iot.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "data.iot-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "data.iot.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "data.iot-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-events-data/src/endpoints.ts b/clients/client-iot-events-data/src/endpoints.ts index 81387790e0718..91b82e2743a40 100644 --- a/clients/client-iot-events-data/src/endpoints.ts +++ b/clients/client-iot-events-data/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "data.iotevents.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "data.iotevents-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "data.iotevents.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "data.iotevents-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-events/src/endpoints.ts b/clients/client-iot-events/src/endpoints.ts index c267995bf14bf..c4b0d88f25d77 100644 --- a/clients/client-iot-events/src/endpoints.ts +++ b/clients/client-iot-events/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "iotevents.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "iotevents-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "iotevents.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "iotevents-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-jobs-data-plane/src/endpoints.ts b/clients/client-iot-jobs-data-plane/src/endpoints.ts index ab86e651b37cb..0aaaf8ff02ffa 100644 --- a/clients/client-iot-jobs-data-plane/src/endpoints.ts +++ b/clients/client-iot-jobs-data-plane/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "data.jobs.iot.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "data.jobs.iot-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "data.jobs.iot.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "data.jobs.iot-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot-wireless/src/endpoints.ts b/clients/client-iot-wireless/src/endpoints.ts index 74eeb3daae7b0..1431d39917c90 100644 --- a/clients/client-iot-wireless/src/endpoints.ts +++ b/clients/client-iot-wireless/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "api.iotwireless.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.iotwireless-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "api.iotwireless.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.iotwireless-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iot/src/endpoints.ts b/clients/client-iot/src/endpoints.ts index 90de63a43b872..45f91e433e8bf 100644 --- a/clients/client-iot/src/endpoints.ts +++ b/clients/client-iot/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "iot.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "iot-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "iot.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "iot-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iotanalytics/src/endpoints.ts b/clients/client-iotanalytics/src/endpoints.ts index 3d28c26d27617..9681a7b6f6a0a 100644 --- a/clients/client-iotanalytics/src/endpoints.ts +++ b/clients/client-iotanalytics/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "iotanalytics.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "iotanalytics-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "iotanalytics.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "iotanalytics-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iotdeviceadvisor/src/endpoints.ts b/clients/client-iotdeviceadvisor/src/endpoints.ts index 0a4401f2dd153..c963d4f3a228f 100644 --- a/clients/client-iotdeviceadvisor/src/endpoints.ts +++ b/clients/client-iotdeviceadvisor/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "api.iotdeviceadvisor.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.iotdeviceadvisor-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "api.iotdeviceadvisor.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.iotdeviceadvisor-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iotfleethub/src/endpoints.ts b/clients/client-iotfleethub/src/endpoints.ts index 9e4b67b2ca475..a0d060bc2582c 100644 --- a/clients/client-iotfleethub/src/endpoints.ts +++ b/clients/client-iotfleethub/src/endpoints.ts @@ -131,6 +131,10 @@ const partitionHash: PartitionHash = { hostname: "api.fleethub.iot.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.fleethub.iot-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -141,6 +145,10 @@ const partitionHash: PartitionHash = { hostname: "api.fleethub.iot.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.fleethub.iot-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iotsecuretunneling/src/endpoints.ts b/clients/client-iotsecuretunneling/src/endpoints.ts index f2458c8902d95..6582e48769efd 100644 --- a/clients/client-iotsecuretunneling/src/endpoints.ts +++ b/clients/client-iotsecuretunneling/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "api.tunneling.iot.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.tunneling.iot-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "api.tunneling.iot.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.tunneling.iot-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iotsitewise/src/endpoints.ts b/clients/client-iotsitewise/src/endpoints.ts index 55b26bdcfae0a..83805c43a02ee 100644 --- a/clients/client-iotsitewise/src/endpoints.ts +++ b/clients/client-iotsitewise/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "iotsitewise.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "iotsitewise-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "iotsitewise.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "iotsitewise-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-iotthingsgraph/src/endpoints.ts b/clients/client-iotthingsgraph/src/endpoints.ts index 11ade2051dddf..8d1544b476628 100644 --- a/clients/client-iotthingsgraph/src/endpoints.ts +++ b/clients/client-iotthingsgraph/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "iotthingsgraph.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "iotthingsgraph-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "iotthingsgraph.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "iotthingsgraph-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ivs/src/endpoints.ts b/clients/client-ivs/src/endpoints.ts index 0fba43a953a70..2c0a0fb30a92b 100644 --- a/clients/client-ivs/src/endpoints.ts +++ b/clients/client-ivs/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "ivs.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ivs-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "ivs.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ivs-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kafka/src/endpoints.ts b/clients/client-kafka/src/endpoints.ts index e7348b8f4c2bd..1ea1a1b11172e 100644 --- a/clients/client-kafka/src/endpoints.ts +++ b/clients/client-kafka/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kafka.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kafka-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kafka.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kafka-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kafkaconnect/src/endpoints.ts b/clients/client-kafkaconnect/src/endpoints.ts index af539da2cd23c..e9b163f8fd405 100644 --- a/clients/client-kafkaconnect/src/endpoints.ts +++ b/clients/client-kafkaconnect/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kafkaconnect.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kafkaconnect-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kafkaconnect.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kafkaconnect-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kendra/src/endpoints.ts b/clients/client-kendra/src/endpoints.ts index b192ed9810dd1..167912b7427f8 100644 --- a/clients/client-kendra/src/endpoints.ts +++ b/clients/client-kendra/src/endpoints.ts @@ -130,6 +130,10 @@ const partitionHash: PartitionHash = { hostname: "kendra.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kendra-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -140,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "kendra.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kendra-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis-analytics-v2/src/endpoints.ts b/clients/client-kinesis-analytics-v2/src/endpoints.ts index bdc7effa735e4..194eb4afc0e9e 100644 --- a/clients/client-kinesis-analytics-v2/src/endpoints.ts +++ b/clients/client-kinesis-analytics-v2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisanalytics.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesisanalytics-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisanalytics.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesisanalytics-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis-analytics/src/endpoints.ts b/clients/client-kinesis-analytics/src/endpoints.ts index bdc7effa735e4..194eb4afc0e9e 100644 --- a/clients/client-kinesis-analytics/src/endpoints.ts +++ b/clients/client-kinesis-analytics/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisanalytics.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesisanalytics-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisanalytics.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesisanalytics-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis-video-archived-media/src/endpoints.ts b/clients/client-kinesis-video-archived-media/src/endpoints.ts index ce5db6d7c85a3..aa111986270e0 100644 --- a/clients/client-kinesis-video-archived-media/src/endpoints.ts +++ b/clients/client-kinesis-video-archived-media/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis-video-media/src/endpoints.ts b/clients/client-kinesis-video-media/src/endpoints.ts index ce5db6d7c85a3..aa111986270e0 100644 --- a/clients/client-kinesis-video-media/src/endpoints.ts +++ b/clients/client-kinesis-video-media/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis-video-signaling/src/endpoints.ts b/clients/client-kinesis-video-signaling/src/endpoints.ts index ce5db6d7c85a3..aa111986270e0 100644 --- a/clients/client-kinesis-video-signaling/src/endpoints.ts +++ b/clients/client-kinesis-video-signaling/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis-video/src/endpoints.ts b/clients/client-kinesis-video/src/endpoints.ts index ce5db6d7c85a3..aa111986270e0 100644 --- a/clients/client-kinesis-video/src/endpoints.ts +++ b/clients/client-kinesis-video/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesisvideo-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kinesis/src/endpoints.ts b/clients/client-kinesis/src/endpoints.ts index df218bfd5ac21..548ded452911c 100644 --- a/clients/client-kinesis/src/endpoints.ts +++ b/clients/client-kinesis/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "kinesis.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kinesis-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "kinesis.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kinesis-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-kms/src/endpoints.ts b/clients/client-kms/src/endpoints.ts index 7e57372b8b6c7..7e22383a29d85 100644 --- a/clients/client-kms/src/endpoints.ts +++ b/clients/client-kms/src/endpoints.ts @@ -412,6 +412,10 @@ const partitionHash: PartitionHash = { hostname: "kms.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "kms-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -422,6 +426,10 @@ const partitionHash: PartitionHash = { hostname: "kms.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "kms-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lakeformation/src/endpoints.ts b/clients/client-lakeformation/src/endpoints.ts index e13b25c2f9b93..00ab2c333b3c4 100644 --- a/clients/client-lakeformation/src/endpoints.ts +++ b/clients/client-lakeformation/src/endpoints.ts @@ -143,6 +143,10 @@ const partitionHash: PartitionHash = { hostname: "lakeformation.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "lakeformation-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -153,6 +157,10 @@ const partitionHash: PartitionHash = { hostname: "lakeformation.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "lakeformation-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lambda/src/endpoints.ts b/clients/client-lambda/src/endpoints.ts index 1e6f0cb0cf80b..42dd22cf2481f 100644 --- a/clients/client-lambda/src/endpoints.ts +++ b/clients/client-lambda/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "lambda.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "lambda-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "lambda.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "lambda-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lex-model-building-service/src/endpoints.ts b/clients/client-lex-model-building-service/src/endpoints.ts index 0f00ca5388027..4690435c86e0c 100644 --- a/clients/client-lex-model-building-service/src/endpoints.ts +++ b/clients/client-lex-model-building-service/src/endpoints.ts @@ -109,6 +109,10 @@ const partitionHash: PartitionHash = { hostname: "models.lex.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "models.lex-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -119,6 +123,10 @@ const partitionHash: PartitionHash = { hostname: "models.lex.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "models.lex-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lex-models-v2/src/endpoints.ts b/clients/client-lex-models-v2/src/endpoints.ts index 9e52d581e2226..eff719b01fa28 100644 --- a/clients/client-lex-models-v2/src/endpoints.ts +++ b/clients/client-lex-models-v2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "models-v2-lex.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "models-v2-lex-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "models-v2-lex.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "models-v2-lex-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lex-runtime-service/src/endpoints.ts b/clients/client-lex-runtime-service/src/endpoints.ts index eb739e7e10188..f5b3efe44cebc 100644 --- a/clients/client-lex-runtime-service/src/endpoints.ts +++ b/clients/client-lex-runtime-service/src/endpoints.ts @@ -109,6 +109,10 @@ const partitionHash: PartitionHash = { hostname: "runtime.lex.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "runtime.lex-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -119,6 +123,10 @@ const partitionHash: PartitionHash = { hostname: "runtime.lex.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "runtime.lex-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lex-runtime-v2/src/endpoints.ts b/clients/client-lex-runtime-v2/src/endpoints.ts index 56cdbf2262f94..f04a3716d3f07 100644 --- a/clients/client-lex-runtime-v2/src/endpoints.ts +++ b/clients/client-lex-runtime-v2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "runtime-v2-lex.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "runtime-v2-lex-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "runtime-v2-lex.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "runtime-v2-lex-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-license-manager/src/endpoints.ts b/clients/client-license-manager/src/endpoints.ts index f47b97fa50330..1b87148e3f9bc 100644 --- a/clients/client-license-manager/src/endpoints.ts +++ b/clients/client-license-manager/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "license-manager.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "license-manager-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "license-manager.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "license-manager-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lightsail/src/endpoints.ts b/clients/client-lightsail/src/endpoints.ts index d2bf8c9ff44fb..6164d259f49dd 100644 --- a/clients/client-lightsail/src/endpoints.ts +++ b/clients/client-lightsail/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "lightsail.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "lightsail-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "lightsail.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "lightsail-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-location/src/endpoints.ts b/clients/client-location/src/endpoints.ts index 70d0fd59558eb..2b6d402743f9b 100644 --- a/clients/client-location/src/endpoints.ts +++ b/clients/client-location/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "geo.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "geo-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "geo.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "geo-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lookoutequipment/src/endpoints.ts b/clients/client-lookoutequipment/src/endpoints.ts index b255b1e344706..30c21a2211565 100644 --- a/clients/client-lookoutequipment/src/endpoints.ts +++ b/clients/client-lookoutequipment/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "lookoutequipment.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "lookoutequipment-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "lookoutequipment.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "lookoutequipment-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lookoutmetrics/src/endpoints.ts b/clients/client-lookoutmetrics/src/endpoints.ts index 35f5470338558..35c0d80444014 100644 --- a/clients/client-lookoutmetrics/src/endpoints.ts +++ b/clients/client-lookoutmetrics/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "lookoutmetrics.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "lookoutmetrics-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "lookoutmetrics.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "lookoutmetrics-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-lookoutvision/src/endpoints.ts b/clients/client-lookoutvision/src/endpoints.ts index b79b7912ac2e1..1c7f3b777955a 100644 --- a/clients/client-lookoutvision/src/endpoints.ts +++ b/clients/client-lookoutvision/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "lookoutvision.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "lookoutvision-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "lookoutvision.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "lookoutvision-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-machine-learning/src/endpoints.ts b/clients/client-machine-learning/src/endpoints.ts index 2ea0b4880d51a..96e48d3dd5f61 100644 --- a/clients/client-machine-learning/src/endpoints.ts +++ b/clients/client-machine-learning/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "machinelearning.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "machinelearning-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "machinelearning.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "machinelearning-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-macie/src/endpoints.ts b/clients/client-macie/src/endpoints.ts index 274f5e6c5f527..0301e3ed8d4fe 100644 --- a/clients/client-macie/src/endpoints.ts +++ b/clients/client-macie/src/endpoints.ts @@ -105,6 +105,10 @@ const partitionHash: PartitionHash = { hostname: "macie.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "macie-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -115,6 +119,10 @@ const partitionHash: PartitionHash = { hostname: "macie.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "macie-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-macie2/src/endpoints.ts b/clients/client-macie2/src/endpoints.ts index 9a0e1a82a8533..0bb89ef8ab7cb 100644 --- a/clients/client-macie2/src/endpoints.ts +++ b/clients/client-macie2/src/endpoints.ts @@ -131,6 +131,10 @@ const partitionHash: PartitionHash = { hostname: "macie2.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "macie2-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -141,6 +145,10 @@ const partitionHash: PartitionHash = { hostname: "macie2.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "macie2-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-managedblockchain/src/endpoints.ts b/clients/client-managedblockchain/src/endpoints.ts index 3da0b16964ee5..b9701d37450ef 100644 --- a/clients/client-managedblockchain/src/endpoints.ts +++ b/clients/client-managedblockchain/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "managedblockchain.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "managedblockchain-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "managedblockchain.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "managedblockchain-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-marketplace-catalog/src/endpoints.ts b/clients/client-marketplace-catalog/src/endpoints.ts index 180b35ce44277..3faaeb4935477 100644 --- a/clients/client-marketplace-catalog/src/endpoints.ts +++ b/clients/client-marketplace-catalog/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "catalog.marketplace.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "catalog.marketplace-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "catalog.marketplace.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "catalog.marketplace-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-marketplace-commerce-analytics/src/endpoints.ts b/clients/client-marketplace-commerce-analytics/src/endpoints.ts index 0dd58b5632a48..da08fd0d1d0d6 100644 --- a/clients/client-marketplace-commerce-analytics/src/endpoints.ts +++ b/clients/client-marketplace-commerce-analytics/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "marketplacecommerceanalytics.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "marketplacecommerceanalytics-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "marketplacecommerceanalytics.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "marketplacecommerceanalytics-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-marketplace-entitlement-service/src/endpoints.ts b/clients/client-marketplace-entitlement-service/src/endpoints.ts index 2b11ca66eb0f0..705bd801b5414 100644 --- a/clients/client-marketplace-entitlement-service/src/endpoints.ts +++ b/clients/client-marketplace-entitlement-service/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "entitlement.marketplace.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "entitlement.marketplace-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "entitlement.marketplace.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "entitlement.marketplace-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-marketplace-metering/src/endpoints.ts b/clients/client-marketplace-metering/src/endpoints.ts index d59a9b3f535ec..dc1a298d4f820 100644 --- a/clients/client-marketplace-metering/src/endpoints.ts +++ b/clients/client-marketplace-metering/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "metering.marketplace.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "metering.marketplace-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "metering.marketplace.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "metering.marketplace-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediaconnect/src/endpoints.ts b/clients/client-mediaconnect/src/endpoints.ts index 2fd7ffd33dc8d..d2ca10e659d0c 100644 --- a/clients/client-mediaconnect/src/endpoints.ts +++ b/clients/client-mediaconnect/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mediaconnect.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mediaconnect-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mediaconnect.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mediaconnect-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediaconvert/src/endpoints.ts b/clients/client-mediaconvert/src/endpoints.ts index 33ec5d0bb4c2a..73fec5b5f65cc 100644 --- a/clients/client-mediaconvert/src/endpoints.ts +++ b/clients/client-mediaconvert/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "mediaconvert.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mediaconvert-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "mediaconvert.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mediaconvert-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-medialive/src/endpoints.ts b/clients/client-medialive/src/endpoints.ts index f20a330f20ffb..acd73c56d5fe1 100644 --- a/clients/client-medialive/src/endpoints.ts +++ b/clients/client-medialive/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "medialive.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "medialive-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "medialive.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "medialive-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediapackage-vod/src/endpoints.ts b/clients/client-mediapackage-vod/src/endpoints.ts index 7c568583e1042..01027275a4fa5 100644 --- a/clients/client-mediapackage-vod/src/endpoints.ts +++ b/clients/client-mediapackage-vod/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mediapackage-vod.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mediapackage-vod-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mediapackage-vod.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mediapackage-vod-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediapackage/src/endpoints.ts b/clients/client-mediapackage/src/endpoints.ts index 4f4f50d90ba3b..57a5a568dcd82 100644 --- a/clients/client-mediapackage/src/endpoints.ts +++ b/clients/client-mediapackage/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mediapackage.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mediapackage-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mediapackage.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mediapackage-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediastore-data/src/endpoints.ts b/clients/client-mediastore-data/src/endpoints.ts index 2076e1c76b194..46fc621e2e0c2 100644 --- a/clients/client-mediastore-data/src/endpoints.ts +++ b/clients/client-mediastore-data/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "data.mediastore.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "data.mediastore-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "data.mediastore.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "data.mediastore-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediastore/src/endpoints.ts b/clients/client-mediastore/src/endpoints.ts index 454cc65921a65..cdbc4209319c2 100644 --- a/clients/client-mediastore/src/endpoints.ts +++ b/clients/client-mediastore/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mediastore.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mediastore-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mediastore.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mediastore-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mediatailor/src/endpoints.ts b/clients/client-mediatailor/src/endpoints.ts index e1cb5d8f65304..f5751eb01f148 100644 --- a/clients/client-mediatailor/src/endpoints.ts +++ b/clients/client-mediatailor/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "api.mediatailor.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.mediatailor-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "api.mediatailor.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.mediatailor-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-memorydb/src/endpoints.ts b/clients/client-memorydb/src/endpoints.ts index 12dda1e6ce61d..aec83334c6de1 100644 --- a/clients/client-memorydb/src/endpoints.ts +++ b/clients/client-memorydb/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "memory-db.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "memory-db-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "memory-db.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "memory-db-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mgn/src/endpoints.ts b/clients/client-mgn/src/endpoints.ts index 8c7baae67773d..d373ffcf33fa9 100644 --- a/clients/client-mgn/src/endpoints.ts +++ b/clients/client-mgn/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mgn.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mgn-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mgn.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mgn-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-migration-hub/src/endpoints.ts b/clients/client-migration-hub/src/endpoints.ts index 73cb6499aff1b..e2b5acb4b94b0 100644 --- a/clients/client-migration-hub/src/endpoints.ts +++ b/clients/client-migration-hub/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mgh.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mgh-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mgh.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mgh-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-migrationhub-config/src/endpoints.ts b/clients/client-migrationhub-config/src/endpoints.ts index fe04fa33c7281..500508f2df388 100644 --- a/clients/client-migrationhub-config/src/endpoints.ts +++ b/clients/client-migrationhub-config/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "migrationhub-config.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "migrationhub-config-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "migrationhub-config.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "migrationhub-config-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mobile/src/endpoints.ts b/clients/client-mobile/src/endpoints.ts index 6cc604fb65d80..418edc8287ea1 100644 --- a/clients/client-mobile/src/endpoints.ts +++ b/clients/client-mobile/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "mobile.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mobile-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "mobile.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mobile-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mq/src/endpoints.ts b/clients/client-mq/src/endpoints.ts index 297d0e6e8c940..15a73a83535a3 100644 --- a/clients/client-mq/src/endpoints.ts +++ b/clients/client-mq/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "mq.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mq-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "mq.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mq-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mturk/src/endpoints.ts b/clients/client-mturk/src/endpoints.ts index 8abc4c0801713..a9994650e0876 100644 --- a/clients/client-mturk/src/endpoints.ts +++ b/clients/client-mturk/src/endpoints.ts @@ -88,6 +88,10 @@ const partitionHash: PartitionHash = { hostname: "mturk-requester.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "mturk-requester-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -98,6 +102,10 @@ const partitionHash: PartitionHash = { hostname: "mturk-requester.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "mturk-requester-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-mwaa/src/endpoints.ts b/clients/client-mwaa/src/endpoints.ts index 494e7e6bcb859..4f0774ecf911f 100644 --- a/clients/client-mwaa/src/endpoints.ts +++ b/clients/client-mwaa/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "airflow.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "airflow-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "airflow.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "airflow-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-neptune/src/endpoints.ts b/clients/client-neptune/src/endpoints.ts index 35511230b44d2..7cabe0efce786 100644 --- a/clients/client-neptune/src/endpoints.ts +++ b/clients/client-neptune/src/endpoints.ts @@ -178,6 +178,10 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "rds-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -188,6 +192,10 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "rds-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { @@ -206,17 +214,9 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "rds-fips.{region}.amazonaws.com", + hostname: "rds.{region}.amazonaws.com", tags: ["fips"], }, - { - hostname: "rds-fips.{region}.api.aws", - tags: ["dualstack", "fips"], - }, - { - hostname: "rds.{region}.api.aws", - tags: ["dualstack"], - }, ], }, }; diff --git a/clients/client-network-firewall/src/endpoints.ts b/clients/client-network-firewall/src/endpoints.ts index 10572f0fa7774..6830d2de26e49 100644 --- a/clients/client-network-firewall/src/endpoints.ts +++ b/clients/client-network-firewall/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "network-firewall.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "network-firewall-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "network-firewall.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "network-firewall-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-networkmanager/src/endpoints.ts b/clients/client-networkmanager/src/endpoints.ts index cb8163d18e3ef..477d54d79ae84 100644 --- a/clients/client-networkmanager/src/endpoints.ts +++ b/clients/client-networkmanager/src/endpoints.ts @@ -99,6 +99,10 @@ const partitionHash: PartitionHash = { hostname: "networkmanager.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "networkmanager-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -109,6 +113,10 @@ const partitionHash: PartitionHash = { hostname: "networkmanager.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "networkmanager-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-nimble/src/endpoints.ts b/clients/client-nimble/src/endpoints.ts index c5c16c27ad046..17c01cda87dbc 100644 --- a/clients/client-nimble/src/endpoints.ts +++ b/clients/client-nimble/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "nimble.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "nimble-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "nimble.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "nimble-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-opensearch/src/endpoints.ts b/clients/client-opensearch/src/endpoints.ts index 97f80484fbb89..c1f5bfbc7c09b 100644 --- a/clients/client-opensearch/src/endpoints.ts +++ b/clients/client-opensearch/src/endpoints.ts @@ -156,6 +156,10 @@ const partitionHash: PartitionHash = { hostname: "es.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "es-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -166,6 +170,10 @@ const partitionHash: PartitionHash = { hostname: "es.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "es-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-opsworks/src/endpoints.ts b/clients/client-opsworks/src/endpoints.ts index d0fdeb248aad7..6efa02edaf99e 100644 --- a/clients/client-opsworks/src/endpoints.ts +++ b/clients/client-opsworks/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "opsworks.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "opsworks-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "opsworks.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "opsworks-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-opsworkscm/src/endpoints.ts b/clients/client-opsworkscm/src/endpoints.ts index 8a20db39e2893..3be03bf78587f 100644 --- a/clients/client-opsworkscm/src/endpoints.ts +++ b/clients/client-opsworkscm/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "opsworks-cm.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "opsworks-cm-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "opsworks-cm.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "opsworks-cm-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-organizations/src/endpoints.ts b/clients/client-organizations/src/endpoints.ts index c28f32edad35a..f54086b9fde26 100644 --- a/clients/client-organizations/src/endpoints.ts +++ b/clients/client-organizations/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "organizations.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "organizations-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "organizations.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "organizations-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-outposts/src/endpoints.ts b/clients/client-outposts/src/endpoints.ts index 83db96a9c59f0..feec77f089561 100644 --- a/clients/client-outposts/src/endpoints.ts +++ b/clients/client-outposts/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "outposts.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "outposts-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "outposts.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "outposts-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-panorama/src/endpoints.ts b/clients/client-panorama/src/endpoints.ts index 2be1dc5c582f5..c3fe44c37793b 100644 --- a/clients/client-panorama/src/endpoints.ts +++ b/clients/client-panorama/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "panorama.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "panorama-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "panorama.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "panorama-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-personalize-events/src/endpoints.ts b/clients/client-personalize-events/src/endpoints.ts index 151695253683f..436c411912d34 100644 --- a/clients/client-personalize-events/src/endpoints.ts +++ b/clients/client-personalize-events/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "personalize-events.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "personalize-events-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "personalize-events.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "personalize-events-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-personalize-runtime/src/endpoints.ts b/clients/client-personalize-runtime/src/endpoints.ts index 37cfa688999d5..0c3db852599fd 100644 --- a/clients/client-personalize-runtime/src/endpoints.ts +++ b/clients/client-personalize-runtime/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "personalize-runtime.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "personalize-runtime-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "personalize-runtime.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "personalize-runtime-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-personalize/src/endpoints.ts b/clients/client-personalize/src/endpoints.ts index 6731ba2ac2eee..84d5bfe5f69cc 100644 --- a/clients/client-personalize/src/endpoints.ts +++ b/clients/client-personalize/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "personalize.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "personalize-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "personalize.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "personalize-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-pi/src/endpoints.ts b/clients/client-pi/src/endpoints.ts index e0987e3521dbc..371d123e70fbc 100644 --- a/clients/client-pi/src/endpoints.ts +++ b/clients/client-pi/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "pi.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "pi-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "pi.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "pi-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-pinpoint-email/src/endpoints.ts b/clients/client-pinpoint-email/src/endpoints.ts index 05caae0064f2b..536775cc5e696 100644 --- a/clients/client-pinpoint-email/src/endpoints.ts +++ b/clients/client-pinpoint-email/src/endpoints.ts @@ -91,6 +91,10 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "email-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -101,6 +105,10 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "email-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-pinpoint-sms-voice/src/endpoints.ts b/clients/client-pinpoint-sms-voice/src/endpoints.ts index 989d935643079..a16c50b6ad833 100644 --- a/clients/client-pinpoint-sms-voice/src/endpoints.ts +++ b/clients/client-pinpoint-sms-voice/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "sms-voice.pinpoint.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "sms-voice.pinpoint-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "sms-voice.pinpoint.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "sms-voice.pinpoint-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-pinpoint/src/endpoints.ts b/clients/client-pinpoint/src/endpoints.ts index d9307457758bf..27727d884d1df 100644 --- a/clients/client-pinpoint/src/endpoints.ts +++ b/clients/client-pinpoint/src/endpoints.ts @@ -120,6 +120,10 @@ const partitionHash: PartitionHash = { hostname: "pinpoint.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "pinpoint-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -130,6 +134,10 @@ const partitionHash: PartitionHash = { hostname: "pinpoint.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "pinpoint-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-polly/src/endpoints.ts b/clients/client-polly/src/endpoints.ts index ddf60df7b384a..85ce4a68aef9a 100644 --- a/clients/client-polly/src/endpoints.ts +++ b/clients/client-polly/src/endpoints.ts @@ -143,6 +143,10 @@ const partitionHash: PartitionHash = { hostname: "polly.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "polly-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -153,6 +157,10 @@ const partitionHash: PartitionHash = { hostname: "polly.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "polly-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-pricing/src/endpoints.ts b/clients/client-pricing/src/endpoints.ts index 6fba0385bd982..c73a771ea5921 100644 --- a/clients/client-pricing/src/endpoints.ts +++ b/clients/client-pricing/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "api.pricing.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.pricing-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "api.pricing.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.pricing-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-proton/src/endpoints.ts b/clients/client-proton/src/endpoints.ts index d51e53a01d744..1cd6609890f0a 100644 --- a/clients/client-proton/src/endpoints.ts +++ b/clients/client-proton/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "proton.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "proton-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "proton.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "proton-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-qldb-session/src/endpoints.ts b/clients/client-qldb-session/src/endpoints.ts index a3accabe21a26..6106fb8520843 100644 --- a/clients/client-qldb-session/src/endpoints.ts +++ b/clients/client-qldb-session/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "session.qldb.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "session.qldb-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "session.qldb.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "session.qldb-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-qldb/src/endpoints.ts b/clients/client-qldb/src/endpoints.ts index ab4401fcfbdb7..3346ab0776ed5 100644 --- a/clients/client-qldb/src/endpoints.ts +++ b/clients/client-qldb/src/endpoints.ts @@ -118,6 +118,10 @@ const partitionHash: PartitionHash = { hostname: "qldb.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "qldb-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -128,6 +132,10 @@ const partitionHash: PartitionHash = { hostname: "qldb.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "qldb-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-quicksight/src/endpoints.ts b/clients/client-quicksight/src/endpoints.ts index ff532428e0688..ced789844a9d6 100644 --- a/clients/client-quicksight/src/endpoints.ts +++ b/clients/client-quicksight/src/endpoints.ts @@ -79,6 +79,10 @@ const partitionHash: PartitionHash = { hostname: "quicksight.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "quicksight-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -89,6 +93,10 @@ const partitionHash: PartitionHash = { hostname: "quicksight.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "quicksight-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ram/src/endpoints.ts b/clients/client-ram/src/endpoints.ts index 6a3e0eee994a5..a8e1f7e2f310b 100644 --- a/clients/client-ram/src/endpoints.ts +++ b/clients/client-ram/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "ram.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ram-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "ram.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ram-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-rds-data/src/endpoints.ts b/clients/client-rds-data/src/endpoints.ts index 3c0f01572d422..227574f55804d 100644 --- a/clients/client-rds-data/src/endpoints.ts +++ b/clients/client-rds-data/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "rds-data.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "rds-data-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "rds-data.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "rds-data-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-rds/src/endpoints.ts b/clients/client-rds/src/endpoints.ts index 35511230b44d2..7cabe0efce786 100644 --- a/clients/client-rds/src/endpoints.ts +++ b/clients/client-rds/src/endpoints.ts @@ -178,6 +178,10 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "rds-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -188,6 +192,10 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "rds-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { @@ -206,17 +214,9 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "rds-fips.{region}.amazonaws.com", + hostname: "rds.{region}.amazonaws.com", tags: ["fips"], }, - { - hostname: "rds-fips.{region}.api.aws", - tags: ["dualstack", "fips"], - }, - { - hostname: "rds.{region}.api.aws", - tags: ["dualstack"], - }, ], }, }; diff --git a/clients/client-redshift-data/src/endpoints.ts b/clients/client-redshift-data/src/endpoints.ts index d97acaccbcae6..17091a892e807 100644 --- a/clients/client-redshift-data/src/endpoints.ts +++ b/clients/client-redshift-data/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "redshift-data.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "redshift-data-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "redshift-data.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "redshift-data-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-redshift/src/endpoints.ts b/clients/client-redshift/src/endpoints.ts index b6bb6555c3733..49a0df460c37f 100644 --- a/clients/client-redshift/src/endpoints.ts +++ b/clients/client-redshift/src/endpoints.ts @@ -162,6 +162,10 @@ const partitionHash: PartitionHash = { hostname: "redshift.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "redshift-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -172,6 +176,10 @@ const partitionHash: PartitionHash = { hostname: "redshift.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "redshift-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-rekognition/src/endpoints.ts b/clients/client-rekognition/src/endpoints.ts index 993d2c48850a4..68c9aaa52773d 100644 --- a/clients/client-rekognition/src/endpoints.ts +++ b/clients/client-rekognition/src/endpoints.ts @@ -166,6 +166,10 @@ const partitionHash: PartitionHash = { hostname: "rekognition.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "rekognition-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -176,6 +180,10 @@ const partitionHash: PartitionHash = { hostname: "rekognition.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "rekognition-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-resiliencehub/.gitignore b/clients/client-resiliencehub/.gitignore new file mode 100644 index 0000000000000..54f14c9aef253 --- /dev/null +++ b/clients/client-resiliencehub/.gitignore @@ -0,0 +1,9 @@ +/node_modules/ +/build/ +/coverage/ +/docs/ +/dist-* +*.tsbuildinfo +*.tgz +*.log +package-lock.json diff --git a/clients/client-resiliencehub/LICENSE b/clients/client-resiliencehub/LICENSE new file mode 100644 index 0000000000000..f9e0c8672bca6 --- /dev/null +++ b/clients/client-resiliencehub/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/clients/client-resiliencehub/README.md b/clients/client-resiliencehub/README.md new file mode 100644 index 0000000000000..8a139c86d1b7f --- /dev/null +++ b/clients/client-resiliencehub/README.md @@ -0,0 +1,207 @@ +# @aws-sdk/client-resiliencehub + +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-resiliencehub/latest.svg)](https://www.npmjs.com/package/@aws-sdk/client-resiliencehub) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-resiliencehub.svg)](https://www.npmjs.com/package/@aws-sdk/client-resiliencehub) + +## Description + +AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native. + +

                                              AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from +disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates +into your software development lifecycle. This enables you to uncover resiliency weaknesses, +ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your +applications are met, and resolve issues before they are released into production.

                                              + +## Installing + +To install the this package, simply type add or install @aws-sdk/client-resiliencehub +using your favorite package manager: + +- `npm install @aws-sdk/client-resiliencehub` +- `yarn add @aws-sdk/client-resiliencehub` +- `pnpm add @aws-sdk/client-resiliencehub` + +## Getting Started + +### Import + +The AWS SDK is modulized by clients and commands. +To send a request, you only need to import the `ResiliencehubClient` and +the commands you need, for example `AddDraftAppVersionResourceMappingsCommand`: + +```js +// ES5 example +const { ResiliencehubClient, AddDraftAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); +``` + +```ts +// ES6+ example +import { ResiliencehubClient, AddDraftAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; +``` + +### Usage + +To send a request, you: + +- Initiate client with configuration (e.g. credentials, region). +- Initiate command with input parameters. +- Call `send` operation on client with command object as input. +- If you are using a custom http handler, you may call `destroy()` to close open connections. + +```js +// a client can be shared by different commands. +const client = new ResiliencehubClient({ region: "REGION" }); + +const params = { + /** input parameters */ +}; +const command = new AddDraftAppVersionResourceMappingsCommand(params); +``` + +#### Async/await + +We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) +operator to wait for the promise returned by send operation as follows: + +```js +// async/await. +try { + const data = await client.send(command); + // process data. +} catch (error) { + // error handling. +} finally { + // finally. +} +``` + +Async-await is clean, concise, intuitive, easy to debug and has better error handling +as compared to using Promise chains or callbacks. + +#### Promises + +You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) +to execute send operation. + +```js +client.send(command).then( + (data) => { + // process data. + }, + (error) => { + // error handling. + } +); +``` + +Promises can also be called using `.catch()` and `.finally()` as follows: + +```js +client + .send(command) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }) + .finally(() => { + // finally. + }); +``` + +#### Callbacks + +We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), +but they are supported by the send operation. + +```js +// callbacks. +client.send(command, (err, data) => { + // proccess err and data. +}); +``` + +#### v2 compatible style + +The client can also send requests using v2 compatible style. +However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post +on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) + +```ts +import * as AWS from "@aws-sdk/client-resiliencehub"; +const client = new AWS.Resiliencehub({ region: "REGION" }); + +// async/await. +try { + const data = await client.addDraftAppVersionResourceMappings(params); + // process data. +} catch (error) { + // error handling. +} + +// Promises. +client + .addDraftAppVersionResourceMappings(params) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }); + +// callbacks. +client.addDraftAppVersionResourceMappings(params, (err, data) => { + // proccess err and data. +}); +``` + +### Troubleshooting + +When the service returns an exception, the error will include the exception information, +as well as response metadata (e.g. request id). + +```js +try { + const data = await client.send(command); + // process data. +} catch (error) { + const { requestId, cfId, extendedRequestId } = error.$metadata; + console.log({ requestId, cfId, extendedRequestId }); + /** + * The keys within exceptions are also parsed. + * You can access them by specifying exception names: + * if (error.name === 'SomeServiceException') { + * const value = error.specialKeyInException; + * } + */ +} +``` + +## Getting Help + +Please use these community resources for getting help. +We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. + +- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) + or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). +- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) + on AWS Developer Blog. +- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. +- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). +- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). + +To test your universal JavaScript code in Node.js, browser and react-native environments, +visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). + +## Contributing + +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-resiliencehub` package is updated. +To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). + +## License + +This SDK is distributed under the +[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), +see LICENSE for more information. diff --git a/clients/client-resiliencehub/jest.config.js b/clients/client-resiliencehub/jest.config.js new file mode 100644 index 0000000000000..02eed352c6a86 --- /dev/null +++ b/clients/client-resiliencehub/jest.config.js @@ -0,0 +1,4 @@ +module.exports = { + preset: "ts-jest", + testMatch: ["**/*.spec.ts", "!**/*.browser.spec.ts", "!**/*.integ.spec.ts"], +}; diff --git a/clients/client-resiliencehub/package.json b/clients/client-resiliencehub/package.json new file mode 100644 index 0000000000000..59c9cea07aa5e --- /dev/null +++ b/clients/client-resiliencehub/package.json @@ -0,0 +1,96 @@ +{ + "name": "@aws-sdk/client-resiliencehub", + "description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native", + "version": "3.0.0", + "scripts": { + "build": "yarn build:cjs && yarn build:es && yarn build:types", + "build:cjs": "tsc -p tsconfig.json", + "build:docs": "yarn clean:docs && typedoc ./", + "build:es": "tsc -p tsconfig.es.json", + "build:types": "tsc -p tsconfig.types.json", + "clean": "yarn clean:dist && yarn clean:docs", + "clean:dist": "rimraf ./dist-*", + "clean:docs": "rimraf ./docs", + "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4", + "test": "jest --coverage --passWithNoTests" + }, + "main": "./dist-cjs/index.js", + "types": "./dist-types/index.d.ts", + "module": "./dist-es/index.js", + "sideEffects": false, + "dependencies": { + "@aws-crypto/sha256-browser": "2.0.0", + "@aws-crypto/sha256-js": "2.0.0", + "@aws-sdk/client-sts": "3.40.0", + "@aws-sdk/config-resolver": "3.40.0", + "@aws-sdk/credential-provider-node": "3.40.0", + "@aws-sdk/fetch-http-handler": "3.40.0", + "@aws-sdk/hash-node": "3.40.0", + "@aws-sdk/invalid-dependency": "3.40.0", + "@aws-sdk/middleware-content-length": "3.40.0", + "@aws-sdk/middleware-host-header": "3.40.0", + "@aws-sdk/middleware-logger": "3.40.0", + "@aws-sdk/middleware-retry": "3.40.0", + "@aws-sdk/middleware-serde": "3.40.0", + "@aws-sdk/middleware-signing": "3.40.0", + "@aws-sdk/middleware-stack": "3.40.0", + "@aws-sdk/middleware-user-agent": "3.40.0", + "@aws-sdk/node-config-provider": "3.40.0", + "@aws-sdk/node-http-handler": "3.40.0", + "@aws-sdk/protocol-http": "3.40.0", + "@aws-sdk/smithy-client": "3.40.0", + "@aws-sdk/types": "3.40.0", + "@aws-sdk/url-parser": "3.40.0", + "@aws-sdk/util-base64-browser": "3.37.0", + "@aws-sdk/util-base64-node": "3.37.0", + "@aws-sdk/util-body-length-browser": "3.37.0", + "@aws-sdk/util-body-length-node": "3.37.0", + "@aws-sdk/util-user-agent-browser": "3.40.0", + "@aws-sdk/util-user-agent-node": "3.40.0", + "@aws-sdk/util-utf8-browser": "3.37.0", + "@aws-sdk/util-utf8-node": "3.37.0", + "tslib": "^2.3.0", + "uuid": "^8.3.2" + }, + "devDependencies": { + "@aws-sdk/service-client-documentation-generator": "3.38.0", + "@types/node": "^12.7.5", + "@types/uuid": "^8.3.0", + "downlevel-dts": "0.7.0", + "jest": "^26.1.0", + "rimraf": "^3.0.0", + "ts-jest": "^26.4.1", + "typedoc": "^0.19.2", + "typescript": "~4.3.5" + }, + "engines": { + "node": ">=10.0.0" + }, + "typesVersions": { + "<4.0": { + "dist-types/*": [ + "dist-types/ts3.4/*" + ] + } + }, + "files": [ + "dist-*" + ], + "author": { + "name": "AWS SDK for JavaScript Team", + "url": "https://aws.amazon.com/javascript/" + }, + "license": "Apache-2.0", + "browser": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" + }, + "react-native": { + "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" + }, + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-resiliencehub", + "repository": { + "type": "git", + "url": "https://github.com/aws/aws-sdk-js-v3.git", + "directory": "clients/client-resiliencehub" + } +} diff --git a/clients/client-resiliencehub/src/Resiliencehub.ts b/clients/client-resiliencehub/src/Resiliencehub.ts new file mode 100644 index 0000000000000..777976b4eabf0 --- /dev/null +++ b/clients/client-resiliencehub/src/Resiliencehub.ts @@ -0,0 +1,1424 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types"; + +import { + AddDraftAppVersionResourceMappingsCommand, + AddDraftAppVersionResourceMappingsCommandInput, + AddDraftAppVersionResourceMappingsCommandOutput, +} from "./commands/AddDraftAppVersionResourceMappingsCommand"; +import { CreateAppCommand, CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand"; +import { + CreateRecommendationTemplateCommand, + CreateRecommendationTemplateCommandInput, + CreateRecommendationTemplateCommandOutput, +} from "./commands/CreateRecommendationTemplateCommand"; +import { + CreateResiliencyPolicyCommand, + CreateResiliencyPolicyCommandInput, + CreateResiliencyPolicyCommandOutput, +} from "./commands/CreateResiliencyPolicyCommand"; +import { + DeleteAppAssessmentCommand, + DeleteAppAssessmentCommandInput, + DeleteAppAssessmentCommandOutput, +} from "./commands/DeleteAppAssessmentCommand"; +import { DeleteAppCommand, DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand"; +import { + DeleteRecommendationTemplateCommand, + DeleteRecommendationTemplateCommandInput, + DeleteRecommendationTemplateCommandOutput, +} from "./commands/DeleteRecommendationTemplateCommand"; +import { + DeleteResiliencyPolicyCommand, + DeleteResiliencyPolicyCommandInput, + DeleteResiliencyPolicyCommandOutput, +} from "./commands/DeleteResiliencyPolicyCommand"; +import { + DescribeAppAssessmentCommand, + DescribeAppAssessmentCommandInput, + DescribeAppAssessmentCommandOutput, +} from "./commands/DescribeAppAssessmentCommand"; +import { DescribeAppCommand, DescribeAppCommandInput, DescribeAppCommandOutput } from "./commands/DescribeAppCommand"; +import { + DescribeAppVersionResourcesResolutionStatusCommand, + DescribeAppVersionResourcesResolutionStatusCommandInput, + DescribeAppVersionResourcesResolutionStatusCommandOutput, +} from "./commands/DescribeAppVersionResourcesResolutionStatusCommand"; +import { + DescribeAppVersionTemplateCommand, + DescribeAppVersionTemplateCommandInput, + DescribeAppVersionTemplateCommandOutput, +} from "./commands/DescribeAppVersionTemplateCommand"; +import { + DescribeDraftAppVersionResourcesImportStatusCommand, + DescribeDraftAppVersionResourcesImportStatusCommandInput, + DescribeDraftAppVersionResourcesImportStatusCommandOutput, +} from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand"; +import { + DescribeResiliencyPolicyCommand, + DescribeResiliencyPolicyCommandInput, + DescribeResiliencyPolicyCommandOutput, +} from "./commands/DescribeResiliencyPolicyCommand"; +import { + ImportResourcesToDraftAppVersionCommand, + ImportResourcesToDraftAppVersionCommandInput, + ImportResourcesToDraftAppVersionCommandOutput, +} from "./commands/ImportResourcesToDraftAppVersionCommand"; +import { + ListAlarmRecommendationsCommand, + ListAlarmRecommendationsCommandInput, + ListAlarmRecommendationsCommandOutput, +} from "./commands/ListAlarmRecommendationsCommand"; +import { + ListAppAssessmentsCommand, + ListAppAssessmentsCommandInput, + ListAppAssessmentsCommandOutput, +} from "./commands/ListAppAssessmentsCommand"; +import { + ListAppComponentCompliancesCommand, + ListAppComponentCompliancesCommandInput, + ListAppComponentCompliancesCommandOutput, +} from "./commands/ListAppComponentCompliancesCommand"; +import { + ListAppComponentRecommendationsCommand, + ListAppComponentRecommendationsCommandInput, + ListAppComponentRecommendationsCommandOutput, +} from "./commands/ListAppComponentRecommendationsCommand"; +import { ListAppsCommand, ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand"; +import { + ListAppVersionResourceMappingsCommand, + ListAppVersionResourceMappingsCommandInput, + ListAppVersionResourceMappingsCommandOutput, +} from "./commands/ListAppVersionResourceMappingsCommand"; +import { + ListAppVersionResourcesCommand, + ListAppVersionResourcesCommandInput, + ListAppVersionResourcesCommandOutput, +} from "./commands/ListAppVersionResourcesCommand"; +import { + ListAppVersionsCommand, + ListAppVersionsCommandInput, + ListAppVersionsCommandOutput, +} from "./commands/ListAppVersionsCommand"; +import { + ListRecommendationTemplatesCommand, + ListRecommendationTemplatesCommandInput, + ListRecommendationTemplatesCommandOutput, +} from "./commands/ListRecommendationTemplatesCommand"; +import { + ListResiliencyPoliciesCommand, + ListResiliencyPoliciesCommandInput, + ListResiliencyPoliciesCommandOutput, +} from "./commands/ListResiliencyPoliciesCommand"; +import { + ListSopRecommendationsCommand, + ListSopRecommendationsCommandInput, + ListSopRecommendationsCommandOutput, +} from "./commands/ListSopRecommendationsCommand"; +import { + ListSuggestedResiliencyPoliciesCommand, + ListSuggestedResiliencyPoliciesCommandInput, + ListSuggestedResiliencyPoliciesCommandOutput, +} from "./commands/ListSuggestedResiliencyPoliciesCommand"; +import { + ListTagsForResourceCommand, + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "./commands/ListTagsForResourceCommand"; +import { + ListTestRecommendationsCommand, + ListTestRecommendationsCommandInput, + ListTestRecommendationsCommandOutput, +} from "./commands/ListTestRecommendationsCommand"; +import { + ListUnsupportedAppVersionResourcesCommand, + ListUnsupportedAppVersionResourcesCommandInput, + ListUnsupportedAppVersionResourcesCommandOutput, +} from "./commands/ListUnsupportedAppVersionResourcesCommand"; +import { + PublishAppVersionCommand, + PublishAppVersionCommandInput, + PublishAppVersionCommandOutput, +} from "./commands/PublishAppVersionCommand"; +import { + PutDraftAppVersionTemplateCommand, + PutDraftAppVersionTemplateCommandInput, + PutDraftAppVersionTemplateCommandOutput, +} from "./commands/PutDraftAppVersionTemplateCommand"; +import { + RemoveDraftAppVersionResourceMappingsCommand, + RemoveDraftAppVersionResourceMappingsCommandInput, + RemoveDraftAppVersionResourceMappingsCommandOutput, +} from "./commands/RemoveDraftAppVersionResourceMappingsCommand"; +import { + ResolveAppVersionResourcesCommand, + ResolveAppVersionResourcesCommandInput, + ResolveAppVersionResourcesCommandOutput, +} from "./commands/ResolveAppVersionResourcesCommand"; +import { + StartAppAssessmentCommand, + StartAppAssessmentCommandInput, + StartAppAssessmentCommandOutput, +} from "./commands/StartAppAssessmentCommand"; +import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; +import { + UntagResourceCommand, + UntagResourceCommandInput, + UntagResourceCommandOutput, +} from "./commands/UntagResourceCommand"; +import { UpdateAppCommand, UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand"; +import { + UpdateResiliencyPolicyCommand, + UpdateResiliencyPolicyCommandInput, + UpdateResiliencyPolicyCommandOutput, +} from "./commands/UpdateResiliencyPolicyCommand"; +import { ResiliencehubClient } from "./ResiliencehubClient"; + +/** + *

                                              AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from + * disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates + * into your software development lifecycle. This enables you to uncover resiliency weaknesses, + * ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your + * applications are met, and resolve issues before they are released into production.

                                              + */ +export class Resiliencehub extends ResiliencehubClient { + /** + *

                                              Adds the resource mapping for the draft application version.

                                              + */ + public addDraftAppVersionResourceMappings( + args: AddDraftAppVersionResourceMappingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public addDraftAppVersionResourceMappings( + args: AddDraftAppVersionResourceMappingsCommandInput, + cb: (err: any, data?: AddDraftAppVersionResourceMappingsCommandOutput) => void + ): void; + public addDraftAppVersionResourceMappings( + args: AddDraftAppVersionResourceMappingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AddDraftAppVersionResourceMappingsCommandOutput) => void + ): void; + public addDraftAppVersionResourceMappings( + args: AddDraftAppVersionResourceMappingsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddDraftAppVersionResourceMappingsCommandOutput) => void), + cb?: (err: any, data?: AddDraftAppVersionResourceMappingsCommandOutput) => void + ): Promise | void { + const command = new AddDraftAppVersionResourceMappingsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services + * resources structured to prevent and recover Amazon Web Services application disruptions. To describe a + * Resilience Hub application, you provide an application name, resources from one or more–up to + * five–CloudFormation stacks, and an appropriate resiliency policy.

                                              + * + *

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

                                              + */ + public createApp(args: CreateAppCommandInput, options?: __HttpHandlerOptions): Promise; + public createApp(args: CreateAppCommandInput, cb: (err: any, data?: CreateAppCommandOutput) => void): void; + public createApp( + args: CreateAppCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateAppCommandOutput) => void + ): void; + public createApp( + args: CreateAppCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAppCommandOutput) => void), + cb?: (err: any, data?: CreateAppCommandOutput) => void + ): Promise | void { + const command = new CreateAppCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Creates a new recommendation template.

                                              + */ + public createRecommendationTemplate( + args: CreateRecommendationTemplateCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createRecommendationTemplate( + args: CreateRecommendationTemplateCommandInput, + cb: (err: any, data?: CreateRecommendationTemplateCommandOutput) => void + ): void; + public createRecommendationTemplate( + args: CreateRecommendationTemplateCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateRecommendationTemplateCommandOutput) => void + ): void; + public createRecommendationTemplate( + args: CreateRecommendationTemplateCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRecommendationTemplateCommandOutput) => void), + cb?: (err: any, data?: CreateRecommendationTemplateCommandOutput) => void + ): Promise | void { + const command = new CreateRecommendationTemplateCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Creates a resiliency policy for an application.

                                              + */ + public createResiliencyPolicy( + args: CreateResiliencyPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createResiliencyPolicy( + args: CreateResiliencyPolicyCommandInput, + cb: (err: any, data?: CreateResiliencyPolicyCommandOutput) => void + ): void; + public createResiliencyPolicy( + args: CreateResiliencyPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateResiliencyPolicyCommandOutput) => void + ): void; + public createResiliencyPolicy( + args: CreateResiliencyPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateResiliencyPolicyCommandOutput) => void), + cb?: (err: any, data?: CreateResiliencyPolicyCommandOutput) => void + ): Promise | void { + const command = new CreateResiliencyPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Deletes an AWS Resilience Hub application. This is a destructive action that can't be + * undone.

                                              + */ + public deleteApp(args: DeleteAppCommandInput, options?: __HttpHandlerOptions): Promise; + public deleteApp(args: DeleteAppCommandInput, cb: (err: any, data?: DeleteAppCommandOutput) => void): void; + public deleteApp( + args: DeleteAppCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteAppCommandOutput) => void + ): void; + public deleteApp( + args: DeleteAppCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAppCommandOutput) => void), + cb?: (err: any, data?: DeleteAppCommandOutput) => void + ): Promise | void { + const command = new DeleteAppCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't + * be undone.

                                              + */ + public deleteAppAssessment( + args: DeleteAppAssessmentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteAppAssessment( + args: DeleteAppAssessmentCommandInput, + cb: (err: any, data?: DeleteAppAssessmentCommandOutput) => void + ): void; + public deleteAppAssessment( + args: DeleteAppAssessmentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteAppAssessmentCommandOutput) => void + ): void; + public deleteAppAssessment( + args: DeleteAppAssessmentCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAppAssessmentCommandOutput) => void), + cb?: (err: any, data?: DeleteAppAssessmentCommandOutput) => void + ): Promise | void { + const command = new DeleteAppAssessmentCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Deletes a recommendation template. This is a destructive action that can't be + * undone.

                                              + */ + public deleteRecommendationTemplate( + args: DeleteRecommendationTemplateCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteRecommendationTemplate( + args: DeleteRecommendationTemplateCommandInput, + cb: (err: any, data?: DeleteRecommendationTemplateCommandOutput) => void + ): void; + public deleteRecommendationTemplate( + args: DeleteRecommendationTemplateCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteRecommendationTemplateCommandOutput) => void + ): void; + public deleteRecommendationTemplate( + args: DeleteRecommendationTemplateCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRecommendationTemplateCommandOutput) => void), + cb?: (err: any, data?: DeleteRecommendationTemplateCommandOutput) => void + ): Promise | void { + const command = new DeleteRecommendationTemplateCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Deletes a resiliency policy. This is a destructive action that can't be undone.

                                              + */ + public deleteResiliencyPolicy( + args: DeleteResiliencyPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteResiliencyPolicy( + args: DeleteResiliencyPolicyCommandInput, + cb: (err: any, data?: DeleteResiliencyPolicyCommandOutput) => void + ): void; + public deleteResiliencyPolicy( + args: DeleteResiliencyPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteResiliencyPolicyCommandOutput) => void + ): void; + public deleteResiliencyPolicy( + args: DeleteResiliencyPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResiliencyPolicyCommandOutput) => void), + cb?: (err: any, data?: DeleteResiliencyPolicyCommandOutput) => void + ): Promise | void { + const command = new DeleteResiliencyPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Describes an AWS Resilience Hub application.

                                              + */ + public describeApp(args: DescribeAppCommandInput, options?: __HttpHandlerOptions): Promise; + public describeApp(args: DescribeAppCommandInput, cb: (err: any, data?: DescribeAppCommandOutput) => void): void; + public describeApp( + args: DescribeAppCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAppCommandOutput) => void + ): void; + public describeApp( + args: DescribeAppCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAppCommandOutput) => void), + cb?: (err: any, data?: DescribeAppCommandOutput) => void + ): Promise | void { + const command = new DescribeAppCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Describes an assessment for an AWS Resilience Hub application.

                                              + */ + public describeAppAssessment( + args: DescribeAppAssessmentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeAppAssessment( + args: DescribeAppAssessmentCommandInput, + cb: (err: any, data?: DescribeAppAssessmentCommandOutput) => void + ): void; + public describeAppAssessment( + args: DescribeAppAssessmentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAppAssessmentCommandOutput) => void + ): void; + public describeAppAssessment( + args: DescribeAppAssessmentCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAppAssessmentCommandOutput) => void), + cb?: (err: any, data?: DescribeAppAssessmentCommandOutput) => void + ): Promise | void { + const command = new DescribeAppAssessmentCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Returns the resolution status for the specified resolution identifier for an application + * version. If resolutionId is not specified, the current resolution status is + * returned.

                                              + */ + public describeAppVersionResourcesResolutionStatus( + args: DescribeAppVersionResourcesResolutionStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeAppVersionResourcesResolutionStatus( + args: DescribeAppVersionResourcesResolutionStatusCommandInput, + cb: (err: any, data?: DescribeAppVersionResourcesResolutionStatusCommandOutput) => void + ): void; + public describeAppVersionResourcesResolutionStatus( + args: DescribeAppVersionResourcesResolutionStatusCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAppVersionResourcesResolutionStatusCommandOutput) => void + ): void; + public describeAppVersionResourcesResolutionStatus( + args: DescribeAppVersionResourcesResolutionStatusCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: DescribeAppVersionResourcesResolutionStatusCommandOutput) => void), + cb?: (err: any, data?: DescribeAppVersionResourcesResolutionStatusCommandOutput) => void + ): Promise | void { + const command = new DescribeAppVersionResourcesResolutionStatusCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Describes details about an AWS Resilience Hub

                                              + */ + public describeAppVersionTemplate( + args: DescribeAppVersionTemplateCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeAppVersionTemplate( + args: DescribeAppVersionTemplateCommandInput, + cb: (err: any, data?: DescribeAppVersionTemplateCommandOutput) => void + ): void; + public describeAppVersionTemplate( + args: DescribeAppVersionTemplateCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAppVersionTemplateCommandOutput) => void + ): void; + public describeAppVersionTemplate( + args: DescribeAppVersionTemplateCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeAppVersionTemplateCommandOutput) => void), + cb?: (err: any, data?: DescribeAppVersionTemplateCommandOutput) => void + ): Promise | void { + const command = new DescribeAppVersionTemplateCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Describes the status of importing resources to an application version.

                                              + */ + public describeDraftAppVersionResourcesImportStatus( + args: DescribeDraftAppVersionResourcesImportStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeDraftAppVersionResourcesImportStatus( + args: DescribeDraftAppVersionResourcesImportStatusCommandInput, + cb: (err: any, data?: DescribeDraftAppVersionResourcesImportStatusCommandOutput) => void + ): void; + public describeDraftAppVersionResourcesImportStatus( + args: DescribeDraftAppVersionResourcesImportStatusCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeDraftAppVersionResourcesImportStatusCommandOutput) => void + ): void; + public describeDraftAppVersionResourcesImportStatus( + args: DescribeDraftAppVersionResourcesImportStatusCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: DescribeDraftAppVersionResourcesImportStatusCommandOutput) => void), + cb?: (err: any, data?: DescribeDraftAppVersionResourcesImportStatusCommandOutput) => void + ): Promise | void { + const command = new DescribeDraftAppVersionResourcesImportStatusCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Describes a specified resiliency policy for an AWS Resilience Hub application. The returned + * policy object includes creation time, data location constraints, the Amazon Resource Name + * (ARN) for the policy, tags, tier, and more.

                                              + */ + public describeResiliencyPolicy( + args: DescribeResiliencyPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public describeResiliencyPolicy( + args: DescribeResiliencyPolicyCommandInput, + cb: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void + ): void; + public describeResiliencyPolicy( + args: DescribeResiliencyPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void + ): void; + public describeResiliencyPolicy( + args: DescribeResiliencyPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResiliencyPolicyCommandOutput) => void), + cb?: (err: any, data?: DescribeResiliencyPolicyCommandOutput) => void + ): Promise | void { + const command = new DescribeResiliencyPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Imports resources from sources such as a CloudFormation stack, resource-groups, or application + * registry app to a draft application version.

                                              + */ + public importResourcesToDraftAppVersion( + args: ImportResourcesToDraftAppVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public importResourcesToDraftAppVersion( + args: ImportResourcesToDraftAppVersionCommandInput, + cb: (err: any, data?: ImportResourcesToDraftAppVersionCommandOutput) => void + ): void; + public importResourcesToDraftAppVersion( + args: ImportResourcesToDraftAppVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ImportResourcesToDraftAppVersionCommandOutput) => void + ): void; + public importResourcesToDraftAppVersion( + args: ImportResourcesToDraftAppVersionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportResourcesToDraftAppVersionCommandOutput) => void), + cb?: (err: any, data?: ImportResourcesToDraftAppVersionCommandOutput) => void + ): Promise | void { + const command = new ImportResourcesToDraftAppVersionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the alarm recommendations for a AWS Resilience Hub application.

                                              + */ + public listAlarmRecommendations( + args: ListAlarmRecommendationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAlarmRecommendations( + args: ListAlarmRecommendationsCommandInput, + cb: (err: any, data?: ListAlarmRecommendationsCommandOutput) => void + ): void; + public listAlarmRecommendations( + args: ListAlarmRecommendationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAlarmRecommendationsCommandOutput) => void + ): void; + public listAlarmRecommendations( + args: ListAlarmRecommendationsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAlarmRecommendationsCommandOutput) => void), + cb?: (err: any, data?: ListAlarmRecommendationsCommandOutput) => void + ): Promise | void { + const command = new ListAlarmRecommendationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the assessments for an AWS Resilience Hub application. You can use request parameters to + * refine the results for the response object.

                                              + */ + public listAppAssessments( + args: ListAppAssessmentsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAppAssessments( + args: ListAppAssessmentsCommandInput, + cb: (err: any, data?: ListAppAssessmentsCommandOutput) => void + ): void; + public listAppAssessments( + args: ListAppAssessmentsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppAssessmentsCommandOutput) => void + ): void; + public listAppAssessments( + args: ListAppAssessmentsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppAssessmentsCommandOutput) => void), + cb?: (err: any, data?: ListAppAssessmentsCommandOutput) => void + ): Promise | void { + const command = new ListAppAssessmentsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the compliances for an AWS Resilience Hub component.

                                              + */ + public listAppComponentCompliances( + args: ListAppComponentCompliancesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAppComponentCompliances( + args: ListAppComponentCompliancesCommandInput, + cb: (err: any, data?: ListAppComponentCompliancesCommandOutput) => void + ): void; + public listAppComponentCompliances( + args: ListAppComponentCompliancesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppComponentCompliancesCommandOutput) => void + ): void; + public listAppComponentCompliances( + args: ListAppComponentCompliancesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppComponentCompliancesCommandOutput) => void), + cb?: (err: any, data?: ListAppComponentCompliancesCommandOutput) => void + ): Promise | void { + const command = new ListAppComponentCompliancesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the recommendations for an AWS Resilience Hub component.

                                              + */ + public listAppComponentRecommendations( + args: ListAppComponentRecommendationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAppComponentRecommendations( + args: ListAppComponentRecommendationsCommandInput, + cb: (err: any, data?: ListAppComponentRecommendationsCommandOutput) => void + ): void; + public listAppComponentRecommendations( + args: ListAppComponentRecommendationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppComponentRecommendationsCommandOutput) => void + ): void; + public listAppComponentRecommendations( + args: ListAppComponentRecommendationsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppComponentRecommendationsCommandOutput) => void), + cb?: (err: any, data?: ListAppComponentRecommendationsCommandOutput) => void + ): Promise | void { + const command = new ListAppComponentRecommendationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists your Resilience Hub applications.

                                              + */ + public listApps(args: ListAppsCommandInput, options?: __HttpHandlerOptions): Promise; + public listApps(args: ListAppsCommandInput, cb: (err: any, data?: ListAppsCommandOutput) => void): void; + public listApps( + args: ListAppsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppsCommandOutput) => void + ): void; + public listApps( + args: ListAppsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppsCommandOutput) => void), + cb?: (err: any, data?: ListAppsCommandOutput) => void + ): Promise | void { + const command = new ListAppsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists how the resources in an application version are mapped/sourced from. Mappings can be + * physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry + * app.

                                              + */ + public listAppVersionResourceMappings( + args: ListAppVersionResourceMappingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAppVersionResourceMappings( + args: ListAppVersionResourceMappingsCommandInput, + cb: (err: any, data?: ListAppVersionResourceMappingsCommandOutput) => void + ): void; + public listAppVersionResourceMappings( + args: ListAppVersionResourceMappingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppVersionResourceMappingsCommandOutput) => void + ): void; + public listAppVersionResourceMappings( + args: ListAppVersionResourceMappingsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppVersionResourceMappingsCommandOutput) => void), + cb?: (err: any, data?: ListAppVersionResourceMappingsCommandOutput) => void + ): Promise | void { + const command = new ListAppVersionResourceMappingsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists all the resources in an application version.

                                              + */ + public listAppVersionResources( + args: ListAppVersionResourcesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAppVersionResources( + args: ListAppVersionResourcesCommandInput, + cb: (err: any, data?: ListAppVersionResourcesCommandOutput) => void + ): void; + public listAppVersionResources( + args: ListAppVersionResourcesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppVersionResourcesCommandOutput) => void + ): void; + public listAppVersionResources( + args: ListAppVersionResourcesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppVersionResourcesCommandOutput) => void), + cb?: (err: any, data?: ListAppVersionResourcesCommandOutput) => void + ): Promise | void { + const command = new ListAppVersionResourcesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the different versions for the Resilience Hub applications.

                                              + */ + public listAppVersions( + args: ListAppVersionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listAppVersions( + args: ListAppVersionsCommandInput, + cb: (err: any, data?: ListAppVersionsCommandOutput) => void + ): void; + public listAppVersions( + args: ListAppVersionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAppVersionsCommandOutput) => void + ): void; + public listAppVersions( + args: ListAppVersionsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAppVersionsCommandOutput) => void), + cb?: (err: any, data?: ListAppVersionsCommandOutput) => void + ): Promise | void { + const command = new ListAppVersionsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the recommendation templates for the Resilience Hub applications.

                                              + */ + public listRecommendationTemplates( + args: ListRecommendationTemplatesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listRecommendationTemplates( + args: ListRecommendationTemplatesCommandInput, + cb: (err: any, data?: ListRecommendationTemplatesCommandOutput) => void + ): void; + public listRecommendationTemplates( + args: ListRecommendationTemplatesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListRecommendationTemplatesCommandOutput) => void + ): void; + public listRecommendationTemplates( + args: ListRecommendationTemplatesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRecommendationTemplatesCommandOutput) => void), + cb?: (err: any, data?: ListRecommendationTemplatesCommandOutput) => void + ): Promise | void { + const command = new ListRecommendationTemplatesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the resiliency policies for the Resilience Hub applications.

                                              + */ + public listResiliencyPolicies( + args: ListResiliencyPoliciesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listResiliencyPolicies( + args: ListResiliencyPoliciesCommandInput, + cb: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void + ): void; + public listResiliencyPolicies( + args: ListResiliencyPoliciesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void + ): void; + public listResiliencyPolicies( + args: ListResiliencyPoliciesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListResiliencyPoliciesCommandOutput) => void), + cb?: (err: any, data?: ListResiliencyPoliciesCommandOutput) => void + ): Promise | void { + const command = new ListResiliencyPoliciesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the standard operating procedure (SOP) recommendations for the Resilience Hub + * applications.

                                              + */ + public listSopRecommendations( + args: ListSopRecommendationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listSopRecommendations( + args: ListSopRecommendationsCommandInput, + cb: (err: any, data?: ListSopRecommendationsCommandOutput) => void + ): void; + public listSopRecommendations( + args: ListSopRecommendationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListSopRecommendationsCommandOutput) => void + ): void; + public listSopRecommendations( + args: ListSopRecommendationsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSopRecommendationsCommandOutput) => void), + cb?: (err: any, data?: ListSopRecommendationsCommandOutput) => void + ): Promise | void { + const command = new ListSopRecommendationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the suggested resiliency policies for the Resilience Hub applications.

                                              + */ + public listSuggestedResiliencyPolicies( + args: ListSuggestedResiliencyPoliciesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listSuggestedResiliencyPolicies( + args: ListSuggestedResiliencyPoliciesCommandInput, + cb: (err: any, data?: ListSuggestedResiliencyPoliciesCommandOutput) => void + ): void; + public listSuggestedResiliencyPolicies( + args: ListSuggestedResiliencyPoliciesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListSuggestedResiliencyPoliciesCommandOutput) => void + ): void; + public listSuggestedResiliencyPolicies( + args: ListSuggestedResiliencyPoliciesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListSuggestedResiliencyPoliciesCommandOutput) => void), + cb?: (err: any, data?: ListSuggestedResiliencyPoliciesCommandOutput) => void + ): Promise | void { + const command = new ListSuggestedResiliencyPoliciesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the tags for your resources in your Resilience Hub applications.

                                              + */ + public listTagsForResource( + args: ListTagsForResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listTagsForResource( + args: ListTagsForResourceCommandInput, + cb: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): void; + public listTagsForResource( + args: ListTagsForResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): void; + public listTagsForResource( + args: ListTagsForResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void), + cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): Promise | void { + const command = new ListTagsForResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the test recommendations for the Resilience Hub application.

                                              + */ + public listTestRecommendations( + args: ListTestRecommendationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listTestRecommendations( + args: ListTestRecommendationsCommandInput, + cb: (err: any, data?: ListTestRecommendationsCommandOutput) => void + ): void; + public listTestRecommendations( + args: ListTestRecommendationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListTestRecommendationsCommandOutput) => void + ): void; + public listTestRecommendations( + args: ListTestRecommendationsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTestRecommendationsCommandOutput) => void), + cb?: (err: any, data?: ListTestRecommendationsCommandOutput) => void + ): Promise | void { + const command = new ListTestRecommendationsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported + * resource is a resource that exists in the object that was used to create an app, but is not + * supported by Resilience Hub.

                                              + */ + public listUnsupportedAppVersionResources( + args: ListUnsupportedAppVersionResourcesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listUnsupportedAppVersionResources( + args: ListUnsupportedAppVersionResourcesCommandInput, + cb: (err: any, data?: ListUnsupportedAppVersionResourcesCommandOutput) => void + ): void; + public listUnsupportedAppVersionResources( + args: ListUnsupportedAppVersionResourcesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListUnsupportedAppVersionResourcesCommandOutput) => void + ): void; + public listUnsupportedAppVersionResources( + args: ListUnsupportedAppVersionResourcesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListUnsupportedAppVersionResourcesCommandOutput) => void), + cb?: (err: any, data?: ListUnsupportedAppVersionResourcesCommandOutput) => void + ): Promise | void { + const command = new ListUnsupportedAppVersionResourcesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Publishes a new version of a specific Resilience Hub application.

                                              + */ + public publishAppVersion( + args: PublishAppVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public publishAppVersion( + args: PublishAppVersionCommandInput, + cb: (err: any, data?: PublishAppVersionCommandOutput) => void + ): void; + public publishAppVersion( + args: PublishAppVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PublishAppVersionCommandOutput) => void + ): void; + public publishAppVersion( + args: PublishAppVersionCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PublishAppVersionCommandOutput) => void), + cb?: (err: any, data?: PublishAppVersionCommandOutput) => void + ): Promise | void { + const command = new PublishAppVersionCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Adds or updates the app template for a draft version of a Resilience Hub app.

                                              + */ + public putDraftAppVersionTemplate( + args: PutDraftAppVersionTemplateCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public putDraftAppVersionTemplate( + args: PutDraftAppVersionTemplateCommandInput, + cb: (err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void + ): void; + public putDraftAppVersionTemplate( + args: PutDraftAppVersionTemplateCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void + ): void; + public putDraftAppVersionTemplate( + args: PutDraftAppVersionTemplateCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void), + cb?: (err: any, data?: PutDraftAppVersionTemplateCommandOutput) => void + ): Promise | void { + const command = new PutDraftAppVersionTemplateCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Removes resource mappings from a draft application version.

                                              + */ + public removeDraftAppVersionResourceMappings( + args: RemoveDraftAppVersionResourceMappingsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public removeDraftAppVersionResourceMappings( + args: RemoveDraftAppVersionResourceMappingsCommandInput, + cb: (err: any, data?: RemoveDraftAppVersionResourceMappingsCommandOutput) => void + ): void; + public removeDraftAppVersionResourceMappings( + args: RemoveDraftAppVersionResourceMappingsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RemoveDraftAppVersionResourceMappingsCommandOutput) => void + ): void; + public removeDraftAppVersionResourceMappings( + args: RemoveDraftAppVersionResourceMappingsCommandInput, + optionsOrCb?: + | __HttpHandlerOptions + | ((err: any, data?: RemoveDraftAppVersionResourceMappingsCommandOutput) => void), + cb?: (err: any, data?: RemoveDraftAppVersionResourceMappingsCommandOutput) => void + ): Promise | void { + const command = new RemoveDraftAppVersionResourceMappingsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Resolves the resources for an application version.

                                              + */ + public resolveAppVersionResources( + args: ResolveAppVersionResourcesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public resolveAppVersionResources( + args: ResolveAppVersionResourcesCommandInput, + cb: (err: any, data?: ResolveAppVersionResourcesCommandOutput) => void + ): void; + public resolveAppVersionResources( + args: ResolveAppVersionResourcesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ResolveAppVersionResourcesCommandOutput) => void + ): void; + public resolveAppVersionResources( + args: ResolveAppVersionResourcesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResolveAppVersionResourcesCommandOutput) => void), + cb?: (err: any, data?: ResolveAppVersionResourcesCommandOutput) => void + ): Promise | void { + const command = new ResolveAppVersionResourcesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Creates a new application assessment for an application.

                                              + */ + public startAppAssessment( + args: StartAppAssessmentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public startAppAssessment( + args: StartAppAssessmentCommandInput, + cb: (err: any, data?: StartAppAssessmentCommandOutput) => void + ): void; + public startAppAssessment( + args: StartAppAssessmentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartAppAssessmentCommandOutput) => void + ): void; + public startAppAssessment( + args: StartAppAssessmentCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartAppAssessmentCommandOutput) => void), + cb?: (err: any, data?: StartAppAssessmentCommandOutput) => void + ): Promise | void { + const command = new StartAppAssessmentCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Applies one or more tags to a resource.

                                              + */ + public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; + public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; + public tagResource( + args: TagResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: TagResourceCommandOutput) => void + ): void; + public tagResource( + args: TagResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void), + cb?: (err: any, data?: TagResourceCommandOutput) => void + ): Promise | void { + const command = new TagResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Removes one or more tags from a resource.

                                              + */ + public untagResource( + args: UntagResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public untagResource( + args: UntagResourceCommandInput, + cb: (err: any, data?: UntagResourceCommandOutput) => void + ): void; + public untagResource( + args: UntagResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UntagResourceCommandOutput) => void + ): void; + public untagResource( + args: UntagResourceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void), + cb?: (err: any, data?: UntagResourceCommandOutput) => void + ): Promise | void { + const command = new UntagResourceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Updates an application.

                                              + */ + public updateApp(args: UpdateAppCommandInput, options?: __HttpHandlerOptions): Promise; + public updateApp(args: UpdateAppCommandInput, cb: (err: any, data?: UpdateAppCommandOutput) => void): void; + public updateApp( + args: UpdateAppCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateAppCommandOutput) => void + ): void; + public updateApp( + args: UpdateAppCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAppCommandOutput) => void), + cb?: (err: any, data?: UpdateAppCommandOutput) => void + ): Promise | void { + const command = new UpdateAppCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

                                              Updates a resiliency policy.

                                              + */ + public updateResiliencyPolicy( + args: UpdateResiliencyPolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateResiliencyPolicy( + args: UpdateResiliencyPolicyCommandInput, + cb: (err: any, data?: UpdateResiliencyPolicyCommandOutput) => void + ): void; + public updateResiliencyPolicy( + args: UpdateResiliencyPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateResiliencyPolicyCommandOutput) => void + ): void; + public updateResiliencyPolicy( + args: UpdateResiliencyPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateResiliencyPolicyCommandOutput) => void), + cb?: (err: any, data?: UpdateResiliencyPolicyCommandOutput) => void + ): Promise | void { + const command = new UpdateResiliencyPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } +} diff --git a/clients/client-resiliencehub/src/ResiliencehubClient.ts b/clients/client-resiliencehub/src/ResiliencehubClient.ts new file mode 100644 index 0000000000000..262acf58b0839 --- /dev/null +++ b/clients/client-resiliencehub/src/ResiliencehubClient.ts @@ -0,0 +1,451 @@ +import { + EndpointsInputConfig, + EndpointsResolvedConfig, + RegionInputConfig, + RegionResolvedConfig, + resolveEndpointsConfig, + resolveRegionConfig, +} from "@aws-sdk/config-resolver"; +import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length"; +import { + getHostHeaderPlugin, + HostHeaderInputConfig, + HostHeaderResolvedConfig, + resolveHostHeaderConfig, +} from "@aws-sdk/middleware-host-header"; +import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; +import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry"; +import { + AwsAuthInputConfig, + AwsAuthResolvedConfig, + getAwsAuthPlugin, + resolveAwsAuthConfig, +} from "@aws-sdk/middleware-signing"; +import { + getUserAgentPlugin, + resolveUserAgentConfig, + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http"; +import { + Client as __Client, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, +} from "@aws-sdk/smithy-client"; +import { + Credentials as __Credentials, + Decoder as __Decoder, + Encoder as __Encoder, + Hash as __Hash, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + Provider, + RegionInfoProvider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@aws-sdk/types"; + +import { + AddDraftAppVersionResourceMappingsCommandInput, + AddDraftAppVersionResourceMappingsCommandOutput, +} from "./commands/AddDraftAppVersionResourceMappingsCommand"; +import { CreateAppCommandInput, CreateAppCommandOutput } from "./commands/CreateAppCommand"; +import { + CreateRecommendationTemplateCommandInput, + CreateRecommendationTemplateCommandOutput, +} from "./commands/CreateRecommendationTemplateCommand"; +import { + CreateResiliencyPolicyCommandInput, + CreateResiliencyPolicyCommandOutput, +} from "./commands/CreateResiliencyPolicyCommand"; +import { + DeleteAppAssessmentCommandInput, + DeleteAppAssessmentCommandOutput, +} from "./commands/DeleteAppAssessmentCommand"; +import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand"; +import { + DeleteRecommendationTemplateCommandInput, + DeleteRecommendationTemplateCommandOutput, +} from "./commands/DeleteRecommendationTemplateCommand"; +import { + DeleteResiliencyPolicyCommandInput, + DeleteResiliencyPolicyCommandOutput, +} from "./commands/DeleteResiliencyPolicyCommand"; +import { + DescribeAppAssessmentCommandInput, + DescribeAppAssessmentCommandOutput, +} from "./commands/DescribeAppAssessmentCommand"; +import { DescribeAppCommandInput, DescribeAppCommandOutput } from "./commands/DescribeAppCommand"; +import { + DescribeAppVersionResourcesResolutionStatusCommandInput, + DescribeAppVersionResourcesResolutionStatusCommandOutput, +} from "./commands/DescribeAppVersionResourcesResolutionStatusCommand"; +import { + DescribeAppVersionTemplateCommandInput, + DescribeAppVersionTemplateCommandOutput, +} from "./commands/DescribeAppVersionTemplateCommand"; +import { + DescribeDraftAppVersionResourcesImportStatusCommandInput, + DescribeDraftAppVersionResourcesImportStatusCommandOutput, +} from "./commands/DescribeDraftAppVersionResourcesImportStatusCommand"; +import { + DescribeResiliencyPolicyCommandInput, + DescribeResiliencyPolicyCommandOutput, +} from "./commands/DescribeResiliencyPolicyCommand"; +import { + ImportResourcesToDraftAppVersionCommandInput, + ImportResourcesToDraftAppVersionCommandOutput, +} from "./commands/ImportResourcesToDraftAppVersionCommand"; +import { + ListAlarmRecommendationsCommandInput, + ListAlarmRecommendationsCommandOutput, +} from "./commands/ListAlarmRecommendationsCommand"; +import { ListAppAssessmentsCommandInput, ListAppAssessmentsCommandOutput } from "./commands/ListAppAssessmentsCommand"; +import { + ListAppComponentCompliancesCommandInput, + ListAppComponentCompliancesCommandOutput, +} from "./commands/ListAppComponentCompliancesCommand"; +import { + ListAppComponentRecommendationsCommandInput, + ListAppComponentRecommendationsCommandOutput, +} from "./commands/ListAppComponentRecommendationsCommand"; +import { ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand"; +import { + ListAppVersionResourceMappingsCommandInput, + ListAppVersionResourceMappingsCommandOutput, +} from "./commands/ListAppVersionResourceMappingsCommand"; +import { + ListAppVersionResourcesCommandInput, + ListAppVersionResourcesCommandOutput, +} from "./commands/ListAppVersionResourcesCommand"; +import { ListAppVersionsCommandInput, ListAppVersionsCommandOutput } from "./commands/ListAppVersionsCommand"; +import { + ListRecommendationTemplatesCommandInput, + ListRecommendationTemplatesCommandOutput, +} from "./commands/ListRecommendationTemplatesCommand"; +import { + ListResiliencyPoliciesCommandInput, + ListResiliencyPoliciesCommandOutput, +} from "./commands/ListResiliencyPoliciesCommand"; +import { + ListSopRecommendationsCommandInput, + ListSopRecommendationsCommandOutput, +} from "./commands/ListSopRecommendationsCommand"; +import { + ListSuggestedResiliencyPoliciesCommandInput, + ListSuggestedResiliencyPoliciesCommandOutput, +} from "./commands/ListSuggestedResiliencyPoliciesCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "./commands/ListTagsForResourceCommand"; +import { + ListTestRecommendationsCommandInput, + ListTestRecommendationsCommandOutput, +} from "./commands/ListTestRecommendationsCommand"; +import { + ListUnsupportedAppVersionResourcesCommandInput, + ListUnsupportedAppVersionResourcesCommandOutput, +} from "./commands/ListUnsupportedAppVersionResourcesCommand"; +import { PublishAppVersionCommandInput, PublishAppVersionCommandOutput } from "./commands/PublishAppVersionCommand"; +import { + PutDraftAppVersionTemplateCommandInput, + PutDraftAppVersionTemplateCommandOutput, +} from "./commands/PutDraftAppVersionTemplateCommand"; +import { + RemoveDraftAppVersionResourceMappingsCommandInput, + RemoveDraftAppVersionResourceMappingsCommandOutput, +} from "./commands/RemoveDraftAppVersionResourceMappingsCommand"; +import { + ResolveAppVersionResourcesCommandInput, + ResolveAppVersionResourcesCommandOutput, +} from "./commands/ResolveAppVersionResourcesCommand"; +import { StartAppAssessmentCommandInput, StartAppAssessmentCommandOutput } from "./commands/StartAppAssessmentCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; +import { UpdateAppCommandInput, UpdateAppCommandOutput } from "./commands/UpdateAppCommand"; +import { + UpdateResiliencyPolicyCommandInput, + UpdateResiliencyPolicyCommandOutput, +} from "./commands/UpdateResiliencyPolicyCommand"; +import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; + +export type ServiceInputTypes = + | AddDraftAppVersionResourceMappingsCommandInput + | CreateAppCommandInput + | CreateRecommendationTemplateCommandInput + | CreateResiliencyPolicyCommandInput + | DeleteAppAssessmentCommandInput + | DeleteAppCommandInput + | DeleteRecommendationTemplateCommandInput + | DeleteResiliencyPolicyCommandInput + | DescribeAppAssessmentCommandInput + | DescribeAppCommandInput + | DescribeAppVersionResourcesResolutionStatusCommandInput + | DescribeAppVersionTemplateCommandInput + | DescribeDraftAppVersionResourcesImportStatusCommandInput + | DescribeResiliencyPolicyCommandInput + | ImportResourcesToDraftAppVersionCommandInput + | ListAlarmRecommendationsCommandInput + | ListAppAssessmentsCommandInput + | ListAppComponentCompliancesCommandInput + | ListAppComponentRecommendationsCommandInput + | ListAppVersionResourceMappingsCommandInput + | ListAppVersionResourcesCommandInput + | ListAppVersionsCommandInput + | ListAppsCommandInput + | ListRecommendationTemplatesCommandInput + | ListResiliencyPoliciesCommandInput + | ListSopRecommendationsCommandInput + | ListSuggestedResiliencyPoliciesCommandInput + | ListTagsForResourceCommandInput + | ListTestRecommendationsCommandInput + | ListUnsupportedAppVersionResourcesCommandInput + | PublishAppVersionCommandInput + | PutDraftAppVersionTemplateCommandInput + | RemoveDraftAppVersionResourceMappingsCommandInput + | ResolveAppVersionResourcesCommandInput + | StartAppAssessmentCommandInput + | TagResourceCommandInput + | UntagResourceCommandInput + | UpdateAppCommandInput + | UpdateResiliencyPolicyCommandInput; + +export type ServiceOutputTypes = + | AddDraftAppVersionResourceMappingsCommandOutput + | CreateAppCommandOutput + | CreateRecommendationTemplateCommandOutput + | CreateResiliencyPolicyCommandOutput + | DeleteAppAssessmentCommandOutput + | DeleteAppCommandOutput + | DeleteRecommendationTemplateCommandOutput + | DeleteResiliencyPolicyCommandOutput + | DescribeAppAssessmentCommandOutput + | DescribeAppCommandOutput + | DescribeAppVersionResourcesResolutionStatusCommandOutput + | DescribeAppVersionTemplateCommandOutput + | DescribeDraftAppVersionResourcesImportStatusCommandOutput + | DescribeResiliencyPolicyCommandOutput + | ImportResourcesToDraftAppVersionCommandOutput + | ListAlarmRecommendationsCommandOutput + | ListAppAssessmentsCommandOutput + | ListAppComponentCompliancesCommandOutput + | ListAppComponentRecommendationsCommandOutput + | ListAppVersionResourceMappingsCommandOutput + | ListAppVersionResourcesCommandOutput + | ListAppVersionsCommandOutput + | ListAppsCommandOutput + | ListRecommendationTemplatesCommandOutput + | ListResiliencyPoliciesCommandOutput + | ListSopRecommendationsCommandOutput + | ListSuggestedResiliencyPoliciesCommandOutput + | ListTagsForResourceCommandOutput + | ListTestRecommendationsCommandOutput + | ListUnsupportedAppVersionResourcesCommandOutput + | PublishAppVersionCommandOutput + | PutDraftAppVersionTemplateCommandOutput + | RemoveDraftAppVersionResourceMappingsCommandOutput + | ResolveAppVersionResourcesCommandOutput + | StartAppAssessmentCommandOutput + | TagResourceCommandOutput + | UntagResourceCommandOutput + | UpdateAppCommandOutput + | UpdateResiliencyPolicyCommandOutput; + +export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandler; + + /** + * A constructor for a class implementing the {@link __Hash} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __HashConstructor; + + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: (body: any) => number | undefined; + + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + + /** + * The runtime environment. + * @internal + */ + runtime?: string; + + /** + * Disable dyanamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + + /** + * Specifies which retry algorithm to use. + */ + retryMode?: string | __Provider; + + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + + /** + * Default credentials provider; Not available in browser runtime. + * @internal + */ + credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; + + /** + * Fetch related hostname, signing name or signing region with given region. + * @internal + */ + regionInfoProvider?: RegionInfoProvider; + + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: Provider<__UserAgent>; +} + +type ResiliencehubClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & + ClientDefaults & + RegionInputConfig & + EndpointsInputConfig & + RetryInputConfig & + HostHeaderInputConfig & + AwsAuthInputConfig & + UserAgentInputConfig; +/** + * The configuration interface of ResiliencehubClient class constructor that set the region, credentials and other options. + */ +export interface ResiliencehubClientConfig extends ResiliencehubClientConfigType {} + +type ResiliencehubClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RegionResolvedConfig & + EndpointsResolvedConfig & + RetryResolvedConfig & + HostHeaderResolvedConfig & + AwsAuthResolvedConfig & + UserAgentResolvedConfig; +/** + * The resolved configuration interface of ResiliencehubClient class. This is resolved and normalized from the {@link ResiliencehubClientConfig | constructor configuration interface}. + */ +export interface ResiliencehubClientResolvedConfig extends ResiliencehubClientResolvedConfigType {} + +/** + *

                                              AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from + * disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates + * into your software development lifecycle. This enables you to uncover resiliency weaknesses, + * ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your + * applications are met, and resolve issues before they are released into production.

                                              + */ +export class ResiliencehubClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + ResiliencehubClientResolvedConfig +> { + /** + * The resolved configuration of ResiliencehubClient class. This is resolved and normalized from the {@link ResiliencehubClientConfig | constructor configuration interface}. + */ + readonly config: ResiliencehubClientResolvedConfig; + + constructor(configuration: ResiliencehubClientConfig) { + const _config_0 = __getRuntimeConfig(configuration); + const _config_1 = resolveRegionConfig(_config_0); + const _config_2 = resolveEndpointsConfig(_config_1); + const _config_3 = resolveRetryConfig(_config_2); + const _config_4 = resolveHostHeaderConfig(_config_3); + const _config_5 = resolveAwsAuthConfig(_config_4); + const _config_6 = resolveUserAgentConfig(_config_5); + super(_config_6); + this.config = _config_6; + this.middlewareStack.use(getRetryPlugin(this.config)); + this.middlewareStack.use(getContentLengthPlugin(this.config)); + this.middlewareStack.use(getHostHeaderPlugin(this.config)); + this.middlewareStack.use(getLoggerPlugin(this.config)); + this.middlewareStack.use(getAwsAuthPlugin(this.config)); + this.middlewareStack.use(getUserAgentPlugin(this.config)); + } + + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void { + super.destroy(); + } +} diff --git a/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts b/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts new file mode 100644 index 0000000000000..f5841aa60c9d8 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/AddDraftAppVersionResourceMappingsCommand.ts @@ -0,0 +1,106 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { + AddDraftAppVersionResourceMappingsRequest, + AddDraftAppVersionResourceMappingsResponse, +} from "../models/models_0"; +import { + deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommand, + serializeAws_restJson1AddDraftAppVersionResourceMappingsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface AddDraftAppVersionResourceMappingsCommandInput extends AddDraftAppVersionResourceMappingsRequest {} +export interface AddDraftAppVersionResourceMappingsCommandOutput + extends AddDraftAppVersionResourceMappingsResponse, + __MetadataBearer {} + +/** + *

                                              Adds the resource mapping for the draft application version.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, AddDraftAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, AddDraftAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new AddDraftAppVersionResourceMappingsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link AddDraftAppVersionResourceMappingsCommandInput} for command's `input` shape. + * @see {@link AddDraftAppVersionResourceMappingsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class AddDraftAppVersionResourceMappingsCommand extends $Command< + AddDraftAppVersionResourceMappingsCommandInput, + AddDraftAppVersionResourceMappingsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: AddDraftAppVersionResourceMappingsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "AddDraftAppVersionResourceMappingsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: AddDraftAppVersionResourceMappingsRequest.filterSensitiveLog, + outputFilterSensitiveLog: AddDraftAppVersionResourceMappingsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: AddDraftAppVersionResourceMappingsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1AddDraftAppVersionResourceMappingsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/CreateAppCommand.ts b/clients/client-resiliencehub/src/commands/CreateAppCommand.ts new file mode 100644 index 0000000000000..39084261d3598 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/CreateAppCommand.ts @@ -0,0 +1,104 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { CreateAppRequest, CreateAppResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateAppCommand, + serializeAws_restJson1CreateAppCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface CreateAppCommandInput extends CreateAppRequest {} +export interface CreateAppCommandOutput extends CreateAppResponse, __MetadataBearer {} + +/** + *

                                              Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services + * resources structured to prevent and recover Amazon Web Services application disruptions. To describe a + * Resilience Hub application, you provide an application name, resources from one or more–up to + * five–CloudFormation stacks, and an appropriate resiliency policy.

                                              + * + *

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

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, CreateAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, CreateAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new CreateAppCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateAppCommandInput} for command's `input` shape. + * @see {@link CreateAppCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class CreateAppCommand extends $Command< + CreateAppCommandInput, + CreateAppCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateAppCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "CreateAppCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateAppRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateAppResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateAppCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateAppCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateAppCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts b/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts new file mode 100644 index 0000000000000..fbf322533d9ad --- /dev/null +++ b/clients/client-resiliencehub/src/commands/CreateRecommendationTemplateCommand.ts @@ -0,0 +1,100 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { CreateRecommendationTemplateRequest, CreateRecommendationTemplateResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateRecommendationTemplateCommand, + serializeAws_restJson1CreateRecommendationTemplateCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface CreateRecommendationTemplateCommandInput extends CreateRecommendationTemplateRequest {} +export interface CreateRecommendationTemplateCommandOutput + extends CreateRecommendationTemplateResponse, + __MetadataBearer {} + +/** + *

                                              Creates a new recommendation template.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, CreateRecommendationTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, CreateRecommendationTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new CreateRecommendationTemplateCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateRecommendationTemplateCommandInput} for command's `input` shape. + * @see {@link CreateRecommendationTemplateCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class CreateRecommendationTemplateCommand extends $Command< + CreateRecommendationTemplateCommandInput, + CreateRecommendationTemplateCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateRecommendationTemplateCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "CreateRecommendationTemplateCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateRecommendationTemplateRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateRecommendationTemplateResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateRecommendationTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateRecommendationTemplateCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1CreateRecommendationTemplateCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts new file mode 100644 index 0000000000000..56976e012a523 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/CreateResiliencyPolicyCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { CreateResiliencyPolicyRequest, CreateResiliencyPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreateResiliencyPolicyCommand, + serializeAws_restJson1CreateResiliencyPolicyCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface CreateResiliencyPolicyCommandInput extends CreateResiliencyPolicyRequest {} +export interface CreateResiliencyPolicyCommandOutput extends CreateResiliencyPolicyResponse, __MetadataBearer {} + +/** + *

                                              Creates a resiliency policy for an application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, CreateResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, CreateResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new CreateResiliencyPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateResiliencyPolicyCommandInput} for command's `input` shape. + * @see {@link CreateResiliencyPolicyCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class CreateResiliencyPolicyCommand extends $Command< + CreateResiliencyPolicyCommandInput, + CreateResiliencyPolicyCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateResiliencyPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "CreateResiliencyPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateResiliencyPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateResiliencyPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateResiliencyPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreateResiliencyPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreateResiliencyPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts b/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts new file mode 100644 index 0000000000000..3144f1fea6161 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DeleteAppAssessmentCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DeleteAppAssessmentRequest, DeleteAppAssessmentResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteAppAssessmentCommand, + serializeAws_restJson1DeleteAppAssessmentCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DeleteAppAssessmentCommandInput extends DeleteAppAssessmentRequest {} +export interface DeleteAppAssessmentCommandOutput extends DeleteAppAssessmentResponse, __MetadataBearer {} + +/** + *

                                              Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't + * be undone.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DeleteAppAssessmentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DeleteAppAssessmentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DeleteAppAssessmentCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteAppAssessmentCommandInput} for command's `input` shape. + * @see {@link DeleteAppAssessmentCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DeleteAppAssessmentCommand extends $Command< + DeleteAppAssessmentCommandInput, + DeleteAppAssessmentCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteAppAssessmentCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DeleteAppAssessmentCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteAppAssessmentRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteAppAssessmentResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteAppAssessmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteAppAssessmentCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteAppAssessmentCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DeleteAppCommand.ts b/clients/client-resiliencehub/src/commands/DeleteAppCommand.ts new file mode 100644 index 0000000000000..c0a012025d138 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DeleteAppCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DeleteAppRequest, DeleteAppResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteAppCommand, + serializeAws_restJson1DeleteAppCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DeleteAppCommandInput extends DeleteAppRequest {} +export interface DeleteAppCommandOutput extends DeleteAppResponse, __MetadataBearer {} + +/** + *

                                              Deletes an AWS Resilience Hub application. This is a destructive action that can't be + * undone.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DeleteAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DeleteAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DeleteAppCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteAppCommandInput} for command's `input` shape. + * @see {@link DeleteAppCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DeleteAppCommand extends $Command< + DeleteAppCommandInput, + DeleteAppCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteAppCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DeleteAppCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteAppRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteAppResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteAppCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteAppCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteAppCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts b/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts new file mode 100644 index 0000000000000..10e64a2182769 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DeleteRecommendationTemplateCommand.ts @@ -0,0 +1,101 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DeleteRecommendationTemplateRequest, DeleteRecommendationTemplateResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteRecommendationTemplateCommand, + serializeAws_restJson1DeleteRecommendationTemplateCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DeleteRecommendationTemplateCommandInput extends DeleteRecommendationTemplateRequest {} +export interface DeleteRecommendationTemplateCommandOutput + extends DeleteRecommendationTemplateResponse, + __MetadataBearer {} + +/** + *

                                              Deletes a recommendation template. This is a destructive action that can't be + * undone.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DeleteRecommendationTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DeleteRecommendationTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DeleteRecommendationTemplateCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteRecommendationTemplateCommandInput} for command's `input` shape. + * @see {@link DeleteRecommendationTemplateCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DeleteRecommendationTemplateCommand extends $Command< + DeleteRecommendationTemplateCommandInput, + DeleteRecommendationTemplateCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteRecommendationTemplateCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DeleteRecommendationTemplateCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteRecommendationTemplateRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteRecommendationTemplateResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteRecommendationTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteRecommendationTemplateCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1DeleteRecommendationTemplateCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DeleteResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/DeleteResiliencyPolicyCommand.ts new file mode 100644 index 0000000000000..d8fab7317afbe --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DeleteResiliencyPolicyCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DeleteResiliencyPolicyRequest, DeleteResiliencyPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeleteResiliencyPolicyCommand, + serializeAws_restJson1DeleteResiliencyPolicyCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DeleteResiliencyPolicyCommandInput extends DeleteResiliencyPolicyRequest {} +export interface DeleteResiliencyPolicyCommandOutput extends DeleteResiliencyPolicyResponse, __MetadataBearer {} + +/** + *

                                              Deletes a resiliency policy. This is a destructive action that can't be undone.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DeleteResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DeleteResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DeleteResiliencyPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteResiliencyPolicyCommandInput} for command's `input` shape. + * @see {@link DeleteResiliencyPolicyCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DeleteResiliencyPolicyCommand extends $Command< + DeleteResiliencyPolicyCommandInput, + DeleteResiliencyPolicyCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteResiliencyPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DeleteResiliencyPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteResiliencyPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteResiliencyPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteResiliencyPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeleteResiliencyPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeleteResiliencyPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts new file mode 100644 index 0000000000000..830cfd43d9fce --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DescribeAppAssessmentCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DescribeAppAssessmentRequest, DescribeAppAssessmentResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeAppAssessmentCommand, + serializeAws_restJson1DescribeAppAssessmentCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DescribeAppAssessmentCommandInput extends DescribeAppAssessmentRequest {} +export interface DescribeAppAssessmentCommandOutput extends DescribeAppAssessmentResponse, __MetadataBearer {} + +/** + *

                                              Describes an assessment for an AWS Resilience Hub application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DescribeAppAssessmentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DescribeAppAssessmentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DescribeAppAssessmentCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeAppAssessmentCommandInput} for command's `input` shape. + * @see {@link DescribeAppAssessmentCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DescribeAppAssessmentCommand extends $Command< + DescribeAppAssessmentCommandInput, + DescribeAppAssessmentCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeAppAssessmentCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DescribeAppAssessmentCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeAppAssessmentRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeAppAssessmentResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeAppAssessmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeAppAssessmentCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeAppAssessmentCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts new file mode 100644 index 0000000000000..292db843a6936 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DescribeAppCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DescribeAppRequest, DescribeAppResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeAppCommand, + serializeAws_restJson1DescribeAppCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DescribeAppCommandInput extends DescribeAppRequest {} +export interface DescribeAppCommandOutput extends DescribeAppResponse, __MetadataBearer {} + +/** + *

                                              Describes an AWS Resilience Hub application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DescribeAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DescribeAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DescribeAppCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeAppCommandInput} for command's `input` shape. + * @see {@link DescribeAppCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DescribeAppCommand extends $Command< + DescribeAppCommandInput, + DescribeAppCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeAppCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DescribeAppCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeAppRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeAppResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeAppCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeAppCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeAppCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts new file mode 100644 index 0000000000000..e58c8da06519a --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DescribeAppVersionResourcesResolutionStatusCommand.ts @@ -0,0 +1,112 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { + DescribeAppVersionResourcesResolutionStatusRequest, + DescribeAppVersionResourcesResolutionStatusResponse, +} from "../models/models_0"; +import { + deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand, + serializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DescribeAppVersionResourcesResolutionStatusCommandInput + extends DescribeAppVersionResourcesResolutionStatusRequest {} +export interface DescribeAppVersionResourcesResolutionStatusCommandOutput + extends DescribeAppVersionResourcesResolutionStatusResponse, + __MetadataBearer {} + +/** + *

                                              Returns the resolution status for the specified resolution identifier for an application + * version. If resolutionId is not specified, the current resolution status is + * returned.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DescribeAppVersionResourcesResolutionStatusCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DescribeAppVersionResourcesResolutionStatusCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DescribeAppVersionResourcesResolutionStatusCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeAppVersionResourcesResolutionStatusCommandInput} for command's `input` shape. + * @see {@link DescribeAppVersionResourcesResolutionStatusCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DescribeAppVersionResourcesResolutionStatusCommand extends $Command< + DescribeAppVersionResourcesResolutionStatusCommandInput, + DescribeAppVersionResourcesResolutionStatusCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeAppVersionResourcesResolutionStatusCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeAppVersionResourcesResolutionStatusCommandInput, + DescribeAppVersionResourcesResolutionStatusCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DescribeAppVersionResourcesResolutionStatusCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeAppVersionResourcesResolutionStatusRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeAppVersionResourcesResolutionStatusResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DescribeAppVersionResourcesResolutionStatusCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DescribeAppVersionTemplateCommand.ts b/clients/client-resiliencehub/src/commands/DescribeAppVersionTemplateCommand.ts new file mode 100644 index 0000000000000..e624c79edae12 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DescribeAppVersionTemplateCommand.ts @@ -0,0 +1,98 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DescribeAppVersionTemplateRequest, DescribeAppVersionTemplateResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeAppVersionTemplateCommand, + serializeAws_restJson1DescribeAppVersionTemplateCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DescribeAppVersionTemplateCommandInput extends DescribeAppVersionTemplateRequest {} +export interface DescribeAppVersionTemplateCommandOutput extends DescribeAppVersionTemplateResponse, __MetadataBearer {} + +/** + *

                                              Describes details about an AWS Resilience Hub

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DescribeAppVersionTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DescribeAppVersionTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DescribeAppVersionTemplateCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeAppVersionTemplateCommandInput} for command's `input` shape. + * @see {@link DescribeAppVersionTemplateCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DescribeAppVersionTemplateCommand extends $Command< + DescribeAppVersionTemplateCommandInput, + DescribeAppVersionTemplateCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeAppVersionTemplateCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DescribeAppVersionTemplateCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeAppVersionTemplateRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeAppVersionTemplateResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeAppVersionTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeAppVersionTemplateCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1DescribeAppVersionTemplateCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts b/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts new file mode 100644 index 0000000000000..0997286a7d739 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DescribeDraftAppVersionResourcesImportStatusCommand.ts @@ -0,0 +1,110 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { + DescribeDraftAppVersionResourcesImportStatusRequest, + DescribeDraftAppVersionResourcesImportStatusResponse, +} from "../models/models_0"; +import { + deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand, + serializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DescribeDraftAppVersionResourcesImportStatusCommandInput + extends DescribeDraftAppVersionResourcesImportStatusRequest {} +export interface DescribeDraftAppVersionResourcesImportStatusCommandOutput + extends DescribeDraftAppVersionResourcesImportStatusResponse, + __MetadataBearer {} + +/** + *

                                              Describes the status of importing resources to an application version.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DescribeDraftAppVersionResourcesImportStatusCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DescribeDraftAppVersionResourcesImportStatusCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DescribeDraftAppVersionResourcesImportStatusCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeDraftAppVersionResourcesImportStatusCommandInput} for command's `input` shape. + * @see {@link DescribeDraftAppVersionResourcesImportStatusCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DescribeDraftAppVersionResourcesImportStatusCommand extends $Command< + DescribeDraftAppVersionResourcesImportStatusCommandInput, + DescribeDraftAppVersionResourcesImportStatusCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeDraftAppVersionResourcesImportStatusCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeDraftAppVersionResourcesImportStatusCommandInput, + DescribeDraftAppVersionResourcesImportStatusCommandOutput + > { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DescribeDraftAppVersionResourcesImportStatusCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeDraftAppVersionResourcesImportStatusRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeDraftAppVersionResourcesImportStatusResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: DescribeDraftAppVersionResourcesImportStatusCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts new file mode 100644 index 0000000000000..e9b270af860d2 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/DescribeResiliencyPolicyCommand.ts @@ -0,0 +1,97 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DescribeResiliencyPolicyRequest, DescribeResiliencyPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DescribeResiliencyPolicyCommand, + serializeAws_restJson1DescribeResiliencyPolicyCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface DescribeResiliencyPolicyCommandInput extends DescribeResiliencyPolicyRequest {} +export interface DescribeResiliencyPolicyCommandOutput extends DescribeResiliencyPolicyResponse, __MetadataBearer {} + +/** + *

                                              Describes a specified resiliency policy for an AWS Resilience Hub application. The returned + * policy object includes creation time, data location constraints, the Amazon Resource Name + * (ARN) for the policy, tags, tier, and more.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, DescribeResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, DescribeResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new DescribeResiliencyPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DescribeResiliencyPolicyCommandInput} for command's `input` shape. + * @see {@link DescribeResiliencyPolicyCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class DescribeResiliencyPolicyCommand extends $Command< + DescribeResiliencyPolicyCommandInput, + DescribeResiliencyPolicyCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DescribeResiliencyPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "DescribeResiliencyPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DescribeResiliencyPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: DescribeResiliencyPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DescribeResiliencyPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DescribeResiliencyPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DescribeResiliencyPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts b/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts new file mode 100644 index 0000000000000..e6386307aaaf0 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ImportResourcesToDraftAppVersionCommand.ts @@ -0,0 +1,104 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ImportResourcesToDraftAppVersionRequest, ImportResourcesToDraftAppVersionResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ImportResourcesToDraftAppVersionCommand, + serializeAws_restJson1ImportResourcesToDraftAppVersionCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ImportResourcesToDraftAppVersionCommandInput extends ImportResourcesToDraftAppVersionRequest {} +export interface ImportResourcesToDraftAppVersionCommandOutput + extends ImportResourcesToDraftAppVersionResponse, + __MetadataBearer {} + +/** + *

                                              Imports resources from sources such as a CloudFormation stack, resource-groups, or application + * registry app to a draft application version.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ImportResourcesToDraftAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ImportResourcesToDraftAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ImportResourcesToDraftAppVersionCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ImportResourcesToDraftAppVersionCommandInput} for command's `input` shape. + * @see {@link ImportResourcesToDraftAppVersionCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ImportResourcesToDraftAppVersionCommand extends $Command< + ImportResourcesToDraftAppVersionCommandInput, + ImportResourcesToDraftAppVersionCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ImportResourcesToDraftAppVersionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ImportResourcesToDraftAppVersionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ImportResourcesToDraftAppVersionRequest.filterSensitiveLog, + outputFilterSensitiveLog: ImportResourcesToDraftAppVersionResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ImportResourcesToDraftAppVersionCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1ImportResourcesToDraftAppVersionCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ImportResourcesToDraftAppVersionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts new file mode 100644 index 0000000000000..f7cbc3b9b0593 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAlarmRecommendationsCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAlarmRecommendationsRequest, ListAlarmRecommendationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAlarmRecommendationsCommand, + serializeAws_restJson1ListAlarmRecommendationsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAlarmRecommendationsCommandInput extends ListAlarmRecommendationsRequest {} +export interface ListAlarmRecommendationsCommandOutput extends ListAlarmRecommendationsResponse, __MetadataBearer {} + +/** + *

                                              Lists the alarm recommendations for a AWS Resilience Hub application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAlarmRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAlarmRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAlarmRecommendationsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAlarmRecommendationsCommandInput} for command's `input` shape. + * @see {@link ListAlarmRecommendationsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAlarmRecommendationsCommand extends $Command< + ListAlarmRecommendationsCommandInput, + ListAlarmRecommendationsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAlarmRecommendationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAlarmRecommendationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAlarmRecommendationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAlarmRecommendationsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAlarmRecommendationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAlarmRecommendationsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAlarmRecommendationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts new file mode 100644 index 0000000000000..5001fe327e4f6 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppAssessmentsCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppAssessmentsRequest, ListAppAssessmentsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppAssessmentsCommand, + serializeAws_restJson1ListAppAssessmentsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppAssessmentsCommandInput extends ListAppAssessmentsRequest {} +export interface ListAppAssessmentsCommandOutput extends ListAppAssessmentsResponse, __MetadataBearer {} + +/** + *

                                              Lists the assessments for an AWS Resilience Hub application. You can use request parameters to + * refine the results for the response object.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppAssessmentsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppAssessmentsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppAssessmentsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppAssessmentsCommandInput} for command's `input` shape. + * @see {@link ListAppAssessmentsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppAssessmentsCommand extends $Command< + ListAppAssessmentsCommandInput, + ListAppAssessmentsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppAssessmentsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppAssessmentsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppAssessmentsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppAssessmentsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAppAssessmentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppAssessmentsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAppAssessmentsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts b/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts new file mode 100644 index 0000000000000..edcd4a6573fc7 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppComponentCompliancesCommand.ts @@ -0,0 +1,100 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppComponentCompliancesRequest, ListAppComponentCompliancesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppComponentCompliancesCommand, + serializeAws_restJson1ListAppComponentCompliancesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppComponentCompliancesCommandInput extends ListAppComponentCompliancesRequest {} +export interface ListAppComponentCompliancesCommandOutput + extends ListAppComponentCompliancesResponse, + __MetadataBearer {} + +/** + *

                                              Lists the compliances for an AWS Resilience Hub component.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppComponentCompliancesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppComponentCompliancesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppComponentCompliancesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppComponentCompliancesCommandInput} for command's `input` shape. + * @see {@link ListAppComponentCompliancesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppComponentCompliancesCommand extends $Command< + ListAppComponentCompliancesCommandInput, + ListAppComponentCompliancesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppComponentCompliancesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppComponentCompliancesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppComponentCompliancesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppComponentCompliancesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAppComponentCompliancesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppComponentCompliancesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListAppComponentCompliancesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts new file mode 100644 index 0000000000000..c03d66040eb50 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppComponentRecommendationsCommand.ts @@ -0,0 +1,103 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppComponentRecommendationsRequest, ListAppComponentRecommendationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppComponentRecommendationsCommand, + serializeAws_restJson1ListAppComponentRecommendationsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppComponentRecommendationsCommandInput extends ListAppComponentRecommendationsRequest {} +export interface ListAppComponentRecommendationsCommandOutput + extends ListAppComponentRecommendationsResponse, + __MetadataBearer {} + +/** + *

                                              Lists the recommendations for an AWS Resilience Hub component.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppComponentRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppComponentRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppComponentRecommendationsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppComponentRecommendationsCommandInput} for command's `input` shape. + * @see {@link ListAppComponentRecommendationsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppComponentRecommendationsCommand extends $Command< + ListAppComponentRecommendationsCommandInput, + ListAppComponentRecommendationsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppComponentRecommendationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppComponentRecommendationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppComponentRecommendationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppComponentRecommendationsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ListAppComponentRecommendationsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppComponentRecommendationsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListAppComponentRecommendationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts new file mode 100644 index 0000000000000..cd29b905e3c7b --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppVersionResourceMappingsCommand.ts @@ -0,0 +1,105 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppVersionResourceMappingsRequest, ListAppVersionResourceMappingsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppVersionResourceMappingsCommand, + serializeAws_restJson1ListAppVersionResourceMappingsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppVersionResourceMappingsCommandInput extends ListAppVersionResourceMappingsRequest {} +export interface ListAppVersionResourceMappingsCommandOutput + extends ListAppVersionResourceMappingsResponse, + __MetadataBearer {} + +/** + *

                                              Lists how the resources in an application version are mapped/sourced from. Mappings can be + * physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry + * app.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppVersionResourceMappingsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppVersionResourceMappingsCommandInput} for command's `input` shape. + * @see {@link ListAppVersionResourceMappingsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppVersionResourceMappingsCommand extends $Command< + ListAppVersionResourceMappingsCommandInput, + ListAppVersionResourceMappingsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppVersionResourceMappingsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppVersionResourceMappingsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppVersionResourceMappingsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppVersionResourceMappingsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ListAppVersionResourceMappingsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppVersionResourceMappingsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListAppVersionResourceMappingsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts b/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts new file mode 100644 index 0000000000000..54cea82d6bc72 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppVersionResourcesCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppVersionResourcesRequest, ListAppVersionResourcesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppVersionResourcesCommand, + serializeAws_restJson1ListAppVersionResourcesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppVersionResourcesCommandInput extends ListAppVersionResourcesRequest {} +export interface ListAppVersionResourcesCommandOutput extends ListAppVersionResourcesResponse, __MetadataBearer {} + +/** + *

                                              Lists all the resources in an application version.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppVersionResourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppVersionResourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppVersionResourcesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppVersionResourcesCommandInput} for command's `input` shape. + * @see {@link ListAppVersionResourcesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppVersionResourcesCommand extends $Command< + ListAppVersionResourcesCommandInput, + ListAppVersionResourcesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppVersionResourcesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppVersionResourcesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppVersionResourcesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppVersionResourcesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAppVersionResourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppVersionResourcesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAppVersionResourcesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppVersionsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppVersionsCommand.ts new file mode 100644 index 0000000000000..79672d9fb1e61 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppVersionsCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppVersionsRequest, ListAppVersionsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppVersionsCommand, + serializeAws_restJson1ListAppVersionsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppVersionsCommandInput extends ListAppVersionsRequest {} +export interface ListAppVersionsCommandOutput extends ListAppVersionsResponse, __MetadataBearer {} + +/** + *

                                              Lists the different versions for the Resilience Hub applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppVersionsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppVersionsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppVersionsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppVersionsCommandInput} for command's `input` shape. + * @see {@link ListAppVersionsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppVersionsCommand extends $Command< + ListAppVersionsCommandInput, + ListAppVersionsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppVersionsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppVersionsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppVersionsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppVersionsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAppVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppVersionsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAppVersionsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListAppsCommand.ts b/clients/client-resiliencehub/src/commands/ListAppsCommand.ts new file mode 100644 index 0000000000000..3f498ae5bea84 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListAppsCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListAppsRequest, ListAppsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListAppsCommand, + serializeAws_restJson1ListAppsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListAppsCommandInput extends ListAppsRequest {} +export interface ListAppsCommandOutput extends ListAppsResponse, __MetadataBearer {} + +/** + *

                                              Lists your Resilience Hub applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListAppsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListAppsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListAppsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListAppsCommandInput} for command's `input` shape. + * @see {@link ListAppsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListAppsCommand extends $Command< + ListAppsCommandInput, + ListAppsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListAppsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListAppsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListAppsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListAppsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListAppsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListAppsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListAppsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts b/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts new file mode 100644 index 0000000000000..5ca420cdf2eda --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListRecommendationTemplatesCommand.ts @@ -0,0 +1,100 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListRecommendationTemplatesRequest, ListRecommendationTemplatesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListRecommendationTemplatesCommand, + serializeAws_restJson1ListRecommendationTemplatesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListRecommendationTemplatesCommandInput extends ListRecommendationTemplatesRequest {} +export interface ListRecommendationTemplatesCommandOutput + extends ListRecommendationTemplatesResponse, + __MetadataBearer {} + +/** + *

                                              Lists the recommendation templates for the Resilience Hub applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListRecommendationTemplatesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListRecommendationTemplatesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListRecommendationTemplatesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListRecommendationTemplatesCommandInput} for command's `input` shape. + * @see {@link ListRecommendationTemplatesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListRecommendationTemplatesCommand extends $Command< + ListRecommendationTemplatesCommandInput, + ListRecommendationTemplatesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListRecommendationTemplatesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListRecommendationTemplatesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListRecommendationTemplatesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListRecommendationTemplatesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListRecommendationTemplatesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListRecommendationTemplatesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListRecommendationTemplatesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts b/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts new file mode 100644 index 0000000000000..fb0c2bcaf6cb2 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListResiliencyPoliciesCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListResiliencyPoliciesRequest, ListResiliencyPoliciesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListResiliencyPoliciesCommand, + serializeAws_restJson1ListResiliencyPoliciesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListResiliencyPoliciesCommandInput extends ListResiliencyPoliciesRequest {} +export interface ListResiliencyPoliciesCommandOutput extends ListResiliencyPoliciesResponse, __MetadataBearer {} + +/** + *

                                              Lists the resiliency policies for the Resilience Hub applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListResiliencyPoliciesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListResiliencyPoliciesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListResiliencyPoliciesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListResiliencyPoliciesCommandInput} for command's `input` shape. + * @see {@link ListResiliencyPoliciesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListResiliencyPoliciesCommand extends $Command< + ListResiliencyPoliciesCommandInput, + ListResiliencyPoliciesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListResiliencyPoliciesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListResiliencyPoliciesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListResiliencyPoliciesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListResiliencyPoliciesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListResiliencyPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListResiliencyPoliciesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListResiliencyPoliciesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts new file mode 100644 index 0000000000000..42e1fdea482bb --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListSopRecommendationsCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListSopRecommendationsRequest, ListSopRecommendationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListSopRecommendationsCommand, + serializeAws_restJson1ListSopRecommendationsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListSopRecommendationsCommandInput extends ListSopRecommendationsRequest {} +export interface ListSopRecommendationsCommandOutput extends ListSopRecommendationsResponse, __MetadataBearer {} + +/** + *

                                              Lists the standard operating procedure (SOP) recommendations for the Resilience Hub + * applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListSopRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListSopRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListSopRecommendationsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListSopRecommendationsCommandInput} for command's `input` shape. + * @see {@link ListSopRecommendationsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListSopRecommendationsCommand extends $Command< + ListSopRecommendationsCommandInput, + ListSopRecommendationsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListSopRecommendationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListSopRecommendationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListSopRecommendationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListSopRecommendationsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListSopRecommendationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListSopRecommendationsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListSopRecommendationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts b/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts new file mode 100644 index 0000000000000..0b3f7b0838388 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListSuggestedResiliencyPoliciesCommand.ts @@ -0,0 +1,103 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListSuggestedResiliencyPoliciesRequest, ListSuggestedResiliencyPoliciesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommand, + serializeAws_restJson1ListSuggestedResiliencyPoliciesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListSuggestedResiliencyPoliciesCommandInput extends ListSuggestedResiliencyPoliciesRequest {} +export interface ListSuggestedResiliencyPoliciesCommandOutput + extends ListSuggestedResiliencyPoliciesResponse, + __MetadataBearer {} + +/** + *

                                              Lists the suggested resiliency policies for the Resilience Hub applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListSuggestedResiliencyPoliciesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListSuggestedResiliencyPoliciesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListSuggestedResiliencyPoliciesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListSuggestedResiliencyPoliciesCommandInput} for command's `input` shape. + * @see {@link ListSuggestedResiliencyPoliciesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListSuggestedResiliencyPoliciesCommand extends $Command< + ListSuggestedResiliencyPoliciesCommandInput, + ListSuggestedResiliencyPoliciesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListSuggestedResiliencyPoliciesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListSuggestedResiliencyPoliciesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListSuggestedResiliencyPoliciesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListSuggestedResiliencyPoliciesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ListSuggestedResiliencyPoliciesCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1ListSuggestedResiliencyPoliciesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListTagsForResourceCommand.ts b/clients/client-resiliencehub/src/commands/ListTagsForResourceCommand.ts new file mode 100644 index 0000000000000..acd14ad4f8372 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListTagsForResourceCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListTagsForResourceCommand, + serializeAws_restJson1ListTagsForResourceCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {} +export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {} + +/** + *

                                              Lists the tags for your resources in your Resilience Hub applications.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListTagsForResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListTagsForResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListTagsForResourceCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListTagsForResourceCommandInput} for command's `input` shape. + * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListTagsForResourceCommand extends $Command< + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListTagsForResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListTagsForResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListTagsForResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListTagsForResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts b/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts new file mode 100644 index 0000000000000..acbbfbc56aff4 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListTestRecommendationsCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListTestRecommendationsRequest, ListTestRecommendationsResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListTestRecommendationsCommand, + serializeAws_restJson1ListTestRecommendationsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListTestRecommendationsCommandInput extends ListTestRecommendationsRequest {} +export interface ListTestRecommendationsCommandOutput extends ListTestRecommendationsResponse, __MetadataBearer {} + +/** + *

                                              Lists the test recommendations for the Resilience Hub application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListTestRecommendationsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListTestRecommendationsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListTestRecommendationsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListTestRecommendationsCommandInput} for command's `input` shape. + * @see {@link ListTestRecommendationsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListTestRecommendationsCommand extends $Command< + ListTestRecommendationsCommandInput, + ListTestRecommendationsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListTestRecommendationsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListTestRecommendationsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListTestRecommendationsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListTestRecommendationsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListTestRecommendationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListTestRecommendationsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListTestRecommendationsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts b/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts new file mode 100644 index 0000000000000..5b52ea9f410f6 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ListUnsupportedAppVersionResourcesCommand.ts @@ -0,0 +1,108 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { + ListUnsupportedAppVersionResourcesRequest, + ListUnsupportedAppVersionResourcesResponse, +} from "../models/models_0"; +import { + deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommand, + serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ListUnsupportedAppVersionResourcesCommandInput extends ListUnsupportedAppVersionResourcesRequest {} +export interface ListUnsupportedAppVersionResourcesCommandOutput + extends ListUnsupportedAppVersionResourcesResponse, + __MetadataBearer {} + +/** + *

                                              Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported + * resource is a resource that exists in the object that was used to create an app, but is not + * supported by Resilience Hub.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ListUnsupportedAppVersionResourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ListUnsupportedAppVersionResourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ListUnsupportedAppVersionResourcesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListUnsupportedAppVersionResourcesCommandInput} for command's `input` shape. + * @see {@link ListUnsupportedAppVersionResourcesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ListUnsupportedAppVersionResourcesCommand extends $Command< + ListUnsupportedAppVersionResourcesCommandInput, + ListUnsupportedAppVersionResourcesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListUnsupportedAppVersionResourcesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ListUnsupportedAppVersionResourcesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListUnsupportedAppVersionResourcesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListUnsupportedAppVersionResourcesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: ListUnsupportedAppVersionResourcesCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/PublishAppVersionCommand.ts b/clients/client-resiliencehub/src/commands/PublishAppVersionCommand.ts new file mode 100644 index 0000000000000..e6ccd1dee7557 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/PublishAppVersionCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { PublishAppVersionRequest, PublishAppVersionResponse } from "../models/models_0"; +import { + deserializeAws_restJson1PublishAppVersionCommand, + serializeAws_restJson1PublishAppVersionCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface PublishAppVersionCommandInput extends PublishAppVersionRequest {} +export interface PublishAppVersionCommandOutput extends PublishAppVersionResponse, __MetadataBearer {} + +/** + *

                                              Publishes a new version of a specific Resilience Hub application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, PublishAppVersionCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, PublishAppVersionCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new PublishAppVersionCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link PublishAppVersionCommandInput} for command's `input` shape. + * @see {@link PublishAppVersionCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class PublishAppVersionCommand extends $Command< + PublishAppVersionCommandInput, + PublishAppVersionCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PublishAppVersionCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "PublishAppVersionCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PublishAppVersionRequest.filterSensitiveLog, + outputFilterSensitiveLog: PublishAppVersionResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: PublishAppVersionCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1PublishAppVersionCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1PublishAppVersionCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/PutDraftAppVersionTemplateCommand.ts b/clients/client-resiliencehub/src/commands/PutDraftAppVersionTemplateCommand.ts new file mode 100644 index 0000000000000..829a734b41790 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/PutDraftAppVersionTemplateCommand.ts @@ -0,0 +1,98 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { PutDraftAppVersionTemplateRequest, PutDraftAppVersionTemplateResponse } from "../models/models_0"; +import { + deserializeAws_restJson1PutDraftAppVersionTemplateCommand, + serializeAws_restJson1PutDraftAppVersionTemplateCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface PutDraftAppVersionTemplateCommandInput extends PutDraftAppVersionTemplateRequest {} +export interface PutDraftAppVersionTemplateCommandOutput extends PutDraftAppVersionTemplateResponse, __MetadataBearer {} + +/** + *

                                              Adds or updates the app template for a draft version of a Resilience Hub app.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, PutDraftAppVersionTemplateCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, PutDraftAppVersionTemplateCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new PutDraftAppVersionTemplateCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link PutDraftAppVersionTemplateCommandInput} for command's `input` shape. + * @see {@link PutDraftAppVersionTemplateCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class PutDraftAppVersionTemplateCommand extends $Command< + PutDraftAppVersionTemplateCommandInput, + PutDraftAppVersionTemplateCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PutDraftAppVersionTemplateCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "PutDraftAppVersionTemplateCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PutDraftAppVersionTemplateRequest.filterSensitiveLog, + outputFilterSensitiveLog: PutDraftAppVersionTemplateResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: PutDraftAppVersionTemplateCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1PutDraftAppVersionTemplateCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1PutDraftAppVersionTemplateCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/RemoveDraftAppVersionResourceMappingsCommand.ts b/clients/client-resiliencehub/src/commands/RemoveDraftAppVersionResourceMappingsCommand.ts new file mode 100644 index 0000000000000..563e8aeba16cc --- /dev/null +++ b/clients/client-resiliencehub/src/commands/RemoveDraftAppVersionResourceMappingsCommand.ts @@ -0,0 +1,107 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { + RemoveDraftAppVersionResourceMappingsRequest, + RemoveDraftAppVersionResourceMappingsResponse, +} from "../models/models_0"; +import { + deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand, + serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface RemoveDraftAppVersionResourceMappingsCommandInput + extends RemoveDraftAppVersionResourceMappingsRequest {} +export interface RemoveDraftAppVersionResourceMappingsCommandOutput + extends RemoveDraftAppVersionResourceMappingsResponse, + __MetadataBearer {} + +/** + *

                                              Removes resource mappings from a draft application version.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, RemoveDraftAppVersionResourceMappingsCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, RemoveDraftAppVersionResourceMappingsCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new RemoveDraftAppVersionResourceMappingsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link RemoveDraftAppVersionResourceMappingsCommandInput} for command's `input` shape. + * @see {@link RemoveDraftAppVersionResourceMappingsCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class RemoveDraftAppVersionResourceMappingsCommand extends $Command< + RemoveDraftAppVersionResourceMappingsCommandInput, + RemoveDraftAppVersionResourceMappingsCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: RemoveDraftAppVersionResourceMappingsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "RemoveDraftAppVersionResourceMappingsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: RemoveDraftAppVersionResourceMappingsRequest.filterSensitiveLog, + outputFilterSensitiveLog: RemoveDraftAppVersionResourceMappingsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: RemoveDraftAppVersionResourceMappingsCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts b/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts new file mode 100644 index 0000000000000..946afc6db123e --- /dev/null +++ b/clients/client-resiliencehub/src/commands/ResolveAppVersionResourcesCommand.ts @@ -0,0 +1,98 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ResolveAppVersionResourcesRequest, ResolveAppVersionResourcesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ResolveAppVersionResourcesCommand, + serializeAws_restJson1ResolveAppVersionResourcesCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface ResolveAppVersionResourcesCommandInput extends ResolveAppVersionResourcesRequest {} +export interface ResolveAppVersionResourcesCommandOutput extends ResolveAppVersionResourcesResponse, __MetadataBearer {} + +/** + *

                                              Resolves the resources for an application version.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, ResolveAppVersionResourcesCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, ResolveAppVersionResourcesCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new ResolveAppVersionResourcesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ResolveAppVersionResourcesCommandInput} for command's `input` shape. + * @see {@link ResolveAppVersionResourcesCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class ResolveAppVersionResourcesCommand extends $Command< + ResolveAppVersionResourcesCommandInput, + ResolveAppVersionResourcesCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ResolveAppVersionResourcesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "ResolveAppVersionResourcesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ResolveAppVersionResourcesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ResolveAppVersionResourcesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ResolveAppVersionResourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ResolveAppVersionResourcesCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_restJson1ResolveAppVersionResourcesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts b/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts new file mode 100644 index 0000000000000..9c8591422780e --- /dev/null +++ b/clients/client-resiliencehub/src/commands/StartAppAssessmentCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { StartAppAssessmentRequest, StartAppAssessmentResponse } from "../models/models_0"; +import { + deserializeAws_restJson1StartAppAssessmentCommand, + serializeAws_restJson1StartAppAssessmentCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface StartAppAssessmentCommandInput extends StartAppAssessmentRequest {} +export interface StartAppAssessmentCommandOutput extends StartAppAssessmentResponse, __MetadataBearer {} + +/** + *

                                              Creates a new application assessment for an application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, StartAppAssessmentCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, StartAppAssessmentCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new StartAppAssessmentCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link StartAppAssessmentCommandInput} for command's `input` shape. + * @see {@link StartAppAssessmentCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class StartAppAssessmentCommand extends $Command< + StartAppAssessmentCommandInput, + StartAppAssessmentCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: StartAppAssessmentCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "StartAppAssessmentCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: StartAppAssessmentRequest.filterSensitiveLog, + outputFilterSensitiveLog: StartAppAssessmentResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: StartAppAssessmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1StartAppAssessmentCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1StartAppAssessmentCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/TagResourceCommand.ts b/clients/client-resiliencehub/src/commands/TagResourceCommand.ts new file mode 100644 index 0000000000000..c7d805e17e0eb --- /dev/null +++ b/clients/client-resiliencehub/src/commands/TagResourceCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { TagResourceRequest, TagResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1TagResourceCommand, + serializeAws_restJson1TagResourceCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface TagResourceCommandInput extends TagResourceRequest {} +export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {} + +/** + *

                                              Applies one or more tags to a resource.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, TagResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, TagResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new TagResourceCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link TagResourceCommandInput} for command's `input` shape. + * @see {@link TagResourceCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class TagResourceCommand extends $Command< + TagResourceCommandInput, + TagResourceCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: TagResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "TagResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1TagResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1TagResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/UntagResourceCommand.ts b/clients/client-resiliencehub/src/commands/UntagResourceCommand.ts new file mode 100644 index 0000000000000..f4c9a809349b1 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/UntagResourceCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UntagResourceCommand, + serializeAws_restJson1UntagResourceCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface UntagResourceCommandInput extends UntagResourceRequest {} +export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {} + +/** + *

                                              Removes one or more tags from a resource.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, UntagResourceCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, UntagResourceCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new UntagResourceCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UntagResourceCommandInput} for command's `input` shape. + * @see {@link UntagResourceCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class UntagResourceCommand extends $Command< + UntagResourceCommandInput, + UntagResourceCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UntagResourceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "UntagResourceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog, + outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UntagResourceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UntagResourceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts b/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts new file mode 100644 index 0000000000000..4d0e0e604747e --- /dev/null +++ b/clients/client-resiliencehub/src/commands/UpdateAppCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { UpdateAppRequest, UpdateAppResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateAppCommand, + serializeAws_restJson1UpdateAppCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface UpdateAppCommandInput extends UpdateAppRequest {} +export interface UpdateAppCommandOutput extends UpdateAppResponse, __MetadataBearer {} + +/** + *

                                              Updates an application.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, UpdateAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, UpdateAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new UpdateAppCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateAppCommandInput} for command's `input` shape. + * @see {@link UpdateAppCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class UpdateAppCommand extends $Command< + UpdateAppCommandInput, + UpdateAppCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateAppCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "UpdateAppCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateAppRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateAppResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateAppCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateAppCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateAppCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts b/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts new file mode 100644 index 0000000000000..c4942a00017e1 --- /dev/null +++ b/clients/client-resiliencehub/src/commands/UpdateResiliencyPolicyCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { UpdateResiliencyPolicyRequest, UpdateResiliencyPolicyResponse } from "../models/models_0"; +import { + deserializeAws_restJson1UpdateResiliencyPolicyCommand, + serializeAws_restJson1UpdateResiliencyPolicyCommand, +} from "../protocols/Aws_restJson1"; +import { ResiliencehubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResiliencehubClient"; + +export interface UpdateResiliencyPolicyCommandInput extends UpdateResiliencyPolicyRequest {} +export interface UpdateResiliencyPolicyCommandOutput extends UpdateResiliencyPolicyResponse, __MetadataBearer {} + +/** + *

                                              Updates a resiliency policy.

                                              + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { ResiliencehubClient, UpdateResiliencyPolicyCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import + * // const { ResiliencehubClient, UpdateResiliencyPolicyCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import + * const client = new ResiliencehubClient(config); + * const command = new UpdateResiliencyPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateResiliencyPolicyCommandInput} for command's `input` shape. + * @see {@link UpdateResiliencyPolicyCommandOutput} for command's `response` shape. + * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. + * + */ +export class UpdateResiliencyPolicyCommand extends $Command< + UpdateResiliencyPolicyCommandInput, + UpdateResiliencyPolicyCommandOutput, + ResiliencehubClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateResiliencyPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: ResiliencehubClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "ResiliencehubClient"; + const commandName = "UpdateResiliencyPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateResiliencyPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateResiliencyPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateResiliencyPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1UpdateResiliencyPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1UpdateResiliencyPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-resiliencehub/src/commands/index.ts b/clients/client-resiliencehub/src/commands/index.ts new file mode 100644 index 0000000000000..e30a25f0ea45f --- /dev/null +++ b/clients/client-resiliencehub/src/commands/index.ts @@ -0,0 +1,39 @@ +export * from "./AddDraftAppVersionResourceMappingsCommand"; +export * from "./CreateAppCommand"; +export * from "./CreateRecommendationTemplateCommand"; +export * from "./CreateResiliencyPolicyCommand"; +export * from "./DeleteAppAssessmentCommand"; +export * from "./DeleteAppCommand"; +export * from "./DeleteRecommendationTemplateCommand"; +export * from "./DeleteResiliencyPolicyCommand"; +export * from "./DescribeAppAssessmentCommand"; +export * from "./DescribeAppCommand"; +export * from "./DescribeAppVersionResourcesResolutionStatusCommand"; +export * from "./DescribeAppVersionTemplateCommand"; +export * from "./DescribeDraftAppVersionResourcesImportStatusCommand"; +export * from "./DescribeResiliencyPolicyCommand"; +export * from "./ImportResourcesToDraftAppVersionCommand"; +export * from "./ListAlarmRecommendationsCommand"; +export * from "./ListAppAssessmentsCommand"; +export * from "./ListAppComponentCompliancesCommand"; +export * from "./ListAppComponentRecommendationsCommand"; +export * from "./ListAppVersionResourceMappingsCommand"; +export * from "./ListAppVersionResourcesCommand"; +export * from "./ListAppVersionsCommand"; +export * from "./ListAppsCommand"; +export * from "./ListRecommendationTemplatesCommand"; +export * from "./ListResiliencyPoliciesCommand"; +export * from "./ListSopRecommendationsCommand"; +export * from "./ListSuggestedResiliencyPoliciesCommand"; +export * from "./ListTagsForResourceCommand"; +export * from "./ListTestRecommendationsCommand"; +export * from "./ListUnsupportedAppVersionResourcesCommand"; +export * from "./PublishAppVersionCommand"; +export * from "./PutDraftAppVersionTemplateCommand"; +export * from "./RemoveDraftAppVersionResourceMappingsCommand"; +export * from "./ResolveAppVersionResourcesCommand"; +export * from "./StartAppAssessmentCommand"; +export * from "./TagResourceCommand"; +export * from "./UntagResourceCommand"; +export * from "./UpdateAppCommand"; +export * from "./UpdateResiliencyPolicyCommand"; diff --git a/clients/client-resiliencehub/src/endpoints.ts b/clients/client-resiliencehub/src/endpoints.ts new file mode 100644 index 0000000000000..36790e4350f60 --- /dev/null +++ b/clients/client-resiliencehub/src/endpoints.ts @@ -0,0 +1,134 @@ +import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver"; +import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types"; + +const regionHash: RegionHash = {}; + +const partitionHash: PartitionHash = { + aws: { + regions: [ + "af-south-1", + "ap-east-1", + "ap-northeast-1", + "ap-northeast-2", + "ap-northeast-3", + "ap-south-1", + "ap-southeast-1", + "ap-southeast-2", + "ca-central-1", + "eu-central-1", + "eu-north-1", + "eu-south-1", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "me-south-1", + "sa-east-1", + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2", + ], + regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$", + variants: [ + { + hostname: "resiliencehub.{region}.amazonaws.com", + tags: [], + }, + { + hostname: "resiliencehub-fips.{region}.amazonaws.com", + tags: ["fips"], + }, + { + hostname: "resiliencehub-fips.{region}.api.aws", + tags: ["dualstack", "fips"], + }, + { + hostname: "resiliencehub.{region}.api.aws", + tags: ["dualstack"], + }, + ], + }, + "aws-cn": { + regions: ["cn-north-1", "cn-northwest-1"], + regionRegex: "^cn\\-\\w+\\-\\d+$", + variants: [ + { + hostname: "resiliencehub.{region}.amazonaws.com.cn", + tags: [], + }, + { + hostname: "resiliencehub-fips.{region}.amazonaws.com.cn", + tags: ["fips"], + }, + { + hostname: "resiliencehub-fips.{region}.api.amazonwebservices.com.cn", + tags: ["dualstack", "fips"], + }, + { + hostname: "resiliencehub.{region}.api.amazonwebservices.com.cn", + tags: ["dualstack"], + }, + ], + }, + "aws-iso": { + regions: ["us-iso-east-1", "us-iso-west-1"], + regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", + variants: [ + { + hostname: "resiliencehub.{region}.c2s.ic.gov", + tags: [], + }, + { + hostname: "resiliencehub-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, + ], + }, + "aws-iso-b": { + regions: ["us-isob-east-1"], + regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", + variants: [ + { + hostname: "resiliencehub.{region}.sc2s.sgov.gov", + tags: [], + }, + { + hostname: "resiliencehub-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, + ], + }, + "aws-us-gov": { + regions: ["us-gov-east-1", "us-gov-west-1"], + regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", + variants: [ + { + hostname: "resiliencehub.{region}.amazonaws.com", + tags: [], + }, + { + hostname: "resiliencehub-fips.{region}.amazonaws.com", + tags: ["fips"], + }, + { + hostname: "resiliencehub-fips.{region}.api.aws", + tags: ["dualstack", "fips"], + }, + { + hostname: "resiliencehub.{region}.api.aws", + tags: ["dualstack"], + }, + ], + }, +}; + +export const defaultRegionInfoProvider: RegionInfoProvider = async ( + region: string, + options?: RegionInfoProviderOptions +) => + getRegionInfo(region, { + ...options, + signingService: "resiliencehub", + regionHash, + partitionHash, + }); diff --git a/clients/client-resiliencehub/src/index.ts b/clients/client-resiliencehub/src/index.ts new file mode 100644 index 0000000000000..1f2ffd39f0f58 --- /dev/null +++ b/clients/client-resiliencehub/src/index.ts @@ -0,0 +1,5 @@ +export * from "./Resiliencehub"; +export * from "./ResiliencehubClient"; +export * from "./commands"; +export * from "./models"; +export * from "./pagination"; diff --git a/clients/client-resiliencehub/src/models/index.ts b/clients/client-resiliencehub/src/models/index.ts new file mode 100644 index 0000000000000..09c5d6e09b8c5 --- /dev/null +++ b/clients/client-resiliencehub/src/models/index.ts @@ -0,0 +1 @@ +export * from "./models_0"; diff --git a/clients/client-resiliencehub/src/models/models_0.ts b/clients/client-resiliencehub/src/models/models_0.ts new file mode 100644 index 0000000000000..b0478689d82a4 --- /dev/null +++ b/clients/client-resiliencehub/src/models/models_0.ts @@ -0,0 +1,3791 @@ +import { SENSITIVE_STRING } from "@aws-sdk/smithy-client"; +import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types"; + +/** + *

                                              You don't have permissions to perform the requested operation. The user or role that is + * making the request must have at least one IAM permissions policy attached that grants the + * required permissions.

                                              + */ +export interface AccessDeniedException extends __SmithyException, $MetadataBearer { + name: "AccessDeniedException"; + $fault: "client"; + message?: string; +} + +export namespace AccessDeniedException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AccessDeniedException): any => ({ + ...obj, + }); +} + +export enum ResourceMappingType { + APP_REGISTRY_APP = "AppRegistryApp", + CFN_STACK = "CfnStack", + RESOURCE = "Resource", + RESOURCE_GROUP = "ResourceGroup", +} + +export enum PhysicalIdentifierType { + ARN = "Arn", + NATIVE = "Native", +} + +/** + *

                                              Defines a physical resource identifier.

                                              + */ +export interface PhysicalResourceId { + /** + *

                                              The identifier of the physical resource.

                                              + */ + identifier: string | undefined; + + /** + *

                                              Specifies the type of physical resource identifier.

                                              + *
                                              + *
                                              Arn
                                              + *
                                              + *

                                              The resource identifier is an Amazon Resource Name (ARN) .

                                              + *
                                              + *
                                              Native
                                              + *
                                              + *

                                              The resource identifier is a Resilience Hub-native identifier.

                                              + *
                                              + *
                                              + */ + type: PhysicalIdentifierType | string | undefined; + + /** + *

                                              The Amazon Web Services Region that the physical resource is located in.

                                              + */ + awsRegion?: string; + + /** + *

                                              The Amazon Web Services account that owns the physical resource.

                                              + */ + awsAccountId?: string; +} + +export namespace PhysicalResourceId { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PhysicalResourceId): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a resource mapping.

                                              + */ +export interface ResourceMapping { + /** + *

                                              The name of the resource this resource is mapped to.

                                              + */ + resourceName?: string; + + /** + *

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

                                              + */ + logicalStackName?: string; + + /** + *

                                              The name of the application this resource is mapped to.

                                              + */ + appRegistryAppName?: string; + + /** + *

                                              The name of the resource group this resource is mapped to.

                                              + */ + resourceGroupName?: string; + + /** + *

                                              Specifies the type of resource mapping.

                                              + *
                                              + *
                                              AppRegistryApp
                                              + *
                                              + *

                                              The resource is mapped to another application. The name of the application is + * contained in the appRegistryAppName property.

                                              + *
                                              + *
                                              CfnStack
                                              + *
                                              + *

                                              The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in + * the logicalStackName property.

                                              + *
                                              + *
                                              Resource
                                              + *
                                              + *

                                              The resource is mapped to another resource. The name of the resource is contained in + * the resourceName property.

                                              + *
                                              + *
                                              ResourceGroup
                                              + *
                                              + *

                                              The resource is mapped to a resource group. The name of the resource group is + * contained in the resourceGroupName property.

                                              + *
                                              + *
                                              + */ + mappingType: ResourceMappingType | string | undefined; + + /** + *

                                              The identifier of this resource.

                                              + */ + physicalResourceId: PhysicalResourceId | undefined; +} + +export namespace ResourceMapping { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResourceMapping): any => ({ + ...obj, + }); +} + +export interface AddDraftAppVersionResourceMappingsRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              Mappings used to map logical resources from the template to physical resources. You can + * use the mapping type CFN_STACK if the application template uses + * a logical stack name. Or you can map individual resources by using the mapping type + * RESOURCE. We recommend using the mapping type CFN_STACK if the + * application is backed by a CloudFormation stack.

                                              + */ + resourceMappings: ResourceMapping[] | undefined; +} + +export namespace AddDraftAppVersionResourceMappingsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AddDraftAppVersionResourceMappingsRequest): any => ({ + ...obj, + }); +} + +export interface AddDraftAppVersionResourceMappingsResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              Mappings used to map logical resources from the template to physical resources. You can + * use the mapping type CFN_STACK if the application template uses + * a logical stack name. Or you can map individual resources by using the mapping type + * RESOURCE. We recommend using the mapping type CFN_STACK if the + * application is backed by a CloudFormation stack.

                                              + */ + resourceMappings: ResourceMapping[] | undefined; +} + +export namespace AddDraftAppVersionResourceMappingsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AddDraftAppVersionResourceMappingsResponse): any => ({ + ...obj, + }); +} + +/** + *

                                              Occurs when a conflict with a previous successful write is detected. This generally occurs + * when the previous write did not have time to propagate to the host serving the current + * request. A retry (with appropriate backoff logic) is the recommended response to this + * exception.

                                              + */ +export interface ConflictException extends __SmithyException, $MetadataBearer { + name: "ConflictException"; + $fault: "client"; + message?: string; + /** + *

                                              The identifier of the resource that the exception applies to.

                                              + */ + resourceId?: string; + + /** + *

                                              The type of the resource that the exception applies to.

                                              + */ + resourceType?: string; +} + +export namespace ConflictException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ConflictException): any => ({ + ...obj, + }); +} + +/** + *

                                              This exception occurs when there is an internal failure in the AWS Resilience Hub + * service.

                                              + */ +export interface InternalServerException extends __SmithyException, $MetadataBearer { + name: "InternalServerException"; + $fault: "server"; + message?: string; +} + +export namespace InternalServerException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InternalServerException): any => ({ + ...obj, + }); +} + +/** + *

                                              The specified resource could not be found.

                                              + */ +export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { + name: "ResourceNotFoundException"; + $fault: "client"; + message?: string; + /** + *

                                              The identifier of the resource that the exception applies to.

                                              + */ + resourceId?: string; + + /** + *

                                              The type of the resource that the exception applies to.

                                              + */ + resourceType?: string; +} + +export namespace ResourceNotFoundException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({ + ...obj, + }); +} + +/** + *

                                              The limit on the number of requests per second was exceeded.

                                              + */ +export interface ThrottlingException extends __SmithyException, $MetadataBearer { + name: "ThrottlingException"; + $fault: "client"; + message?: string; + /** + *

                                              The number of seconds to wait before retrying the operation.

                                              + */ + retryAfterSeconds?: number; +} + +export namespace ThrottlingException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ThrottlingException): any => ({ + ...obj, + }); +} + +/** + *

                                              Indicates that a request was not valid.

                                              + */ +export interface ValidationException extends __SmithyException, $MetadataBearer { + name: "ValidationException"; + $fault: "client"; + message?: string; +} + +export namespace ValidationException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ValidationException): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a recommendation.

                                              + */ +export interface RecommendationItem { + /** + *

                                              The resource identifier.

                                              + */ + resourceId?: string; + + /** + *

                                              The target account identifier.

                                              + */ + targetAccountId?: string; + + /** + *

                                              The target region.

                                              + */ + targetRegion?: string; + + /** + *

                                              Specifies if the recommendation has already been implemented.

                                              + */ + alreadyImplemented?: boolean; +} + +export namespace RecommendationItem { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RecommendationItem): any => ({ + ...obj, + }); +} + +export enum AlarmType { + CANARY = "Canary", + COMPOSITE = "Composite", + EVENT = "Event", + LOGS = "Logs", + METRIC = "Metric", +} + +/** + *

                                              Defines a recommendation for a CloudWatch alarm.

                                              + */ +export interface AlarmRecommendation { + /** + *

                                              The identifier of the alarm recommendation.

                                              + */ + recommendationId: string | undefined; + + /** + *

                                              The reference identifier of the alarm recommendation.

                                              + */ + referenceId: string | undefined; + + /** + *

                                              The name of the alarm recommendation.

                                              + */ + name: string | undefined; + + /** + *

                                              The description of the recommendation.

                                              + */ + description?: string; + + /** + *

                                              The type of alarm recommendation.

                                              + */ + type: AlarmType | string | undefined; + + /** + *

                                              The application component for the CloudWatch alarm recommendation.

                                              + */ + appComponentName?: string; + + /** + *

                                              The list of CloudWatch alarm recommendations.

                                              + */ + items?: RecommendationItem[]; + + /** + *

                                              The prerequisite for the alarm recommendation.

                                              + */ + prerequisite?: string; +} + +export namespace AlarmRecommendation { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AlarmRecommendation): any => ({ + ...obj, + }); +} + +export enum AppComplianceStatusType { + CHANGES_DETECTED = "ChangesDetected", + NOT_ASSESSED = "NotAssessed", + POLICY_BREACHED = "PolicyBreached", + POLICY_MET = "PolicyMet", +} + +export enum AppStatusType { + ACTIVE = "Active", + DELETING = "Deleting", +} + +/** + *

                                              Defines a Resilience Hub application.

                                              + */ +export interface App { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The name for the application.

                                              + */ + name: string | undefined; + + /** + *

                                              The optional description for an app.

                                              + */ + description?: string; + + /** + *

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

                                              + */ + policyArn?: string; + + /** + *

                                              The timestamp for when the app was created.

                                              + */ + creationTime: Date | undefined; + + /** + *

                                              The status of the action.

                                              + */ + status?: AppStatusType | string; + + /** + *

                                              The current status of compliance for the resiliency policy.

                                              + */ + complianceStatus?: AppComplianceStatusType | string; + + /** + *

                                              The timestamp for the most recent compliance evaluation.

                                              + */ + lastAppComplianceEvaluationTime?: Date; + + /** + *

                                              The current resiliency score for the application.

                                              + */ + resiliencyScore?: number; + + /** + *

                                              The timestamp for the most recent resiliency score evaluation.

                                              + */ + lastResiliencyScoreEvaluationTime?: Date; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; +} + +export namespace App { + /** + * @internal + */ + export const filterSensitiveLog = (obj: App): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export enum AssessmentStatus { + FAILED = "Failed", + INPROGRESS = "InProgress", + PENDING = "Pending", + SUCCESS = "Success", +} + +export enum DisruptionType { + AZ = "AZ", + HARDWARE = "Hardware", + REGION = "Region", + SOFTWARE = "Software", +} + +export enum ComplianceStatus { + POLICY_BREACHED = "PolicyBreached", + POLICY_MET = "PolicyMet", +} + +/** + *

                                              Defines the compliance against the resiliency policy for a disruption.

                                              + */ +export interface DisruptionCompliance { + /** + *

                                              The Recovery Time Objective (RTO) that is achievable, in seconds

                                              + */ + achievableRtoInSecs?: number; + + /** + *

                                              The current RTO, in seconds.

                                              + */ + currentRtoInSecs?: number; + + /** + *

                                              The RTO reference identifier.

                                              + */ + rtoReferenceId?: string; + + /** + *

                                              The RTO description.

                                              + */ + rtoDescription?: string; + + /** + *

                                              The current RPO, in seconds.

                                              + */ + currentRpoInSecs?: number; + + /** + *

                                              The RPO reference identifier.

                                              + */ + rpoReferenceId?: string; + + /** + *

                                              The RPO description.

                                              + */ + rpoDescription?: string; + + /** + *

                                              The current status of compliance for the resiliency policy.

                                              + */ + complianceStatus: ComplianceStatus | string | undefined; + + /** + *

                                              The Recovery Point Objective (RPO) that is achievable, in seconds.

                                              + */ + achievableRpoInSecs?: number; + + /** + *

                                              The disruption compliance message.

                                              + */ + message?: string; +} + +export namespace DisruptionCompliance { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DisruptionCompliance): any => ({ + ...obj, + }); +} + +export enum CostFrequency { + DAILY = "Daily", + HOURLY = "Hourly", + MONTHLY = "Monthly", + YEARLY = "Yearly", +} + +/** + *

                                              Defines a cost object.

                                              + */ +export interface Cost { + /** + *

                                              The cost amount.

                                              + */ + amount: number | undefined; + + /** + *

                                              The cost currency, for example USD.

                                              + */ + currency: string | undefined; + + /** + *

                                              The cost frequency.

                                              + */ + frequency: CostFrequency | string | undefined; +} + +export namespace Cost { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Cost): any => ({ + ...obj, + }); +} + +export enum AssessmentInvoker { + SYSTEM = "System", + USER = "User", +} + +export enum DataLocationConstraint { + ANY_LOCATION = "AnyLocation", + SAME_CONTINENT = "SameContinent", + SAME_COUNTRY = "SameCountry", +} + +export enum EstimatedCostTier { + L1 = "L1", + L2 = "L2", + L3 = "L3", + L4 = "L4", +} + +/** + *

                                              Defines a failure policy.

                                              + */ +export interface FailurePolicy { + /** + *

                                              The Recovery Time Objective (RTO), in seconds.

                                              + */ + rtoInSecs: number | undefined; + + /** + *

                                              The Recovery Point Objective (RPO), in seconds.

                                              + */ + rpoInSecs: number | undefined; +} + +export namespace FailurePolicy { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FailurePolicy): any => ({ + ...obj, + }); +} + +export enum ResiliencyPolicyTier { + CORE_SERVICES = "CoreServices", + CRITICAL = "Critical", + IMPORTANT = "Important", + MISSION_CRITICAL = "MissionCritical", + NON_CRITICAL = "NonCritical", +} + +/** + *

                                              Defines a resiliency policy.

                                              + */ +export interface ResiliencyPolicy { + /** + *

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

                                              + */ + policyArn?: string; + + /** + *

                                              The name of the policy

                                              + */ + policyName?: string; + + /** + *

                                              The description for the policy.

                                              + */ + policyDescription?: string; + + /** + *

                                              Specifies a high-level geographical location constraint for where your resilience policy + * data can be stored.

                                              + */ + dataLocationConstraint?: DataLocationConstraint | string; + + /** + *

                                              The tier for this resiliency policy, ranging from the highest severity + * (MissionCritical) to lowest (NonCritical).

                                              + */ + tier?: ResiliencyPolicyTier | string; + + /** + *

                                              Specifies the estimated cost tier of the resiliency policy.

                                              + */ + estimatedCostTier?: EstimatedCostTier | string; + + /** + *

                                              The resiliency policy.

                                              + */ + policy?: { [key: string]: FailurePolicy }; + + /** + *

                                              The timestamp for when the resiliency policy was created.

                                              + */ + creationTime?: Date; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; +} + +export namespace ResiliencyPolicy { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResiliencyPolicy): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +/** + *

                                              The overall resiliency score, returned as an object that includes the disruption score and + * outage score.

                                              + */ +export interface ResiliencyScore { + /** + *

                                              The outage score for a valid key.

                                              + */ + score: number | undefined; + + /** + *

                                              The disruption score for a valid key.

                                              + */ + disruptionScore: { [key: string]: number } | undefined; +} + +export namespace ResiliencyScore { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResiliencyScore): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines an application assessment.

                                              + */ +export interface AppAssessment { + /** + *

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

                                              + */ + appArn?: string; + + /** + *

                                              The version of the application.

                                              + */ + appVersion?: string; + + /** + *

                                              The entity that invoked the assessment.

                                              + */ + invoker: AssessmentInvoker | string | undefined; + + /** + *

                                              The cost for the application.

                                              + */ + cost?: Cost; + + /** + *

                                              The current resiliency score for the application.

                                              + */ + resiliencyScore?: ResiliencyScore; + + /** + *

                                              The application compliance against the resiliency policy.

                                              + */ + compliance?: { [key: string]: DisruptionCompliance }; + + /** + *

                                              The current status of the compliance for the resiliency policy.

                                              + */ + complianceStatus?: ComplianceStatus | string; + + /** + *

                                              The current status of the assessment for the resiliency policy.

                                              + */ + assessmentStatus: AssessmentStatus | string | undefined; + + /** + *

                                              The starting time for the action.

                                              + */ + startTime?: Date; + + /** + *

                                              The end time for the action.

                                              + */ + endTime?: Date; + + /** + *

                                              Error or warning message from the assessment execution

                                              + */ + message?: string; + + /** + *

                                              The name of the assessment.

                                              + */ + assessmentName?: string; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              The resiliency policy.

                                              + */ + policy?: ResiliencyPolicy; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; +} + +export namespace AppAssessment { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AppAssessment): any => ({ + ...obj, + ...(obj.policy && { policy: ResiliencyPolicy.filterSensitiveLog(obj.policy) }), + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +/** + *

                                              Defines an application assessment summary.

                                              + */ +export interface AppAssessmentSummary { + /** + *

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

                                              + */ + appArn?: string; + + /** + *

                                              The version of the application.

                                              + */ + appVersion?: string; + + /** + *

                                              The current status of the assessment for the resiliency policy.

                                              + */ + assessmentStatus: AssessmentStatus | string | undefined; + + /** + *

                                              The entity that invoked the assessment.

                                              + */ + invoker?: AssessmentInvoker | string; + + /** + *

                                              The starting time for the action.

                                              + */ + startTime?: Date; + + /** + *

                                              The end time for the action.

                                              + */ + endTime?: Date; + + /** + *

                                              The message from the assessment run.

                                              + */ + message?: string; + + /** + *

                                              The name of the assessment.

                                              + */ + assessmentName?: string; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              The current status of compliance for the resiliency policy.

                                              + */ + complianceStatus?: ComplianceStatus | string; + + /** + *

                                              The cost for the application.

                                              + */ + cost?: Cost; + + /** + *

                                              The current resiliency score for the application.

                                              + */ + resiliencyScore?: number; +} + +export namespace AppAssessmentSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AppAssessmentSummary): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines an application component.

                                              + */ +export interface AppComponent { + /** + *

                                              The name of the application component.

                                              + */ + name: string | undefined; + + /** + *

                                              The type of application component.

                                              + */ + type: string | undefined; +} + +export namespace AppComponent { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AppComponent): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines the compliance of an application component against the resiliency policy.

                                              + */ +export interface AppComponentCompliance { + /** + *

                                              The cost for the application.

                                              + */ + cost?: Cost; + + /** + *

                                              The name of the application component.

                                              + */ + appComponentName?: string; + + /** + *

                                              The compliance of the application component against the resiliency policy.

                                              + */ + compliance?: { [key: string]: DisruptionCompliance }; + + /** + *

                                              The compliance message.

                                              + */ + message?: string; + + /** + *

                                              The status of the action.

                                              + */ + status?: ComplianceStatus | string; + + /** + *

                                              The current resiliency score for the application.

                                              + */ + resiliencyScore?: ResiliencyScore; +} + +export namespace AppComponentCompliance { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AppComponentCompliance): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines an application summary.

                                              + */ +export interface AppSummary { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The name of the application.

                                              + */ + name: string | undefined; + + /** + *

                                              The optional description for an app.

                                              + */ + description?: string; + + /** + *

                                              The timestamp for when the app was created.

                                              + */ + creationTime: Date | undefined; + + /** + *

                                              The current status of compliance for the resiliency policy.

                                              + */ + complianceStatus?: AppComplianceStatusType | string; + + /** + *

                                              The current resiliency score for the application.

                                              + */ + resiliencyScore?: number; +} + +export namespace AppSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AppSummary): any => ({ + ...obj, + }); +} + +/** + *

                                              The version of the application.

                                              + */ +export interface AppVersionSummary { + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; +} + +export namespace AppVersionSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AppVersionSummary): any => ({ + ...obj, + }); +} + +export interface CreateAppRequest { + /** + *

                                              The name for the application.

                                              + */ + name: string | undefined; + + /** + *

                                              The optional description for an app.

                                              + */ + description?: string; + + /** + *

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

                                              + */ + policyArn?: string; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; +} + +export namespace CreateAppRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateAppRequest): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export interface CreateAppResponse { + /** + *

                                              The created application returned as an object with details including compliance status, + * creation time, description, resiliency score, and more.

                                              + */ + app: App | undefined; +} + +export namespace CreateAppResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateAppResponse): any => ({ + ...obj, + ...(obj.app && { app: App.filterSensitiveLog(obj.app) }), + }); +} + +/** + *

                                              You have exceeded your service quota. To perform the requested action, remove some of the + * relevant resources, or use Service Quotas to request a service quota increase.

                                              + */ +export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer { + name: "ServiceQuotaExceededException"; + $fault: "client"; + message?: string; +} + +export namespace ServiceQuotaExceededException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({ + ...obj, + }); +} + +export enum TemplateFormat { + CFN_JSON = "CfnJson", + CFN_YAML = "CfnYaml", +} + +export enum RenderRecommendationType { + ALARM = "Alarm", + SOP = "Sop", + TEST = "Test", +} + +export interface CreateRecommendationTemplateRequest { + /** + *

                                              Identifiers for the recommendations used to create a recommendation template.

                                              + */ + recommendationIds?: string[]; + + /** + *

                                              The format for the recommendation template.

                                              + *
                                              + *
                                              CfnJson
                                              + *
                                              + *

                                              The template is CloudFormation JSON.

                                              + *
                                              + *
                                              CfnYaml
                                              + *
                                              + *

                                              The template is CloudFormation YAML.

                                              + *
                                              + *
                                              + */ + format?: TemplateFormat | string; + + /** + *

                                              An array of strings that specify the recommendation template type or types.

                                              + *
                                              + *
                                              Alarm
                                              + *
                                              + *

                                              The template is an AlarmRecommendation template.

                                              + *
                                              + *
                                              Sop
                                              + *
                                              + *

                                              The template is a SopRecommendation template.

                                              + *
                                              + *
                                              Test
                                              + *
                                              + *

                                              The template is a TestRecommendation template.

                                              + *
                                              + *
                                              + */ + recommendationTypes?: (RenderRecommendationType | string)[]; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              The name for the recommendation template.

                                              + */ + name: string | undefined; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; + + /** + *

                                              The name of the Amazon S3 bucket that will contain the recommendation template.

                                              + */ + bucketName?: string; +} + +export namespace CreateRecommendationTemplateRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateRecommendationTemplateRequest): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export enum RecommendationTemplateStatus { + FAILED = "Failed", + IN_PROGRESS = "InProgress", + PENDING = "Pending", + SUCCESS = "Success", +} + +/** + *

                                              The location of the Amazon S3 bucket.

                                              + */ +export interface S3Location { + /** + *

                                              The name of the Amazon S3 bucket.

                                              + */ + bucket?: string; + + /** + *

                                              The prefix for the Amazon S3 bucket.

                                              + */ + prefix?: string; +} + +export namespace S3Location { + /** + * @internal + */ + export const filterSensitiveLog = (obj: S3Location): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a recommendation template created with the CreateRecommendationTemplate action.

                                              + */ +export interface RecommendationTemplate { + /** + *

                                              The file location of the template.

                                              + */ + templatesLocation?: S3Location; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

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

                                              + */ + appArn?: string; + + /** + *

                                              Identifiers for the recommendations used in the recommendation template.

                                              + */ + recommendationIds?: string[]; + + /** + *

                                              An array of strings that specify the recommendation template type or types.

                                              + *
                                              + *
                                              Alarm
                                              + *
                                              + *

                                              The template is an AlarmRecommendation template.

                                              + *
                                              + *
                                              Sop
                                              + *
                                              + *

                                              The template is a SopRecommendation template.

                                              + *
                                              + *
                                              Test
                                              + *
                                              + *

                                              The template is a TestRecommendation template.

                                              + *
                                              + *
                                              + */ + recommendationTypes: (RenderRecommendationType | string)[] | undefined; + + /** + *

                                              The format of the recommendation template.

                                              + *
                                              + *
                                              CfnJson
                                              + *
                                              + *

                                              The template is CloudFormation JSON.

                                              + *
                                              + *
                                              CfnYaml
                                              + *
                                              + *

                                              The template is CloudFormation YAML.

                                              + *
                                              + *
                                              + */ + format: TemplateFormat | string | undefined; + + /** + *

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

                                              + */ + recommendationTemplateArn: string | undefined; + + /** + *

                                              The message for the recommendation template.

                                              + */ + message?: string; + + /** + *

                                              The status of the action.

                                              + */ + status: RecommendationTemplateStatus | string | undefined; + + /** + *

                                              The name for the recommendation template.

                                              + */ + name: string | undefined; + + /** + *

                                              The start time for the action.

                                              + */ + startTime?: Date; + + /** + *

                                              The end time for the action.

                                              + */ + endTime?: Date; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; + + /** + *

                                              Indicates if replacements are needed.

                                              + */ + needsReplacements?: boolean; +} + +export namespace RecommendationTemplate { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RecommendationTemplate): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export interface CreateRecommendationTemplateResponse { + /** + *

                                              The newly created recommendation template, returned as an object. This object includes the + * template's name, format, status, tags, Amazon S3 bucket location, and more.

                                              + */ + recommendationTemplate?: RecommendationTemplate; +} + +export namespace CreateRecommendationTemplateResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateRecommendationTemplateResponse): any => ({ + ...obj, + ...(obj.recommendationTemplate && { + recommendationTemplate: RecommendationTemplate.filterSensitiveLog(obj.recommendationTemplate), + }), + }); +} + +export interface CreateResiliencyPolicyRequest { + /** + *

                                              The name of the policy

                                              + */ + policyName: string | undefined; + + /** + *

                                              The description for the policy.

                                              + */ + policyDescription?: string; + + /** + *

                                              Specifies a high-level geographical location constraint for where your resilience policy + * data can be stored.

                                              + */ + dataLocationConstraint?: DataLocationConstraint | string; + + /** + *

                                              The tier for this resiliency policy, ranging from the highest severity + * (MissionCritical) to lowest (NonCritical).

                                              + */ + tier: ResiliencyPolicyTier | string | undefined; + + /** + *

                                              The type of resiliency policy to be created, including the recovery time objective (RTO) + * and recovery point objective (RPO) in seconds.

                                              + */ + policy: { [key: string]: FailurePolicy } | undefined; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; +} + +export namespace CreateResiliencyPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateResiliencyPolicyRequest): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export interface CreateResiliencyPolicyResponse { + /** + *

                                              The type of resiliency policy that was created, including the recovery time objective + * (RTO) and recovery point objective (RPO) in seconds.

                                              + */ + policy: ResiliencyPolicy | undefined; +} + +export namespace CreateResiliencyPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateResiliencyPolicyResponse): any => ({ + ...obj, + ...(obj.policy && { policy: ResiliencyPolicy.filterSensitiveLog(obj.policy) }), + }); +} + +export interface DeleteAppRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              A boolean option to force the deletion of a Resilience Hub application.

                                              + */ + forceDelete?: boolean; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; +} + +export namespace DeleteAppRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteAppRequest): any => ({ + ...obj, + }); +} + +export interface DeleteAppResponse { + /** + *

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

                                              + */ + appArn: string | undefined; +} + +export namespace DeleteAppResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteAppResponse): any => ({ + ...obj, + }); +} + +export interface DeleteAppAssessmentRequest { + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; +} + +export namespace DeleteAppAssessmentRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteAppAssessmentRequest): any => ({ + ...obj, + }); +} + +export interface DeleteAppAssessmentResponse { + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              The current status of the assessment for the resiliency policy.

                                              + */ + assessmentStatus: AssessmentStatus | string | undefined; +} + +export namespace DeleteAppAssessmentResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteAppAssessmentResponse): any => ({ + ...obj, + }); +} + +export interface DeleteRecommendationTemplateRequest { + /** + *

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

                                              + */ + recommendationTemplateArn: string | undefined; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; +} + +export namespace DeleteRecommendationTemplateRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteRecommendationTemplateRequest): any => ({ + ...obj, + }); +} + +export interface DeleteRecommendationTemplateResponse { + /** + *

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

                                              + */ + recommendationTemplateArn: string | undefined; + + /** + *

                                              The status of the action.

                                              + */ + status: RecommendationTemplateStatus | string | undefined; +} + +export namespace DeleteRecommendationTemplateResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteRecommendationTemplateResponse): any => ({ + ...obj, + }); +} + +export interface DeleteResiliencyPolicyRequest { + /** + *

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

                                              + */ + policyArn: string | undefined; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; +} + +export namespace DeleteResiliencyPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteResiliencyPolicyRequest): any => ({ + ...obj, + }); +} + +export interface DeleteResiliencyPolicyResponse { + /** + *

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

                                              + */ + policyArn: string | undefined; +} + +export namespace DeleteResiliencyPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteResiliencyPolicyResponse): any => ({ + ...obj, + }); +} + +export interface DescribeAppRequest { + /** + *

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

                                              + */ + appArn: string | undefined; +} + +export namespace DescribeAppRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppRequest): any => ({ + ...obj, + }); +} + +export interface DescribeAppResponse { + /** + *

                                              The specified application, returned as an object with details including compliance status, + * creation time, description, resiliency score, and more.

                                              + */ + app: App | undefined; +} + +export namespace DescribeAppResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppResponse): any => ({ + ...obj, + ...(obj.app && { app: App.filterSensitiveLog(obj.app) }), + }); +} + +export interface DescribeAppAssessmentRequest { + /** + *

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

                                              + */ + assessmentArn: string | undefined; +} + +export namespace DescribeAppAssessmentRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppAssessmentRequest): any => ({ + ...obj, + }); +} + +export interface DescribeAppAssessmentResponse { + /** + *

                                              The assessment for an AWS Resilience Hub application, returned as an object. This object + * includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, + * messages, resiliency scores, and more.

                                              + */ + assessment: AppAssessment | undefined; +} + +export namespace DescribeAppAssessmentResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppAssessmentResponse): any => ({ + ...obj, + ...(obj.assessment && { assessment: AppAssessment.filterSensitiveLog(obj.assessment) }), + }); +} + +export interface DescribeAppVersionResourcesResolutionStatusRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId?: string; +} + +export namespace DescribeAppVersionResourcesResolutionStatusRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppVersionResourcesResolutionStatusRequest): any => ({ + ...obj, + }); +} + +export enum ResourceResolutionStatusType { + FAILED = "Failed", + IN_PROGRESS = "InProgress", + PENDING = "Pending", + SUCCESS = "Success", +} + +export interface DescribeAppVersionResourcesResolutionStatusResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId: string | undefined; + + /** + *

                                              The status of the action.

                                              + */ + status: ResourceResolutionStatusType | string | undefined; + + /** + *

                                              The returned error message for the request.

                                              + */ + errorMessage?: string; +} + +export namespace DescribeAppVersionResourcesResolutionStatusResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppVersionResourcesResolutionStatusResponse): any => ({ + ...obj, + }); +} + +export interface DescribeAppVersionTemplateRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; +} + +export namespace DescribeAppVersionTemplateRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppVersionTemplateRequest): any => ({ + ...obj, + }); +} + +export interface DescribeAppVersionTemplateResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The body of the template.

                                              + */ + appTemplateBody: string | undefined; +} + +export namespace DescribeAppVersionTemplateResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeAppVersionTemplateResponse): any => ({ + ...obj, + }); +} + +export interface DescribeDraftAppVersionResourcesImportStatusRequest { + /** + *

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

                                              + */ + appArn: string | undefined; +} + +export namespace DescribeDraftAppVersionResourcesImportStatusRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeDraftAppVersionResourcesImportStatusRequest): any => ({ + ...obj, + }); +} + +export enum ResourceImportStatusType { + FAILED = "Failed", + IN_PROGRESS = "InProgress", + PENDING = "Pending", + SUCCESS = "Success", +} + +export interface DescribeDraftAppVersionResourcesImportStatusResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The status of the action.

                                              + */ + status: ResourceImportStatusType | string | undefined; + + /** + *

                                              The timestamp for when the status last changed.

                                              + */ + statusChangeTime: Date | undefined; + + /** + *

                                              The returned error message for the request.

                                              + */ + errorMessage?: string; +} + +export namespace DescribeDraftAppVersionResourcesImportStatusResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeDraftAppVersionResourcesImportStatusResponse): any => ({ + ...obj, + }); +} + +export interface DescribeResiliencyPolicyRequest { + /** + *

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

                                              + */ + policyArn: string | undefined; +} + +export namespace DescribeResiliencyPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeResiliencyPolicyRequest): any => ({ + ...obj, + }); +} + +export interface DescribeResiliencyPolicyResponse { + /** + *

                                              Information about the specific resiliency policy, returned as an object. This object + * includes creation time, data location constraints, its name, description, tags, the recovery + * time objective (RTO) and recovery point objective (RPO) in seconds, and more.

                                              + */ + policy: ResiliencyPolicy | undefined; +} + +export namespace DescribeResiliencyPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeResiliencyPolicyResponse): any => ({ + ...obj, + ...(obj.policy && { policy: ResiliencyPolicy.filterSensitiveLog(obj.policy) }), + }); +} + +export interface ImportResourcesToDraftAppVersionRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The Amazon Resource Names (ARNs) for the resources that you want to import.

                                              + */ + sourceArns: string[] | undefined; +} + +export namespace ImportResourcesToDraftAppVersionRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ImportResourcesToDraftAppVersionRequest): any => ({ + ...obj, + }); +} + +export interface ImportResourcesToDraftAppVersionResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The Amazon Resource Names (ARNs) for the resources that you imported.

                                              + */ + sourceArns: string[] | undefined; + + /** + *

                                              The status of the action.

                                              + */ + status: ResourceImportStatusType | string | undefined; +} + +export namespace ImportResourcesToDraftAppVersionResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ImportResourcesToDraftAppVersionResponse): any => ({ + ...obj, + }); +} + +export interface ListAlarmRecommendationsRequest { + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListAlarmRecommendationsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAlarmRecommendationsRequest): any => ({ + ...obj, + }); +} + +export interface ListAlarmRecommendationsResponse { + /** + *

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

                                              + */ + alarmRecommendations: AlarmRecommendation[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAlarmRecommendationsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAlarmRecommendationsResponse): any => ({ + ...obj, + }); +} + +export interface ListAppAssessmentsRequest { + /** + *

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

                                              + */ + appArn?: string; + + /** + *

                                              The name for the assessment.

                                              + */ + assessmentName?: string; + + /** + *

                                              The current status of the assessment for the resiliency policy.

                                              + */ + assessmentStatus?: (AssessmentStatus | string)[]; + + /** + *

                                              The current status of compliance for the resiliency policy.

                                              + */ + complianceStatus?: ComplianceStatus | string; + + /** + *

                                              Specifies the entity that invoked a specific assessment, either a User or the + * System.

                                              + */ + invoker?: AssessmentInvoker | string; + + /** + *

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

                                              + */ + reverseOrder?: boolean; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListAppAssessmentsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppAssessmentsRequest): any => ({ + ...obj, + }); +} + +export interface ListAppAssessmentsResponse { + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; + + /** + *

                                              The summaries for the specified assessments, returned as an object. This object includes + * application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency + * scores, and more.

                                              + */ + assessmentSummaries: AppAssessmentSummary[] | undefined; +} + +export namespace ListAppAssessmentsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppAssessmentsResponse): any => ({ + ...obj, + }); +} + +export interface ListAppComponentCompliancesRequest { + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; +} + +export namespace ListAppComponentCompliancesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppComponentCompliancesRequest): any => ({ + ...obj, + }); +} + +export interface ListAppComponentCompliancesResponse { + /** + *

                                              The compliances for an AWS Resilience Hub application component, returned as an object. This + * object contains component names, compliances, costs, resiliency scores, outage scores, and + * more.

                                              + */ + componentCompliances: AppComponentCompliance[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAppComponentCompliancesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppComponentCompliancesResponse): any => ({ + ...obj, + }); +} + +export interface ListAppComponentRecommendationsRequest { + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListAppComponentRecommendationsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppComponentRecommendationsRequest): any => ({ + ...obj, + }); +} + +export enum HaArchitecture { + BACKUP_AND_RESTORE = "BackupAndRestore", + MULTI_SITE = "MultiSite", + NO_RECOVERY_PLAN = "NoRecoveryPlan", + PILOT_LIGHT = "PilotLight", + WARM_STANDBY = "WarmStandby", +} + +export enum ConfigRecommendationOptimizationType { + BEST_ATTAINABLE = "BestAttainable", + BEST_AZ_RECOVERY = "BestAZRecovery", + LEAST_CHANGE = "LeastChange", + LEAST_COST = "LeastCost", + LEAST_ERRORS = "LeastErrors", +} + +/** + *

                                              Defines a disruption compliance recommendation.

                                              + */ +export interface RecommendationDisruptionCompliance { + /** + *

                                              The expected compliance status after applying the recommended configuration change.

                                              + */ + expectedComplianceStatus: ComplianceStatus | string | undefined; + + /** + *

                                              The expected RTO after applying the recommended configuration change.

                                              + */ + expectedRtoInSecs?: number; + + /** + *

                                              The expected Recovery Time Objective (RTO) description after applying the recommended + * configuration change.

                                              + */ + expectedRtoDescription?: string; + + /** + *

                                              The expected RPO after applying the recommended configuration change.

                                              + */ + expectedRpoInSecs?: number; + + /** + *

                                              The expected Recovery Point Objective (RPO) description after applying the recommended + * configuration change.

                                              + */ + expectedRpoDescription?: string; +} + +export namespace RecommendationDisruptionCompliance { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RecommendationDisruptionCompliance): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a configuration recommendation.

                                              + */ +export interface ConfigRecommendation { + /** + *

                                              The cost for the application.

                                              + */ + cost?: Cost; + + /** + *

                                              The application component name.

                                              + */ + appComponentName?: string; + + /** + *

                                              The current compliance against the resiliency policy before applying the configuration + * change.

                                              + */ + compliance?: { [key: string]: DisruptionCompliance }; + + /** + *

                                              The expected compliance against the resiliency policy after applying the configuration + * change.

                                              + */ + recommendationCompliance?: { [key: string]: RecommendationDisruptionCompliance }; + + /** + *

                                              The type of optimization.

                                              + */ + optimizationType: ConfigRecommendationOptimizationType | string | undefined; + + /** + *

                                              The name of the recommendation configuration.

                                              + */ + name: string | undefined; + + /** + *

                                              The optional description for an app.

                                              + */ + description?: string; + + /** + *

                                              List of the suggested configuration changes.

                                              + */ + suggestedChanges?: string[]; + + /** + *

                                              The architecture type.

                                              + */ + haArchitecture?: HaArchitecture | string; + + /** + *

                                              The reference identifier for the recommendation configuration.

                                              + */ + referenceId: string | undefined; +} + +export namespace ConfigRecommendation { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ConfigRecommendation): any => ({ + ...obj, + }); +} + +export enum RecommendationComplianceStatus { + BREACHED_CAN_MEET = "BreachedCanMeet", + BREACHED_UNATTAINABLE = "BreachedUnattainable", + MET_CAN_IMPROVE = "MetCanImprove", +} + +/** + *

                                              Defines recommendations for a Resilience Hub application component, returned as an object. This + * object contains component names, configuration recommendations, and recommendation + * statuses.

                                              + */ +export interface ComponentRecommendation { + /** + *

                                              The name of the application component.

                                              + */ + appComponentName: string | undefined; + + /** + *

                                              The recommendation status.

                                              + */ + recommendationStatus: RecommendationComplianceStatus | string | undefined; + + /** + *

                                              The list of recommendations.

                                              + */ + configRecommendations: ConfigRecommendation[] | undefined; +} + +export namespace ComponentRecommendation { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ComponentRecommendation): any => ({ + ...obj, + }); +} + +export interface ListAppComponentRecommendationsResponse { + /** + *

                                              The recommendations for an Resilience Hub application component, returned as an object. This + * object contains component names, configuration recommendations, and recommendation + * statuses.

                                              + */ + componentRecommendations: ComponentRecommendation[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAppComponentRecommendationsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppComponentRecommendationsResponse): any => ({ + ...obj, + }); +} + +export interface ListAppsRequest { + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; + + /** + *

                                              The name for the one of the listed applications.

                                              + */ + name?: string; + + /** + *

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

                                              + */ + appArn?: string; +} + +export namespace ListAppsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppsRequest): any => ({ + ...obj, + }); +} + +export interface ListAppsResponse { + /** + *

                                              Summaries for the Resilience Hub application.

                                              + */ + appSummaries: AppSummary[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAppsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppsResponse): any => ({ + ...obj, + }); +} + +export interface ListAppVersionResourceMappingsRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListAppVersionResourceMappingsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppVersionResourceMappingsRequest): any => ({ + ...obj, + }); +} + +export interface ListAppVersionResourceMappingsResponse { + /** + *

                                              Mappings used to map logical resources from the template to physical resources. You can + * use the mapping type CFN_STACK if the application template uses + * a logical stack name. Or you can map individual resources by using the mapping type + * RESOURCE. We recommend using the mapping type CFN_STACK if the + * application is backed by a CloudFormation stack.

                                              + */ + resourceMappings: ResourceMapping[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAppVersionResourceMappingsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppVersionResourceMappingsResponse): any => ({ + ...obj, + }); +} + +export interface ListAppVersionResourcesRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId?: string; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListAppVersionResourcesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppVersionResourcesRequest): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a logical resource identifier.

                                              + */ +export interface LogicalResourceId { + /** + *

                                              The identifier of the resource.

                                              + */ + identifier: string | undefined; + + /** + *

                                              The name of the CloudFormation stack this resource belongs to.

                                              + */ + logicalStackName?: string; + + /** + *

                                              The name of the resource group that this resource belongs to.

                                              + */ + resourceGroupName?: string; +} + +export namespace LogicalResourceId { + /** + * @internal + */ + export const filterSensitiveLog = (obj: LogicalResourceId): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a physical resource. A physical resource is a resource that exists in your + * account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native + * identifier.

                                              + */ +export interface PhysicalResource { + /** + *

                                              The name of the resource.

                                              + */ + resourceName?: string; + + /** + *

                                              The logical identifier of the resource.

                                              + */ + logicalResourceId: LogicalResourceId | undefined; + + /** + *

                                              The physical identifier of the resource.

                                              + */ + physicalResourceId: PhysicalResourceId | undefined; + + /** + *

                                              The type of resource.

                                              + */ + resourceType: string | undefined; + + /** + *

                                              The application components that belong to this resource.

                                              + */ + appComponents?: AppComponent[]; +} + +export namespace PhysicalResource { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PhysicalResource): any => ({ + ...obj, + }); +} + +export interface ListAppVersionResourcesResponse { + /** + *

                                              The physical resources in the application version.

                                              + */ + physicalResources: PhysicalResource[] | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId: string | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAppVersionResourcesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppVersionResourcesResponse): any => ({ + ...obj, + }); +} + +export interface ListAppVersionsRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListAppVersionsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppVersionsRequest): any => ({ + ...obj, + }); +} + +export interface ListAppVersionsResponse { + /** + *

                                              The version of the application.

                                              + */ + appVersions: AppVersionSummary[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListAppVersionsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListAppVersionsResponse): any => ({ + ...obj, + }); +} + +export interface ListRecommendationTemplatesRequest { + /** + *

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

                                              + */ + assessmentArn: string | undefined; + + /** + *

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

                                              + */ + reverseOrder?: boolean; + + /** + *

                                              The status of the action.

                                              + */ + status?: (RecommendationTemplateStatus | string)[]; + + /** + *

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

                                              + */ + recommendationTemplateArn?: string; + + /** + *

                                              The name for one of the listed recommendation templates.

                                              + */ + name?: string; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListRecommendationTemplatesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListRecommendationTemplatesRequest): any => ({ + ...obj, + }); +} + +export interface ListRecommendationTemplatesResponse { + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; + + /** + *

                                              The recommendation templates for the Resilience Hub applications.

                                              + */ + recommendationTemplates?: RecommendationTemplate[]; +} + +export namespace ListRecommendationTemplatesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListRecommendationTemplatesResponse): any => ({ + ...obj, + ...(obj.recommendationTemplates && { + recommendationTemplates: obj.recommendationTemplates.map((item) => + RecommendationTemplate.filterSensitiveLog(item) + ), + }), + }); +} + +export interface ListResiliencyPoliciesRequest { + /** + *

                                              The name of the policy

                                              + */ + policyName?: string; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListResiliencyPoliciesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListResiliencyPoliciesRequest): any => ({ + ...obj, + }); +} + +export interface ListResiliencyPoliciesResponse { + /** + *

                                              The resiliency policies for the Resilience Hub applications.

                                              + */ + resiliencyPolicies: ResiliencyPolicy[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListResiliencyPoliciesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListResiliencyPoliciesResponse): any => ({ + ...obj, + ...(obj.resiliencyPolicies && { + resiliencyPolicies: obj.resiliencyPolicies.map((item) => ResiliencyPolicy.filterSensitiveLog(item)), + }), + }); +} + +export interface ListSopRecommendationsRequest { + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; +} + +export namespace ListSopRecommendationsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListSopRecommendationsRequest): any => ({ + ...obj, + }); +} + +export enum SopServiceType { + SSM = "SSM", +} + +/** + *

                                              Defines a standard operating procedure (SOP) recommendation.

                                              + */ +export interface SopRecommendation { + /** + *

                                              The service type.

                                              + */ + serviceType: SopServiceType | string | undefined; + + /** + *

                                              The application component name.

                                              + */ + appComponentName?: string; + + /** + *

                                              The description of the SOP recommendation.

                                              + */ + description?: string; + + /** + *

                                              Identifier for the SOP recommendation.

                                              + */ + recommendationId: string | undefined; + + /** + *

                                              The name of the SOP recommendation.

                                              + */ + name?: string; + + /** + *

                                              The recommendation items.

                                              + */ + items?: RecommendationItem[]; + + /** + *

                                              The reference identifier for the SOP recommendation.

                                              + */ + referenceId: string | undefined; + + /** + *

                                              The prerequisite for the SOP recommendation.

                                              + */ + prerequisite?: string; +} + +export namespace SopRecommendation { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SopRecommendation): any => ({ + ...obj, + }); +} + +export interface ListSopRecommendationsResponse { + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; + + /** + *

                                              The standard operating procedure (SOP) recommendations for the Resilience Hub + * applications.

                                              + */ + sopRecommendations: SopRecommendation[] | undefined; +} + +export namespace ListSopRecommendationsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListSopRecommendationsResponse): any => ({ + ...obj, + }); +} + +export interface ListSuggestedResiliencyPoliciesRequest { + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListSuggestedResiliencyPoliciesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListSuggestedResiliencyPoliciesRequest): any => ({ + ...obj, + }); +} + +export interface ListSuggestedResiliencyPoliciesResponse { + /** + *

                                              The suggested resiliency policies for the Resilience Hub applications.

                                              + */ + resiliencyPolicies: ResiliencyPolicy[] | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListSuggestedResiliencyPoliciesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListSuggestedResiliencyPoliciesResponse): any => ({ + ...obj, + ...(obj.resiliencyPolicies && { + resiliencyPolicies: obj.resiliencyPolicies.map((item) => ResiliencyPolicy.filterSensitiveLog(item)), + }), + }); +} + +export interface ListTagsForResourceRequest { + /** + *

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

                                              + */ + resourceArn: string | undefined; +} + +export namespace ListTagsForResourceRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({ + ...obj, + }); +} + +export interface ListTagsForResourceResponse { + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; +} + +export namespace ListTagsForResourceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export interface ListTestRecommendationsRequest { + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; + + /** + *

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

                                              + */ + assessmentArn: string | undefined; +} + +export namespace ListTestRecommendationsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListTestRecommendationsRequest): any => ({ + ...obj, + }); +} + +export enum TestRisk { + HIGH = "High", + MEDIUM = "Medium", + SMALL = "Small", +} + +export enum TestType { + AZ = "AZ", + HARDWARE = "Hardware", + REGION = "Region", + SOFTWARE = "Software", +} + +/** + *

                                              Defines a test recommendation.

                                              + */ +export interface TestRecommendation { + /** + *

                                              Identifier for the test recommendation.

                                              + */ + recommendationId?: string; + + /** + *

                                              The reference identifier for the test recommendation.

                                              + */ + referenceId: string | undefined; + + /** + *

                                              The name of the application component.

                                              + */ + appComponentName?: string; + + /** + *

                                              The name of the test recommendation.

                                              + */ + name?: string; + + /** + *

                                              The intent of the test recommendation.

                                              + */ + intent?: string; + + /** + *

                                              The level of risk for this test recommendation.

                                              + */ + risk?: TestRisk | string; + + /** + *

                                              The type of test recommendation.

                                              + */ + type?: TestType | string; + + /** + *

                                              The description for the test recommendation.

                                              + */ + description?: string; + + /** + *

                                              The test recommendation items.

                                              + */ + items?: RecommendationItem[]; + + /** + *

                                              The prerequisite of the test recommendation.

                                              + */ + prerequisite?: string; +} + +export namespace TestRecommendation { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TestRecommendation): any => ({ + ...obj, + }); +} + +export interface ListTestRecommendationsResponse { + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; + + /** + *

                                              The test recommendations for the Resilience Hub application.

                                              + */ + testRecommendations: TestRecommendation[] | undefined; +} + +export namespace ListTestRecommendationsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListTestRecommendationsResponse): any => ({ + ...obj, + }); +} + +export interface ListUnsupportedAppVersionResourcesRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId?: string; + + /** + *

                                              Null, or the token from a previous call to get the next set of results.

                                              + */ + nextToken?: string; + + /** + *

                                              The maximum number of results to include in the response. If more results exist than the specified + * MaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                              + */ + maxResults?: number; +} + +export namespace ListUnsupportedAppVersionResourcesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListUnsupportedAppVersionResourcesRequest): any => ({ + ...obj, + }); +} + +/** + *

                                              Defines a resource that is not supported by Resilience Hub.

                                              + */ +export interface UnsupportedResource { + /** + *

                                              The logical resource identifier for the unsupported resource.

                                              + */ + logicalResourceId: LogicalResourceId | undefined; + + /** + *

                                              The physical resource identifier for the unsupported resource.

                                              + */ + physicalResourceId: PhysicalResourceId | undefined; + + /** + *

                                              The type of resource.

                                              + */ + resourceType: string | undefined; +} + +export namespace UnsupportedResource { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UnsupportedResource): any => ({ + ...obj, + }); +} + +export interface ListUnsupportedAppVersionResourcesResponse { + /** + *

                                              The unsupported resources for the application.

                                              + */ + unsupportedResources: UnsupportedResource[] | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId: string | undefined; + + /** + *

                                              The token for the next set of results, or null if there are no more results.

                                              + */ + nextToken?: string; +} + +export namespace ListUnsupportedAppVersionResourcesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListUnsupportedAppVersionResourcesResponse): any => ({ + ...obj, + }); +} + +export interface PublishAppVersionRequest { + /** + *

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

                                              + */ + appArn: string | undefined; +} + +export namespace PublishAppVersionRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PublishAppVersionRequest): any => ({ + ...obj, + }); +} + +export interface PublishAppVersionResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion?: string; +} + +export namespace PublishAppVersionResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PublishAppVersionResponse): any => ({ + ...obj, + }); +} + +export interface PutDraftAppVersionTemplateRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              A JSON string that contains the body of the app template.

                                              + */ + appTemplateBody: string | undefined; +} + +export namespace PutDraftAppVersionTemplateRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PutDraftAppVersionTemplateRequest): any => ({ + ...obj, + }); +} + +export interface PutDraftAppVersionTemplateResponse { + /** + *

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

                                              + */ + appArn?: string; + + /** + *

                                              The version of the application.

                                              + */ + appVersion?: string; +} + +export namespace PutDraftAppVersionTemplateResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PutDraftAppVersionTemplateResponse): any => ({ + ...obj, + }); +} + +export interface RemoveDraftAppVersionResourceMappingsRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The names of the resources to remove from the resource mappings.

                                              + */ + resourceNames?: string[]; + + /** + *

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

                                              + */ + logicalStackNames?: string[]; + + /** + *

                                              The names of the registered applications to remove from the resource mappings.

                                              + */ + appRegistryAppNames?: string[]; + + /** + *

                                              The names of the resource groups to remove from the resource mappings.

                                              + */ + resourceGroupNames?: string[]; +} + +export namespace RemoveDraftAppVersionResourceMappingsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RemoveDraftAppVersionResourceMappingsRequest): any => ({ + ...obj, + }); +} + +export interface RemoveDraftAppVersionResourceMappingsResponse { + /** + *

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

                                              + */ + appArn?: string; + + /** + *

                                              The version of the application.

                                              + */ + appVersion?: string; +} + +export namespace RemoveDraftAppVersionResourceMappingsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RemoveDraftAppVersionResourceMappingsResponse): any => ({ + ...obj, + }); +} + +export interface ResolveAppVersionResourcesRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; +} + +export namespace ResolveAppVersionResourcesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResolveAppVersionResourcesRequest): any => ({ + ...obj, + }); +} + +export interface ResolveAppVersionResourcesResponse { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The identifier for a specific resolution.

                                              + */ + resolutionId: string | undefined; + + /** + *

                                              The status of the action.

                                              + */ + status: ResourceResolutionStatusType | string | undefined; +} + +export namespace ResolveAppVersionResourcesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ResolveAppVersionResourcesResponse): any => ({ + ...obj, + }); +} + +export interface StartAppAssessmentRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The version of the application.

                                              + */ + appVersion: string | undefined; + + /** + *

                                              The name for the assessment.

                                              + */ + assessmentName: string | undefined; + + /** + *

                                              Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. + * You should not reuse the same client token for other API requests.

                                              + */ + clientToken?: string; + + /** + *

                                              The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. + * Each tag consists of a key/value pair.

                                              + */ + tags?: { [key: string]: string }; +} + +export namespace StartAppAssessmentRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StartAppAssessmentRequest): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export interface StartAppAssessmentResponse { + /** + *

                                              The assessment created.

                                              + */ + assessment: AppAssessment | undefined; +} + +export namespace StartAppAssessmentResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StartAppAssessmentResponse): any => ({ + ...obj, + ...(obj.assessment && { assessment: AppAssessment.filterSensitiveLog(obj.assessment) }), + }); +} + +export interface TagResourceRequest { + /** + *

                                              The Amazon Resource Name (ARN) of the resource.

                                              + */ + resourceArn: string | undefined; + + /** + *

                                              The tags to assign to the resource. Each tag consists of a key/value pair.

                                              + */ + tags: { [key: string]: string } | undefined; +} + +export namespace TagResourceRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TagResourceRequest): any => ({ + ...obj, + ...(obj.tags && { tags: SENSITIVE_STRING }), + }); +} + +export interface TagResourceResponse {} + +export namespace TagResourceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TagResourceResponse): any => ({ + ...obj, + }); +} + +export interface UntagResourceRequest { + /** + *

                                              The Amazon Resource Name (ARN) of the resource.

                                              + */ + resourceArn: string | undefined; + + /** + *

                                              The keys of the tags to remove.

                                              + */ + tagKeys: string[] | undefined; +} + +export namespace UntagResourceRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({ + ...obj, + ...(obj.tagKeys && { tagKeys: SENSITIVE_STRING }), + }); +} + +export interface UntagResourceResponse {} + +export namespace UntagResourceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({ + ...obj, + }); +} + +export interface UpdateAppRequest { + /** + *

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

                                              + */ + appArn: string | undefined; + + /** + *

                                              The optional description for an app.

                                              + */ + description?: string; + + /** + *

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

                                              + */ + policyArn?: string; + + /** + *

                                              Specifies if the resiliency policy ARN should be cleared.

                                              + */ + clearResiliencyPolicyArn?: boolean; +} + +export namespace UpdateAppRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateAppRequest): any => ({ + ...obj, + }); +} + +export interface UpdateAppResponse { + /** + *

                                              The specified application, returned as an object with details including compliance status, + * creation time, description, resiliency score, and more.

                                              + */ + app: App | undefined; +} + +export namespace UpdateAppResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateAppResponse): any => ({ + ...obj, + ...(obj.app && { app: App.filterSensitiveLog(obj.app) }), + }); +} + +export interface UpdateResiliencyPolicyRequest { + /** + *

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

                                              + */ + policyArn: string | undefined; + + /** + *

                                              The name of the policy

                                              + */ + policyName?: string; + + /** + *

                                              The description for the policy.

                                              + */ + policyDescription?: string; + + /** + *

                                              Specifies a high-level geographical location constraint for where your resilience policy + * data can be stored.

                                              + */ + dataLocationConstraint?: DataLocationConstraint | string; + + /** + *

                                              The tier for this resiliency policy, ranging from the highest severity + * (MissionCritical) to lowest (NonCritical).

                                              + */ + tier?: ResiliencyPolicyTier | string; + + /** + *

                                              The type of resiliency policy to be created, including the recovery time objective (RTO) + * and recovery point objective (RPO) in seconds.

                                              + */ + policy?: { [key: string]: FailurePolicy }; +} + +export namespace UpdateResiliencyPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateResiliencyPolicyRequest): any => ({ + ...obj, + }); +} + +export interface UpdateResiliencyPolicyResponse { + /** + *

                                              The type of resiliency policy that was updated, including the recovery time objective + * (RTO) and recovery point objective (RPO) in seconds.

                                              + */ + policy: ResiliencyPolicy | undefined; +} + +export namespace UpdateResiliencyPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateResiliencyPolicyResponse): any => ({ + ...obj, + ...(obj.policy && { policy: ResiliencyPolicy.filterSensitiveLog(obj.policy) }), + }); +} diff --git a/clients/client-resiliencehub/src/pagination/Interfaces.ts b/clients/client-resiliencehub/src/pagination/Interfaces.ts new file mode 100644 index 0000000000000..6ddffdc4d2587 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/Interfaces.ts @@ -0,0 +1,8 @@ +import { PaginationConfiguration } from "@aws-sdk/types"; + +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; + +export interface ResiliencehubPaginationConfiguration extends PaginationConfiguration { + client: Resiliencehub | ResiliencehubClient; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAlarmRecommendationsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAlarmRecommendationsPaginator.ts new file mode 100644 index 0000000000000..752b03ac3b1d4 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAlarmRecommendationsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAlarmRecommendationsCommand, + ListAlarmRecommendationsCommandInput, + ListAlarmRecommendationsCommandOutput, +} from "../commands/ListAlarmRecommendationsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAlarmRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAlarmRecommendationsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAlarmRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAlarmRecommendations(input, ...args); +}; +export async function* paginateListAlarmRecommendations( + config: ResiliencehubPaginationConfiguration, + input: ListAlarmRecommendationsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAlarmRecommendationsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppAssessmentsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppAssessmentsPaginator.ts new file mode 100644 index 0000000000000..5f1563c17aa15 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppAssessmentsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAppAssessmentsCommand, + ListAppAssessmentsCommandInput, + ListAppAssessmentsCommandOutput, +} from "../commands/ListAppAssessmentsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppAssessmentsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppAssessmentsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppAssessmentsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAppAssessments(input, ...args); +}; +export async function* paginateListAppAssessments( + config: ResiliencehubPaginationConfiguration, + input: ListAppAssessmentsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppAssessmentsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppComponentCompliancesPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppComponentCompliancesPaginator.ts new file mode 100644 index 0000000000000..c1099222b294e --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppComponentCompliancesPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAppComponentCompliancesCommand, + ListAppComponentCompliancesCommandInput, + ListAppComponentCompliancesCommandOutput, +} from "../commands/ListAppComponentCompliancesCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppComponentCompliancesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppComponentCompliancesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppComponentCompliancesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAppComponentCompliances(input, ...args); +}; +export async function* paginateListAppComponentCompliances( + config: ResiliencehubPaginationConfiguration, + input: ListAppComponentCompliancesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppComponentCompliancesCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppComponentRecommendationsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppComponentRecommendationsPaginator.ts new file mode 100644 index 0000000000000..8ff41a5eee205 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppComponentRecommendationsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAppComponentRecommendationsCommand, + ListAppComponentRecommendationsCommandInput, + ListAppComponentRecommendationsCommandOutput, +} from "../commands/ListAppComponentRecommendationsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppComponentRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppComponentRecommendationsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppComponentRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAppComponentRecommendations(input, ...args); +}; +export async function* paginateListAppComponentRecommendations( + config: ResiliencehubPaginationConfiguration, + input: ListAppComponentRecommendationsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppComponentRecommendationsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppVersionResourceMappingsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppVersionResourceMappingsPaginator.ts new file mode 100644 index 0000000000000..19f0ca5aed70e --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppVersionResourceMappingsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAppVersionResourceMappingsCommand, + ListAppVersionResourceMappingsCommandInput, + ListAppVersionResourceMappingsCommandOutput, +} from "../commands/ListAppVersionResourceMappingsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppVersionResourceMappingsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppVersionResourceMappingsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppVersionResourceMappingsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAppVersionResourceMappings(input, ...args); +}; +export async function* paginateListAppVersionResourceMappings( + config: ResiliencehubPaginationConfiguration, + input: ListAppVersionResourceMappingsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppVersionResourceMappingsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppVersionResourcesPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppVersionResourcesPaginator.ts new file mode 100644 index 0000000000000..5fde3d28d5d70 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppVersionResourcesPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAppVersionResourcesCommand, + ListAppVersionResourcesCommandInput, + ListAppVersionResourcesCommandOutput, +} from "../commands/ListAppVersionResourcesCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppVersionResourcesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppVersionResourcesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppVersionResourcesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAppVersionResources(input, ...args); +}; +export async function* paginateListAppVersionResources( + config: ResiliencehubPaginationConfiguration, + input: ListAppVersionResourcesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppVersionResourcesCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppVersionsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppVersionsPaginator.ts new file mode 100644 index 0000000000000..f2dfa7d476fff --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppVersionsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListAppVersionsCommand, + ListAppVersionsCommandInput, + ListAppVersionsCommandOutput, +} from "../commands/ListAppVersionsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppVersionsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppVersionsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppVersionsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listAppVersions(input, ...args); +}; +export async function* paginateListAppVersions( + config: ResiliencehubPaginationConfiguration, + input: ListAppVersionsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppVersionsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListAppsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListAppsPaginator.ts new file mode 100644 index 0000000000000..a25c32f56cc8d --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListAppsPaginator.ts @@ -0,0 +1,54 @@ +import { Paginator } from "@aws-sdk/types"; + +import { ListAppsCommand, ListAppsCommandInput, ListAppsCommandOutput } from "../commands/ListAppsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListAppsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListAppsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListAppsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listApps(input, ...args); +}; +export async function* paginateListApps( + config: ResiliencehubPaginationConfiguration, + input: ListAppsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListAppsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListRecommendationTemplatesPaginator.ts b/clients/client-resiliencehub/src/pagination/ListRecommendationTemplatesPaginator.ts new file mode 100644 index 0000000000000..238bc50a1d9cb --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListRecommendationTemplatesPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListRecommendationTemplatesCommand, + ListRecommendationTemplatesCommandInput, + ListRecommendationTemplatesCommandOutput, +} from "../commands/ListRecommendationTemplatesCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListRecommendationTemplatesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListRecommendationTemplatesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListRecommendationTemplatesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listRecommendationTemplates(input, ...args); +}; +export async function* paginateListRecommendationTemplates( + config: ResiliencehubPaginationConfiguration, + input: ListRecommendationTemplatesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListRecommendationTemplatesCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListResiliencyPoliciesPaginator.ts b/clients/client-resiliencehub/src/pagination/ListResiliencyPoliciesPaginator.ts new file mode 100644 index 0000000000000..6088a16b81de8 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListResiliencyPoliciesPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListResiliencyPoliciesCommand, + ListResiliencyPoliciesCommandInput, + ListResiliencyPoliciesCommandOutput, +} from "../commands/ListResiliencyPoliciesCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListResiliencyPoliciesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListResiliencyPoliciesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListResiliencyPoliciesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listResiliencyPolicies(input, ...args); +}; +export async function* paginateListResiliencyPolicies( + config: ResiliencehubPaginationConfiguration, + input: ListResiliencyPoliciesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListResiliencyPoliciesCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListSopRecommendationsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListSopRecommendationsPaginator.ts new file mode 100644 index 0000000000000..d27c41df888a3 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListSopRecommendationsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListSopRecommendationsCommand, + ListSopRecommendationsCommandInput, + ListSopRecommendationsCommandOutput, +} from "../commands/ListSopRecommendationsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListSopRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListSopRecommendationsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListSopRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listSopRecommendations(input, ...args); +}; +export async function* paginateListSopRecommendations( + config: ResiliencehubPaginationConfiguration, + input: ListSopRecommendationsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListSopRecommendationsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListSuggestedResiliencyPoliciesPaginator.ts b/clients/client-resiliencehub/src/pagination/ListSuggestedResiliencyPoliciesPaginator.ts new file mode 100644 index 0000000000000..e7f731f53e886 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListSuggestedResiliencyPoliciesPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListSuggestedResiliencyPoliciesCommand, + ListSuggestedResiliencyPoliciesCommandInput, + ListSuggestedResiliencyPoliciesCommandOutput, +} from "../commands/ListSuggestedResiliencyPoliciesCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListSuggestedResiliencyPoliciesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListSuggestedResiliencyPoliciesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListSuggestedResiliencyPoliciesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listSuggestedResiliencyPolicies(input, ...args); +}; +export async function* paginateListSuggestedResiliencyPolicies( + config: ResiliencehubPaginationConfiguration, + input: ListSuggestedResiliencyPoliciesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListSuggestedResiliencyPoliciesCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListTestRecommendationsPaginator.ts b/clients/client-resiliencehub/src/pagination/ListTestRecommendationsPaginator.ts new file mode 100644 index 0000000000000..53a02e52415d1 --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListTestRecommendationsPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListTestRecommendationsCommand, + ListTestRecommendationsCommandInput, + ListTestRecommendationsCommandOutput, +} from "../commands/ListTestRecommendationsCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListTestRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListTestRecommendationsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListTestRecommendationsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listTestRecommendations(input, ...args); +}; +export async function* paginateListTestRecommendations( + config: ResiliencehubPaginationConfiguration, + input: ListTestRecommendationsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListTestRecommendationsCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/ListUnsupportedAppVersionResourcesPaginator.ts b/clients/client-resiliencehub/src/pagination/ListUnsupportedAppVersionResourcesPaginator.ts new file mode 100644 index 0000000000000..4fb73b72e823d --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/ListUnsupportedAppVersionResourcesPaginator.ts @@ -0,0 +1,58 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListUnsupportedAppVersionResourcesCommand, + ListUnsupportedAppVersionResourcesCommandInput, + ListUnsupportedAppVersionResourcesCommandOutput, +} from "../commands/ListUnsupportedAppVersionResourcesCommand"; +import { Resiliencehub } from "../Resiliencehub"; +import { ResiliencehubClient } from "../ResiliencehubClient"; +import { ResiliencehubPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: ResiliencehubClient, + input: ListUnsupportedAppVersionResourcesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListUnsupportedAppVersionResourcesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: Resiliencehub, + input: ListUnsupportedAppVersionResourcesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listUnsupportedAppVersionResources(input, ...args); +}; +export async function* paginateListUnsupportedAppVersionResources( + config: ResiliencehubPaginationConfiguration, + input: ListUnsupportedAppVersionResourcesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListUnsupportedAppVersionResourcesCommandOutput; + while (hasNext) { + input.nextToken = token; + if (config.client instanceof Resiliencehub) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof ResiliencehubClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected Resiliencehub | ResiliencehubClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-resiliencehub/src/pagination/index.ts b/clients/client-resiliencehub/src/pagination/index.ts new file mode 100644 index 0000000000000..04e92438de37b --- /dev/null +++ b/clients/client-resiliencehub/src/pagination/index.ts @@ -0,0 +1,15 @@ +export * from "./Interfaces"; +export * from "./ListAlarmRecommendationsPaginator"; +export * from "./ListAppAssessmentsPaginator"; +export * from "./ListAppComponentCompliancesPaginator"; +export * from "./ListAppComponentRecommendationsPaginator"; +export * from "./ListAppVersionResourceMappingsPaginator"; +export * from "./ListAppVersionResourcesPaginator"; +export * from "./ListAppVersionsPaginator"; +export * from "./ListAppsPaginator"; +export * from "./ListRecommendationTemplatesPaginator"; +export * from "./ListResiliencyPoliciesPaginator"; +export * from "./ListSopRecommendationsPaginator"; +export * from "./ListSuggestedResiliencyPoliciesPaginator"; +export * from "./ListTestRecommendationsPaginator"; +export * from "./ListUnsupportedAppVersionResourcesPaginator"; diff --git a/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts new file mode 100644 index 0000000000000..88e1c24ea4099 --- /dev/null +++ b/clients/client-resiliencehub/src/protocols/Aws_restJson1.ts @@ -0,0 +1,6069 @@ +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { + expectBoolean as __expectBoolean, + expectInt32 as __expectInt32, + expectNonNull as __expectNonNull, + expectNumber as __expectNumber, + expectObject as __expectObject, + expectString as __expectString, + extendedEncodeURIComponent as __extendedEncodeURIComponent, + limitedParseDouble as __limitedParseDouble, + parseEpochTimestamp as __parseEpochTimestamp, +} from "@aws-sdk/smithy-client"; +import { + Endpoint as __Endpoint, + MetadataBearer as __MetadataBearer, + ResponseMetadata as __ResponseMetadata, + SerdeContext as __SerdeContext, + SmithyException as __SmithyException, +} from "@aws-sdk/types"; +import { v4 as generateIdempotencyToken } from "uuid"; + +import { + AddDraftAppVersionResourceMappingsCommandInput, + AddDraftAppVersionResourceMappingsCommandOutput, +} from "../commands/AddDraftAppVersionResourceMappingsCommand"; +import { CreateAppCommandInput, CreateAppCommandOutput } from "../commands/CreateAppCommand"; +import { + CreateRecommendationTemplateCommandInput, + CreateRecommendationTemplateCommandOutput, +} from "../commands/CreateRecommendationTemplateCommand"; +import { + CreateResiliencyPolicyCommandInput, + CreateResiliencyPolicyCommandOutput, +} from "../commands/CreateResiliencyPolicyCommand"; +import { + DeleteAppAssessmentCommandInput, + DeleteAppAssessmentCommandOutput, +} from "../commands/DeleteAppAssessmentCommand"; +import { DeleteAppCommandInput, DeleteAppCommandOutput } from "../commands/DeleteAppCommand"; +import { + DeleteRecommendationTemplateCommandInput, + DeleteRecommendationTemplateCommandOutput, +} from "../commands/DeleteRecommendationTemplateCommand"; +import { + DeleteResiliencyPolicyCommandInput, + DeleteResiliencyPolicyCommandOutput, +} from "../commands/DeleteResiliencyPolicyCommand"; +import { + DescribeAppAssessmentCommandInput, + DescribeAppAssessmentCommandOutput, +} from "../commands/DescribeAppAssessmentCommand"; +import { DescribeAppCommandInput, DescribeAppCommandOutput } from "../commands/DescribeAppCommand"; +import { + DescribeAppVersionResourcesResolutionStatusCommandInput, + DescribeAppVersionResourcesResolutionStatusCommandOutput, +} from "../commands/DescribeAppVersionResourcesResolutionStatusCommand"; +import { + DescribeAppVersionTemplateCommandInput, + DescribeAppVersionTemplateCommandOutput, +} from "../commands/DescribeAppVersionTemplateCommand"; +import { + DescribeDraftAppVersionResourcesImportStatusCommandInput, + DescribeDraftAppVersionResourcesImportStatusCommandOutput, +} from "../commands/DescribeDraftAppVersionResourcesImportStatusCommand"; +import { + DescribeResiliencyPolicyCommandInput, + DescribeResiliencyPolicyCommandOutput, +} from "../commands/DescribeResiliencyPolicyCommand"; +import { + ImportResourcesToDraftAppVersionCommandInput, + ImportResourcesToDraftAppVersionCommandOutput, +} from "../commands/ImportResourcesToDraftAppVersionCommand"; +import { + ListAlarmRecommendationsCommandInput, + ListAlarmRecommendationsCommandOutput, +} from "../commands/ListAlarmRecommendationsCommand"; +import { ListAppAssessmentsCommandInput, ListAppAssessmentsCommandOutput } from "../commands/ListAppAssessmentsCommand"; +import { + ListAppComponentCompliancesCommandInput, + ListAppComponentCompliancesCommandOutput, +} from "../commands/ListAppComponentCompliancesCommand"; +import { + ListAppComponentRecommendationsCommandInput, + ListAppComponentRecommendationsCommandOutput, +} from "../commands/ListAppComponentRecommendationsCommand"; +import { ListAppsCommandInput, ListAppsCommandOutput } from "../commands/ListAppsCommand"; +import { + ListAppVersionResourceMappingsCommandInput, + ListAppVersionResourceMappingsCommandOutput, +} from "../commands/ListAppVersionResourceMappingsCommand"; +import { + ListAppVersionResourcesCommandInput, + ListAppVersionResourcesCommandOutput, +} from "../commands/ListAppVersionResourcesCommand"; +import { ListAppVersionsCommandInput, ListAppVersionsCommandOutput } from "../commands/ListAppVersionsCommand"; +import { + ListRecommendationTemplatesCommandInput, + ListRecommendationTemplatesCommandOutput, +} from "../commands/ListRecommendationTemplatesCommand"; +import { + ListResiliencyPoliciesCommandInput, + ListResiliencyPoliciesCommandOutput, +} from "../commands/ListResiliencyPoliciesCommand"; +import { + ListSopRecommendationsCommandInput, + ListSopRecommendationsCommandOutput, +} from "../commands/ListSopRecommendationsCommand"; +import { + ListSuggestedResiliencyPoliciesCommandInput, + ListSuggestedResiliencyPoliciesCommandOutput, +} from "../commands/ListSuggestedResiliencyPoliciesCommand"; +import { + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, +} from "../commands/ListTagsForResourceCommand"; +import { + ListTestRecommendationsCommandInput, + ListTestRecommendationsCommandOutput, +} from "../commands/ListTestRecommendationsCommand"; +import { + ListUnsupportedAppVersionResourcesCommandInput, + ListUnsupportedAppVersionResourcesCommandOutput, +} from "../commands/ListUnsupportedAppVersionResourcesCommand"; +import { PublishAppVersionCommandInput, PublishAppVersionCommandOutput } from "../commands/PublishAppVersionCommand"; +import { + PutDraftAppVersionTemplateCommandInput, + PutDraftAppVersionTemplateCommandOutput, +} from "../commands/PutDraftAppVersionTemplateCommand"; +import { + RemoveDraftAppVersionResourceMappingsCommandInput, + RemoveDraftAppVersionResourceMappingsCommandOutput, +} from "../commands/RemoveDraftAppVersionResourceMappingsCommand"; +import { + ResolveAppVersionResourcesCommandInput, + ResolveAppVersionResourcesCommandOutput, +} from "../commands/ResolveAppVersionResourcesCommand"; +import { StartAppAssessmentCommandInput, StartAppAssessmentCommandOutput } from "../commands/StartAppAssessmentCommand"; +import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; +import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; +import { UpdateAppCommandInput, UpdateAppCommandOutput } from "../commands/UpdateAppCommand"; +import { + UpdateResiliencyPolicyCommandInput, + UpdateResiliencyPolicyCommandOutput, +} from "../commands/UpdateResiliencyPolicyCommand"; +import { + AccessDeniedException, + AlarmRecommendation, + App, + AppAssessment, + AppAssessmentSummary, + AppComponent, + AppComponentCompliance, + AppSummary, + AppVersionSummary, + ComponentRecommendation, + ConfigRecommendation, + ConflictException, + Cost, + DisruptionCompliance, + DisruptionType, + FailurePolicy, + InternalServerException, + LogicalResourceId, + PhysicalResource, + PhysicalResourceId, + RecommendationDisruptionCompliance, + RecommendationItem, + RecommendationTemplate, + RenderRecommendationType, + ResiliencyPolicy, + ResiliencyScore, + ResourceMapping, + ResourceNotFoundException, + S3Location, + ServiceQuotaExceededException, + SopRecommendation, + TestRecommendation, + ThrottlingException, + UnsupportedResource, + ValidationException, +} from "../models/models_0"; + +export const serializeAws_restJson1AddDraftAppVersionResourceMappingsCommand = async ( + input: AddDraftAppVersionResourceMappingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/add-draft-app-version-resource-mappings"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.resourceMappings !== undefined && + input.resourceMappings !== null && { + resourceMappings: serializeAws_restJson1ResourceMappingList(input.resourceMappings, context), + }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateAppCommand = async ( + input: CreateAppCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-app"; + let body: any; + body = JSON.stringify({ + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.description !== undefined && input.description !== null && { description: input.description }), + ...(input.name !== undefined && input.name !== null && { name: input.name }), + ...(input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn }), + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateRecommendationTemplateCommand = async ( + input: CreateRecommendationTemplateCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-recommendation-template"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + ...(input.bucketName !== undefined && input.bucketName !== null && { bucketName: input.bucketName }), + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.format !== undefined && input.format !== null && { format: input.format }), + ...(input.name !== undefined && input.name !== null && { name: input.name }), + ...(input.recommendationIds !== undefined && + input.recommendationIds !== null && { + recommendationIds: serializeAws_restJson1RecommendationIdList(input.recommendationIds, context), + }), + ...(input.recommendationTypes !== undefined && + input.recommendationTypes !== null && { + recommendationTypes: serializeAws_restJson1RenderRecommendationTypeList(input.recommendationTypes, context), + }), + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1CreateResiliencyPolicyCommand = async ( + input: CreateResiliencyPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-resiliency-policy"; + let body: any; + body = JSON.stringify({ + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.dataLocationConstraint !== undefined && + input.dataLocationConstraint !== null && { dataLocationConstraint: input.dataLocationConstraint }), + ...(input.policy !== undefined && + input.policy !== null && { policy: serializeAws_restJson1DisruptionPolicy(input.policy, context) }), + ...(input.policyDescription !== undefined && + input.policyDescription !== null && { policyDescription: input.policyDescription }), + ...(input.policyName !== undefined && input.policyName !== null && { policyName: input.policyName }), + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }), + ...(input.tier !== undefined && input.tier !== null && { tier: input.tier }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteAppCommand = async ( + input: DeleteAppCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.forceDelete !== undefined && input.forceDelete !== null && { forceDelete: input.forceDelete }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteAppAssessmentCommand = async ( + input: DeleteAppAssessmentCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-app-assessment"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + clientToken: input.clientToken ?? generateIdempotencyToken(), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteRecommendationTemplateCommand = async ( + input: DeleteRecommendationTemplateCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-recommendation-template"; + let body: any; + body = JSON.stringify({ + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.recommendationTemplateArn !== undefined && + input.recommendationTemplateArn !== null && { recommendationTemplateArn: input.recommendationTemplateArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DeleteResiliencyPolicyCommand = async ( + input: DeleteResiliencyPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/delete-resiliency-policy"; + let body: any; + body = JSON.stringify({ + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeAppCommand = async ( + input: DescribeAppCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeAppAssessmentCommand = async ( + input: DescribeAppAssessmentCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-assessment"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand = async ( + input: DescribeAppVersionResourcesResolutionStatusCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/describe-app-version-resources-resolution-status"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + ...(input.resolutionId !== undefined && input.resolutionId !== null && { resolutionId: input.resolutionId }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeAppVersionTemplateCommand = async ( + input: DescribeAppVersionTemplateCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-app-version-template"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand = async ( + input: DescribeDraftAppVersionResourcesImportStatusCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/describe-draft-app-version-resources-import-status"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1DescribeResiliencyPolicyCommand = async ( + input: DescribeResiliencyPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/describe-resiliency-policy"; + let body: any; + body = JSON.stringify({ + ...(input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ImportResourcesToDraftAppVersionCommand = async ( + input: ImportResourcesToDraftAppVersionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/import-resources-to-draft-app-version"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.sourceArns !== undefined && + input.sourceArns !== null && { sourceArns: serializeAws_restJson1ArnList(input.sourceArns, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListAlarmRecommendationsCommand = async ( + input: ListAlarmRecommendationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-alarm-recommendations"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListAppAssessmentsCommand = async ( + input: ListAppAssessmentsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-assessments"; + const query: any = { + ...(input.appArn !== undefined && { appArn: input.appArn }), + ...(input.assessmentName !== undefined && { assessmentName: input.assessmentName }), + ...(input.assessmentStatus !== undefined && { + assessmentStatus: (input.assessmentStatus || []).map((_entry) => _entry as any), + }), + ...(input.complianceStatus !== undefined && { complianceStatus: input.complianceStatus }), + ...(input.invoker !== undefined && { invoker: input.invoker }), + ...(input.reverseOrder !== undefined && { reverseOrder: input.reverseOrder.toString() }), + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListAppComponentCompliancesCommand = async ( + input: ListAppComponentCompliancesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-component-compliances"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListAppComponentRecommendationsCommand = async ( + input: ListAppComponentRecommendationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-component-recommendations"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListAppsCommand = async ( + input: ListAppsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-apps"; + const query: any = { + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + ...(input.name !== undefined && { name: input.name }), + ...(input.appArn !== undefined && { appArn: input.appArn }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListAppVersionResourceMappingsCommand = async ( + input: ListAppVersionResourceMappingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-version-resource-mappings"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListAppVersionResourcesCommand = async ( + input: ListAppVersionResourcesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-version-resources"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + ...(input.resolutionId !== undefined && input.resolutionId !== null && { resolutionId: input.resolutionId }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListAppVersionsCommand = async ( + input: ListAppVersionsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-app-versions"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListRecommendationTemplatesCommand = async ( + input: ListRecommendationTemplatesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-recommendation-templates"; + const query: any = { + ...(input.assessmentArn !== undefined && { assessmentArn: input.assessmentArn }), + ...(input.reverseOrder !== undefined && { reverseOrder: input.reverseOrder.toString() }), + ...(input.status !== undefined && { status: (input.status || []).map((_entry) => _entry as any) }), + ...(input.recommendationTemplateArn !== undefined && { + recommendationTemplateArn: input.recommendationTemplateArn, + }), + ...(input.name !== undefined && { name: input.name }), + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListResiliencyPoliciesCommand = async ( + input: ListResiliencyPoliciesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-resiliency-policies"; + const query: any = { + ...(input.policyName !== undefined && { policyName: input.policyName }), + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListSopRecommendationsCommand = async ( + input: ListSopRecommendationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-sop-recommendations"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListSuggestedResiliencyPoliciesCommand = async ( + input: ListSuggestedResiliencyPoliciesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-suggested-resiliency-policies"; + const query: any = { + ...(input.nextToken !== undefined && { nextToken: input.nextToken }), + ...(input.maxResults !== undefined && { maxResults: input.maxResults.toString() }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1ListTagsForResourceCommand = async ( + input: ListTagsForResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}"; + if (input.resourceArn !== undefined) { + const labelValue: string = input.resourceArn; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resourceArn."); + } + resolvedPath = resolvedPath.replace("{resourceArn}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resourceArn."); + } + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListTestRecommendationsCommand = async ( + input: ListTestRecommendationsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-test-recommendations"; + let body: any; + body = JSON.stringify({ + ...(input.assessmentArn !== undefined && input.assessmentArn !== null && { assessmentArn: input.assessmentArn }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ListUnsupportedAppVersionResourcesCommand = async ( + input: ListUnsupportedAppVersionResourcesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-unsupported-app-version-resources"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + ...(input.resolutionId !== undefined && input.resolutionId !== null && { resolutionId: input.resolutionId }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1PublishAppVersionCommand = async ( + input: PublishAppVersionCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/publish-app-version"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1PutDraftAppVersionTemplateCommand = async ( + input: PutDraftAppVersionTemplateCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/put-draft-app-version-template"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appTemplateBody !== undefined && + input.appTemplateBody !== null && { appTemplateBody: input.appTemplateBody }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand = async ( + input: RemoveDraftAppVersionResourceMappingsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/remove-draft-app-version-resource-mappings"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appRegistryAppNames !== undefined && + input.appRegistryAppNames !== null && { + appRegistryAppNames: serializeAws_restJson1EntityNameList(input.appRegistryAppNames, context), + }), + ...(input.logicalStackNames !== undefined && + input.logicalStackNames !== null && { + logicalStackNames: serializeAws_restJson1String255List(input.logicalStackNames, context), + }), + ...(input.resourceGroupNames !== undefined && + input.resourceGroupNames !== null && { + resourceGroupNames: serializeAws_restJson1EntityNameList(input.resourceGroupNames, context), + }), + ...(input.resourceNames !== undefined && + input.resourceNames !== null && { + resourceNames: serializeAws_restJson1EntityNameList(input.resourceNames, context), + }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1ResolveAppVersionResourcesCommand = async ( + input: ResolveAppVersionResourcesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resolve-app-version-resources"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1StartAppAssessmentCommand = async ( + input: StartAppAssessmentCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/start-app-assessment"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.appVersion !== undefined && input.appVersion !== null && { appVersion: input.appVersion }), + ...(input.assessmentName !== undefined && + input.assessmentName !== null && { assessmentName: input.assessmentName }), + clientToken: input.clientToken ?? generateIdempotencyToken(), + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1TagResourceCommand = async ( + input: TagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}"; + if (input.resourceArn !== undefined) { + const labelValue: string = input.resourceArn; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resourceArn."); + } + resolvedPath = resolvedPath.replace("{resourceArn}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resourceArn."); + } + let body: any; + body = JSON.stringify({ + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UntagResourceCommand = async ( + input: UntagResourceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}"; + if (input.resourceArn !== undefined) { + const labelValue: string = input.resourceArn; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: resourceArn."); + } + resolvedPath = resolvedPath.replace("{resourceArn}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: resourceArn."); + } + const query: any = { + ...(input.tagKeys !== undefined && { tagKeys: (input.tagKeys || []).map((_entry) => _entry as any) }), + }; + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + query, + body, + }); +}; + +export const serializeAws_restJson1UpdateAppCommand = async ( + input: UpdateAppCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-app"; + let body: any; + body = JSON.stringify({ + ...(input.appArn !== undefined && input.appArn !== null && { appArn: input.appArn }), + ...(input.clearResiliencyPolicyArn !== undefined && + input.clearResiliencyPolicyArn !== null && { clearResiliencyPolicyArn: input.clearResiliencyPolicyArn }), + ...(input.description !== undefined && input.description !== null && { description: input.description }), + ...(input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const serializeAws_restJson1UpdateResiliencyPolicyCommand = async ( + input: UpdateResiliencyPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/update-resiliency-policy"; + let body: any; + body = JSON.stringify({ + ...(input.dataLocationConstraint !== undefined && + input.dataLocationConstraint !== null && { dataLocationConstraint: input.dataLocationConstraint }), + ...(input.policy !== undefined && + input.policy !== null && { policy: serializeAws_restJson1DisruptionPolicy(input.policy, context) }), + ...(input.policyArn !== undefined && input.policyArn !== null && { policyArn: input.policyArn }), + ...(input.policyDescription !== undefined && + input.policyDescription !== null && { policyDescription: input.policyDescription }), + ...(input.policyName !== undefined && input.policyName !== null && { policyName: input.policyName }), + ...(input.tier !== undefined && input.tier !== null && { tier: input.tier }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + +export const deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommandError(output, context); + } + const contents: AddDraftAppVersionResourceMappingsCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + resourceMappings: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + if (data.resourceMappings !== undefined && data.resourceMappings !== null) { + contents.resourceMappings = deserializeAws_restJson1ResourceMappingList(data.resourceMappings, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1AddDraftAppVersionResourceMappingsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateAppCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateAppCommandError(output, context); + } + const contents: CreateAppCommandOutput = { + $metadata: deserializeMetadata(output), + app: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.app !== undefined && data.app !== null) { + contents.app = deserializeAws_restJson1App(data.app, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateAppCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.resiliencehub#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateRecommendationTemplateCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateRecommendationTemplateCommandError(output, context); + } + const contents: CreateRecommendationTemplateCommandOutput = { + $metadata: deserializeMetadata(output), + recommendationTemplate: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.recommendationTemplate !== undefined && data.recommendationTemplate !== null) { + contents.recommendationTemplate = deserializeAws_restJson1RecommendationTemplate( + data.recommendationTemplate, + context + ); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateRecommendationTemplateCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1CreateResiliencyPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreateResiliencyPolicyCommandError(output, context); + } + const contents: CreateResiliencyPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + policy: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.policy !== undefined && data.policy !== null) { + contents.policy = deserializeAws_restJson1ResiliencyPolicy(data.policy, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreateResiliencyPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.resiliencehub#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteAppCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteAppCommandError(output, context); + } + const contents: DeleteAppCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteAppCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteAppAssessmentCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteAppAssessmentCommandError(output, context); + } + const contents: DeleteAppAssessmentCommandOutput = { + $metadata: deserializeMetadata(output), + assessmentArn: undefined, + assessmentStatus: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.assessmentArn !== undefined && data.assessmentArn !== null) { + contents.assessmentArn = __expectString(data.assessmentArn); + } + if (data.assessmentStatus !== undefined && data.assessmentStatus !== null) { + contents.assessmentStatus = __expectString(data.assessmentStatus); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteAppAssessmentCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteRecommendationTemplateCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteRecommendationTemplateCommandError(output, context); + } + const contents: DeleteRecommendationTemplateCommandOutput = { + $metadata: deserializeMetadata(output), + recommendationTemplateArn: undefined, + status: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.recommendationTemplateArn !== undefined && data.recommendationTemplateArn !== null) { + contents.recommendationTemplateArn = __expectString(data.recommendationTemplateArn); + } + if (data.status !== undefined && data.status !== null) { + contents.status = __expectString(data.status); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteRecommendationTemplateCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DeleteResiliencyPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeleteResiliencyPolicyCommandError(output, context); + } + const contents: DeleteResiliencyPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + policyArn: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.policyArn !== undefined && data.policyArn !== null) { + contents.policyArn = __expectString(data.policyArn); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeleteResiliencyPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeAppCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeAppCommandError(output, context); + } + const contents: DescribeAppCommandOutput = { + $metadata: deserializeMetadata(output), + app: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.app !== undefined && data.app !== null) { + contents.app = deserializeAws_restJson1App(data.app, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeAppCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeAppAssessmentCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeAppAssessmentCommandError(output, context); + } + const contents: DescribeAppAssessmentCommandOutput = { + $metadata: deserializeMetadata(output), + assessment: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.assessment !== undefined && data.assessment !== null) { + contents.assessment = deserializeAws_restJson1AppAssessment(data.assessment, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeAppAssessmentCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommandError(output, context); + } + const contents: DescribeAppVersionResourcesResolutionStatusCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + errorMessage: undefined, + resolutionId: undefined, + status: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + if (data.errorMessage !== undefined && data.errorMessage !== null) { + contents.errorMessage = __expectString(data.errorMessage); + } + if (data.resolutionId !== undefined && data.resolutionId !== null) { + contents.resolutionId = __expectString(data.resolutionId); + } + if (data.status !== undefined && data.status !== null) { + contents.status = __expectString(data.status); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeAppVersionResourcesResolutionStatusCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeAppVersionTemplateCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeAppVersionTemplateCommandError(output, context); + } + const contents: DescribeAppVersionTemplateCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appTemplateBody: undefined, + appVersion: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appTemplateBody !== undefined && data.appTemplateBody !== null) { + contents.appTemplateBody = __expectString(data.appTemplateBody); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeAppVersionTemplateCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommandError(output, context); + } + const contents: DescribeDraftAppVersionResourcesImportStatusCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + errorMessage: undefined, + status: undefined, + statusChangeTime: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + if (data.errorMessage !== undefined && data.errorMessage !== null) { + contents.errorMessage = __expectString(data.errorMessage); + } + if (data.status !== undefined && data.status !== null) { + contents.status = __expectString(data.status); + } + if (data.statusChangeTime !== undefined && data.statusChangeTime !== null) { + contents.statusChangeTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.statusChangeTime))); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeDraftAppVersionResourcesImportStatusCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1DescribeResiliencyPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DescribeResiliencyPolicyCommandError(output, context); + } + const contents: DescribeResiliencyPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + policy: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.policy !== undefined && data.policy !== null) { + contents.policy = deserializeAws_restJson1ResiliencyPolicy(data.policy, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DescribeResiliencyPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ImportResourcesToDraftAppVersionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ImportResourcesToDraftAppVersionCommandError(output, context); + } + const contents: ImportResourcesToDraftAppVersionCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + sourceArns: undefined, + status: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + if (data.sourceArns !== undefined && data.sourceArns !== null) { + contents.sourceArns = deserializeAws_restJson1ArnList(data.sourceArns, context); + } + if (data.status !== undefined && data.status !== null) { + contents.status = __expectString(data.status); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ImportResourcesToDraftAppVersionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAlarmRecommendationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAlarmRecommendationsCommandError(output, context); + } + const contents: ListAlarmRecommendationsCommandOutput = { + $metadata: deserializeMetadata(output), + alarmRecommendations: undefined, + nextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.alarmRecommendations !== undefined && data.alarmRecommendations !== null) { + contents.alarmRecommendations = deserializeAws_restJson1AlarmRecommendationList(data.alarmRecommendations, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAlarmRecommendationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppAssessmentsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppAssessmentsCommandError(output, context); + } + const contents: ListAppAssessmentsCommandOutput = { + $metadata: deserializeMetadata(output), + assessmentSummaries: undefined, + nextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.assessmentSummaries !== undefined && data.assessmentSummaries !== null) { + contents.assessmentSummaries = deserializeAws_restJson1AppAssessmentSummaryList(data.assessmentSummaries, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppAssessmentsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppComponentCompliancesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppComponentCompliancesCommandError(output, context); + } + const contents: ListAppComponentCompliancesCommandOutput = { + $metadata: deserializeMetadata(output), + componentCompliances: undefined, + nextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.componentCompliances !== undefined && data.componentCompliances !== null) { + contents.componentCompliances = deserializeAws_restJson1ComponentCompliancesList( + data.componentCompliances, + context + ); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppComponentCompliancesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppComponentRecommendationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppComponentRecommendationsCommandError(output, context); + } + const contents: ListAppComponentRecommendationsCommandOutput = { + $metadata: deserializeMetadata(output), + componentRecommendations: undefined, + nextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.componentRecommendations !== undefined && data.componentRecommendations !== null) { + contents.componentRecommendations = deserializeAws_restJson1ComponentRecommendationList( + data.componentRecommendations, + context + ); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppComponentRecommendationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppsCommandError(output, context); + } + const contents: ListAppsCommandOutput = { + $metadata: deserializeMetadata(output), + appSummaries: undefined, + nextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appSummaries !== undefined && data.appSummaries !== null) { + contents.appSummaries = deserializeAws_restJson1AppSummaryList(data.appSummaries, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppVersionResourceMappingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppVersionResourceMappingsCommandError(output, context); + } + const contents: ListAppVersionResourceMappingsCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + resourceMappings: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.resourceMappings !== undefined && data.resourceMappings !== null) { + contents.resourceMappings = deserializeAws_restJson1ResourceMappingList(data.resourceMappings, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppVersionResourceMappingsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppVersionResourcesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppVersionResourcesCommandError(output, context); + } + const contents: ListAppVersionResourcesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + physicalResources: undefined, + resolutionId: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.physicalResources !== undefined && data.physicalResources !== null) { + contents.physicalResources = deserializeAws_restJson1PhysicalResourceList(data.physicalResources, context); + } + if (data.resolutionId !== undefined && data.resolutionId !== null) { + contents.resolutionId = __expectString(data.resolutionId); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppVersionResourcesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListAppVersionsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListAppVersionsCommandError(output, context); + } + const contents: ListAppVersionsCommandOutput = { + $metadata: deserializeMetadata(output), + appVersions: undefined, + nextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appVersions !== undefined && data.appVersions !== null) { + contents.appVersions = deserializeAws_restJson1AppVersionList(data.appVersions, context); + } + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListAppVersionsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListRecommendationTemplatesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListRecommendationTemplatesCommandError(output, context); + } + const contents: ListRecommendationTemplatesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + recommendationTemplates: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.recommendationTemplates !== undefined && data.recommendationTemplates !== null) { + contents.recommendationTemplates = deserializeAws_restJson1RecommendationTemplateList( + data.recommendationTemplates, + context + ); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListRecommendationTemplatesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListResiliencyPoliciesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListResiliencyPoliciesCommandError(output, context); + } + const contents: ListResiliencyPoliciesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + resiliencyPolicies: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.resiliencyPolicies !== undefined && data.resiliencyPolicies !== null) { + contents.resiliencyPolicies = deserializeAws_restJson1ResiliencyPolicies(data.resiliencyPolicies, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListResiliencyPoliciesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListSopRecommendationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListSopRecommendationsCommandError(output, context); + } + const contents: ListSopRecommendationsCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + sopRecommendations: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.sopRecommendations !== undefined && data.sopRecommendations !== null) { + contents.sopRecommendations = deserializeAws_restJson1SopRecommendationList(data.sopRecommendations, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListSopRecommendationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommandError(output, context); + } + const contents: ListSuggestedResiliencyPoliciesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + resiliencyPolicies: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.resiliencyPolicies !== undefined && data.resiliencyPolicies !== null) { + contents.resiliencyPolicies = deserializeAws_restJson1ResiliencyPolicies(data.resiliencyPolicies, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListSuggestedResiliencyPoliciesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListTagsForResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListTagsForResourceCommandError(output, context); + } + const contents: ListTagsForResourceCommandOutput = { + $metadata: deserializeMetadata(output), + tags: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.tags !== undefined && data.tags !== null) { + contents.tags = deserializeAws_restJson1TagMap(data.tags, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListTagsForResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListTestRecommendationsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListTestRecommendationsCommandError(output, context); + } + const contents: ListTestRecommendationsCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + testRecommendations: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.testRecommendations !== undefined && data.testRecommendations !== null) { + contents.testRecommendations = deserializeAws_restJson1TestRecommendationList(data.testRecommendations, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListTestRecommendationsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommandError(output, context); + } + const contents: ListUnsupportedAppVersionResourcesCommandOutput = { + $metadata: deserializeMetadata(output), + nextToken: undefined, + resolutionId: undefined, + unsupportedResources: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.nextToken !== undefined && data.nextToken !== null) { + contents.nextToken = __expectString(data.nextToken); + } + if (data.resolutionId !== undefined && data.resolutionId !== null) { + contents.resolutionId = __expectString(data.resolutionId); + } + if (data.unsupportedResources !== undefined && data.unsupportedResources !== null) { + contents.unsupportedResources = deserializeAws_restJson1UnsupportedResourceList(data.unsupportedResources, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListUnsupportedAppVersionResourcesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1PublishAppVersionCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1PublishAppVersionCommandError(output, context); + } + const contents: PublishAppVersionCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1PublishAppVersionCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1PutDraftAppVersionTemplateCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1PutDraftAppVersionTemplateCommandError(output, context); + } + const contents: PutDraftAppVersionTemplateCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1PutDraftAppVersionTemplateCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommandError(output, context); + } + const contents: RemoveDraftAppVersionResourceMappingsCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1RemoveDraftAppVersionResourceMappingsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1ResolveAppVersionResourcesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ResolveAppVersionResourcesCommandError(output, context); + } + const contents: ResolveAppVersionResourcesCommandOutput = { + $metadata: deserializeMetadata(output), + appArn: undefined, + appVersion: undefined, + resolutionId: undefined, + status: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.appArn !== undefined && data.appArn !== null) { + contents.appArn = __expectString(data.appArn); + } + if (data.appVersion !== undefined && data.appVersion !== null) { + contents.appVersion = __expectString(data.appVersion); + } + if (data.resolutionId !== undefined && data.resolutionId !== null) { + contents.resolutionId = __expectString(data.resolutionId); + } + if (data.status !== undefined && data.status !== null) { + contents.status = __expectString(data.status); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ResolveAppVersionResourcesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1StartAppAssessmentCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1StartAppAssessmentCommandError(output, context); + } + const contents: StartAppAssessmentCommandOutput = { + $metadata: deserializeMetadata(output), + assessment: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.assessment !== undefined && data.assessment !== null) { + contents.assessment = deserializeAws_restJson1AppAssessment(data.assessment, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1StartAppAssessmentCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ServiceQuotaExceededException": + case "com.amazonaws.resiliencehub#ServiceQuotaExceededException": + response = { + ...(await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1TagResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1TagResourceCommandError(output, context); + } + const contents: TagResourceCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1TagResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UntagResourceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UntagResourceCommandError(output, context); + } + const contents: UntagResourceCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UntagResourceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateAppCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateAppCommandError(output, context); + } + const contents: UpdateAppCommandOutput = { + $metadata: deserializeMetadata(output), + app: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.app !== undefined && data.app !== null) { + contents.app = deserializeAws_restJson1App(data.app, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateAppCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_restJson1UpdateResiliencyPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1UpdateResiliencyPolicyCommandError(output, context); + } + const contents: UpdateResiliencyPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + policy: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.policy !== undefined && data.policy !== null) { + contents.policy = deserializeAws_restJson1ResiliencyPolicy(data.policy, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1UpdateResiliencyPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.resiliencehub#AccessDeniedException": + response = { + ...(await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.resiliencehub#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.resiliencehub#InternalServerException": + response = { + ...(await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.resiliencehub#ResourceNotFoundException": + response = { + ...(await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.resiliencehub#ThrottlingException": + response = { + ...(await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.resiliencehub#ValidationException": + response = { + ...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +const deserializeAws_restJson1AccessDeniedExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: AccessDeniedException = { + name: "AccessDeniedException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + return contents; +}; + +const deserializeAws_restJson1ConflictExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ConflictException = { + name: "ConflictException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + resourceId: undefined, + resourceType: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + if (data.resourceId !== undefined && data.resourceId !== null) { + contents.resourceId = __expectString(data.resourceId); + } + if (data.resourceType !== undefined && data.resourceType !== null) { + contents.resourceType = __expectString(data.resourceType); + } + return contents; +}; + +const deserializeAws_restJson1InternalServerExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: InternalServerException = { + name: "InternalServerException", + $fault: "server", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + return contents; +}; + +const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ResourceNotFoundException = { + name: "ResourceNotFoundException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + resourceId: undefined, + resourceType: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + if (data.resourceId !== undefined && data.resourceId !== null) { + contents.resourceId = __expectString(data.resourceId); + } + if (data.resourceType !== undefined && data.resourceType !== null) { + contents.resourceType = __expectString(data.resourceType); + } + return contents; +}; + +const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ServiceQuotaExceededException = { + name: "ServiceQuotaExceededException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + return contents; +}; + +const deserializeAws_restJson1ThrottlingExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ThrottlingException = { + name: "ThrottlingException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + retryAfterSeconds: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + if (data.retryAfterSeconds !== undefined && data.retryAfterSeconds !== null) { + contents.retryAfterSeconds = __expectInt32(data.retryAfterSeconds); + } + return contents; +}; + +const deserializeAws_restJson1ValidationExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const contents: ValidationException = { + name: "ValidationException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + message: undefined, + }; + const data: any = parsedOutput.body; + if (data.message !== undefined && data.message !== null) { + contents.message = __expectString(data.message); + } + return contents; +}; + +const serializeAws_restJson1ArnList = (input: string[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return entry; + }); +}; + +const serializeAws_restJson1DisruptionPolicy = ( + input: { [key: string]: FailurePolicy }, + context: __SerdeContext +): any => { + return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [DisruptionType | string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: serializeAws_restJson1FailurePolicy(value, context), + }; + }, {}); +}; + +const serializeAws_restJson1EntityNameList = (input: string[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return entry; + }); +}; + +const serializeAws_restJson1FailurePolicy = (input: FailurePolicy, context: __SerdeContext): any => { + return { + ...(input.rpoInSecs !== undefined && input.rpoInSecs !== null && { rpoInSecs: input.rpoInSecs }), + ...(input.rtoInSecs !== undefined && input.rtoInSecs !== null && { rtoInSecs: input.rtoInSecs }), + }; +}; + +const serializeAws_restJson1PhysicalResourceId = (input: PhysicalResourceId, context: __SerdeContext): any => { + return { + ...(input.awsAccountId !== undefined && input.awsAccountId !== null && { awsAccountId: input.awsAccountId }), + ...(input.awsRegion !== undefined && input.awsRegion !== null && { awsRegion: input.awsRegion }), + ...(input.identifier !== undefined && input.identifier !== null && { identifier: input.identifier }), + ...(input.type !== undefined && input.type !== null && { type: input.type }), + }; +}; + +const serializeAws_restJson1RecommendationIdList = (input: string[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return entry; + }); +}; + +const serializeAws_restJson1RenderRecommendationTypeList = ( + input: (RenderRecommendationType | string)[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return entry; + }); +}; + +const serializeAws_restJson1ResourceMapping = (input: ResourceMapping, context: __SerdeContext): any => { + return { + ...(input.appRegistryAppName !== undefined && + input.appRegistryAppName !== null && { appRegistryAppName: input.appRegistryAppName }), + ...(input.logicalStackName !== undefined && + input.logicalStackName !== null && { logicalStackName: input.logicalStackName }), + ...(input.mappingType !== undefined && input.mappingType !== null && { mappingType: input.mappingType }), + ...(input.physicalResourceId !== undefined && + input.physicalResourceId !== null && { + physicalResourceId: serializeAws_restJson1PhysicalResourceId(input.physicalResourceId, context), + }), + ...(input.resourceGroupName !== undefined && + input.resourceGroupName !== null && { resourceGroupName: input.resourceGroupName }), + ...(input.resourceName !== undefined && input.resourceName !== null && { resourceName: input.resourceName }), + }; +}; + +const serializeAws_restJson1ResourceMappingList = (input: ResourceMapping[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1ResourceMapping(entry, context); + }); +}; + +const serializeAws_restJson1String255List = (input: string[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return entry; + }); +}; + +const serializeAws_restJson1TagMap = (input: { [key: string]: string }, context: __SerdeContext): any => { + return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: value, + }; + }, {}); +}; + +const deserializeAws_restJson1AlarmRecommendation = (output: any, context: __SerdeContext): AlarmRecommendation => { + return { + appComponentName: __expectString(output.appComponentName), + description: __expectString(output.description), + items: + output.items !== undefined && output.items !== null + ? deserializeAws_restJson1RecommendationItemList(output.items, context) + : undefined, + name: __expectString(output.name), + prerequisite: __expectString(output.prerequisite), + recommendationId: __expectString(output.recommendationId), + referenceId: __expectString(output.referenceId), + type: __expectString(output.type), + } as any; +}; + +const deserializeAws_restJson1AlarmRecommendationList = ( + output: any, + context: __SerdeContext +): AlarmRecommendation[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AlarmRecommendation(entry, context); + }); +}; + +const deserializeAws_restJson1App = (output: any, context: __SerdeContext): App => { + return { + appArn: __expectString(output.appArn), + complianceStatus: __expectString(output.complianceStatus), + creationTime: + output.creationTime !== undefined && output.creationTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime))) + : undefined, + description: __expectString(output.description), + lastAppComplianceEvaluationTime: + output.lastAppComplianceEvaluationTime !== undefined && output.lastAppComplianceEvaluationTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastAppComplianceEvaluationTime))) + : undefined, + lastResiliencyScoreEvaluationTime: + output.lastResiliencyScoreEvaluationTime !== undefined && output.lastResiliencyScoreEvaluationTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastResiliencyScoreEvaluationTime))) + : undefined, + name: __expectString(output.name), + policyArn: __expectString(output.policyArn), + resiliencyScore: __limitedParseDouble(output.resiliencyScore), + status: __expectString(output.status), + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1TagMap(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AppAssessment = (output: any, context: __SerdeContext): AppAssessment => { + return { + appArn: __expectString(output.appArn), + appVersion: __expectString(output.appVersion), + assessmentArn: __expectString(output.assessmentArn), + assessmentName: __expectString(output.assessmentName), + assessmentStatus: __expectString(output.assessmentStatus), + compliance: + output.compliance !== undefined && output.compliance !== null + ? deserializeAws_restJson1AssessmentCompliance(output.compliance, context) + : undefined, + complianceStatus: __expectString(output.complianceStatus), + cost: + output.cost !== undefined && output.cost !== null + ? deserializeAws_restJson1Cost(output.cost, context) + : undefined, + endTime: + output.endTime !== undefined && output.endTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) + : undefined, + invoker: __expectString(output.invoker), + message: __expectString(output.message), + policy: + output.policy !== undefined && output.policy !== null + ? deserializeAws_restJson1ResiliencyPolicy(output.policy, context) + : undefined, + resiliencyScore: + output.resiliencyScore !== undefined && output.resiliencyScore !== null + ? deserializeAws_restJson1ResiliencyScore(output.resiliencyScore, context) + : undefined, + startTime: + output.startTime !== undefined && output.startTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) + : undefined, + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1TagMap(output.tags, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AppAssessmentSummary = (output: any, context: __SerdeContext): AppAssessmentSummary => { + return { + appArn: __expectString(output.appArn), + appVersion: __expectString(output.appVersion), + assessmentArn: __expectString(output.assessmentArn), + assessmentName: __expectString(output.assessmentName), + assessmentStatus: __expectString(output.assessmentStatus), + complianceStatus: __expectString(output.complianceStatus), + cost: + output.cost !== undefined && output.cost !== null + ? deserializeAws_restJson1Cost(output.cost, context) + : undefined, + endTime: + output.endTime !== undefined && output.endTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) + : undefined, + invoker: __expectString(output.invoker), + message: __expectString(output.message), + resiliencyScore: __limitedParseDouble(output.resiliencyScore), + startTime: + output.startTime !== undefined && output.startTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AppAssessmentSummaryList = ( + output: any, + context: __SerdeContext +): AppAssessmentSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AppAssessmentSummary(entry, context); + }); +}; + +const deserializeAws_restJson1AppComponent = (output: any, context: __SerdeContext): AppComponent => { + return { + name: __expectString(output.name), + type: __expectString(output.type), + } as any; +}; + +const deserializeAws_restJson1AppComponentCompliance = ( + output: any, + context: __SerdeContext +): AppComponentCompliance => { + return { + appComponentName: __expectString(output.appComponentName), + compliance: + output.compliance !== undefined && output.compliance !== null + ? deserializeAws_restJson1AssessmentCompliance(output.compliance, context) + : undefined, + cost: + output.cost !== undefined && output.cost !== null + ? deserializeAws_restJson1Cost(output.cost, context) + : undefined, + message: __expectString(output.message), + resiliencyScore: + output.resiliencyScore !== undefined && output.resiliencyScore !== null + ? deserializeAws_restJson1ResiliencyScore(output.resiliencyScore, context) + : undefined, + status: __expectString(output.status), + } as any; +}; + +const deserializeAws_restJson1AppComponentList = (output: any, context: __SerdeContext): AppComponent[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AppComponent(entry, context); + }); +}; + +const deserializeAws_restJson1AppSummary = (output: any, context: __SerdeContext): AppSummary => { + return { + appArn: __expectString(output.appArn), + complianceStatus: __expectString(output.complianceStatus), + creationTime: + output.creationTime !== undefined && output.creationTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime))) + : undefined, + description: __expectString(output.description), + name: __expectString(output.name), + resiliencyScore: __limitedParseDouble(output.resiliencyScore), + } as any; +}; + +const deserializeAws_restJson1AppSummaryList = (output: any, context: __SerdeContext): AppSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AppSummary(entry, context); + }); +}; + +const deserializeAws_restJson1AppVersionList = (output: any, context: __SerdeContext): AppVersionSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AppVersionSummary(entry, context); + }); +}; + +const deserializeAws_restJson1AppVersionSummary = (output: any, context: __SerdeContext): AppVersionSummary => { + return { + appVersion: __expectString(output.appVersion), + } as any; +}; + +const deserializeAws_restJson1ArnList = (output: any, context: __SerdeContext): string[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return __expectString(entry) as any; + }); +}; + +const deserializeAws_restJson1AssessmentCompliance = ( + output: any, + context: __SerdeContext +): { [key: string]: DisruptionCompliance } => { + return Object.entries(output).reduce( + (acc: { [key: string]: DisruptionCompliance }, [key, value]: [DisruptionType | string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: deserializeAws_restJson1DisruptionCompliance(value, context), + }; + }, + {} + ); +}; + +const deserializeAws_restJson1ComponentCompliancesList = ( + output: any, + context: __SerdeContext +): AppComponentCompliance[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AppComponentCompliance(entry, context); + }); +}; + +const deserializeAws_restJson1ComponentRecommendation = ( + output: any, + context: __SerdeContext +): ComponentRecommendation => { + return { + appComponentName: __expectString(output.appComponentName), + configRecommendations: + output.configRecommendations !== undefined && output.configRecommendations !== null + ? deserializeAws_restJson1ConfigRecommendationList(output.configRecommendations, context) + : undefined, + recommendationStatus: __expectString(output.recommendationStatus), + } as any; +}; + +const deserializeAws_restJson1ComponentRecommendationList = ( + output: any, + context: __SerdeContext +): ComponentRecommendation[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ComponentRecommendation(entry, context); + }); +}; + +const deserializeAws_restJson1ConfigRecommendation = (output: any, context: __SerdeContext): ConfigRecommendation => { + return { + appComponentName: __expectString(output.appComponentName), + compliance: + output.compliance !== undefined && output.compliance !== null + ? deserializeAws_restJson1AssessmentCompliance(output.compliance, context) + : undefined, + cost: + output.cost !== undefined && output.cost !== null + ? deserializeAws_restJson1Cost(output.cost, context) + : undefined, + description: __expectString(output.description), + haArchitecture: __expectString(output.haArchitecture), + name: __expectString(output.name), + optimizationType: __expectString(output.optimizationType), + recommendationCompliance: + output.recommendationCompliance !== undefined && output.recommendationCompliance !== null + ? deserializeAws_restJson1RecommendationCompliance(output.recommendationCompliance, context) + : undefined, + referenceId: __expectString(output.referenceId), + suggestedChanges: + output.suggestedChanges !== undefined && output.suggestedChanges !== null + ? deserializeAws_restJson1SuggestedChangesList(output.suggestedChanges, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1ConfigRecommendationList = ( + output: any, + context: __SerdeContext +): ConfigRecommendation[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ConfigRecommendation(entry, context); + }); +}; + +const deserializeAws_restJson1Cost = (output: any, context: __SerdeContext): Cost => { + return { + amount: __limitedParseDouble(output.amount), + currency: __expectString(output.currency), + frequency: __expectString(output.frequency), + } as any; +}; + +const deserializeAws_restJson1DisruptionCompliance = (output: any, context: __SerdeContext): DisruptionCompliance => { + return { + achievableRpoInSecs: __expectInt32(output.achievableRpoInSecs), + achievableRtoInSecs: __expectInt32(output.achievableRtoInSecs), + complianceStatus: __expectString(output.complianceStatus), + currentRpoInSecs: __expectInt32(output.currentRpoInSecs), + currentRtoInSecs: __expectInt32(output.currentRtoInSecs), + message: __expectString(output.message), + rpoDescription: __expectString(output.rpoDescription), + rpoReferenceId: __expectString(output.rpoReferenceId), + rtoDescription: __expectString(output.rtoDescription), + rtoReferenceId: __expectString(output.rtoReferenceId), + } as any; +}; + +const deserializeAws_restJson1DisruptionPolicy = ( + output: any, + context: __SerdeContext +): { [key: string]: FailurePolicy } => { + return Object.entries(output).reduce( + (acc: { [key: string]: FailurePolicy }, [key, value]: [DisruptionType | string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: deserializeAws_restJson1FailurePolicy(value, context), + }; + }, + {} + ); +}; + +const deserializeAws_restJson1DisruptionResiliencyScore = ( + output: any, + context: __SerdeContext +): { [key: string]: number } => { + return Object.entries(output).reduce( + (acc: { [key: string]: number }, [key, value]: [DisruptionType | string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: __limitedParseDouble(value) as any, + }; + }, + {} + ); +}; + +const deserializeAws_restJson1FailurePolicy = (output: any, context: __SerdeContext): FailurePolicy => { + return { + rpoInSecs: __expectInt32(output.rpoInSecs), + rtoInSecs: __expectInt32(output.rtoInSecs), + } as any; +}; + +const deserializeAws_restJson1LogicalResourceId = (output: any, context: __SerdeContext): LogicalResourceId => { + return { + identifier: __expectString(output.identifier), + logicalStackName: __expectString(output.logicalStackName), + resourceGroupName: __expectString(output.resourceGroupName), + } as any; +}; + +const deserializeAws_restJson1PhysicalResource = (output: any, context: __SerdeContext): PhysicalResource => { + return { + appComponents: + output.appComponents !== undefined && output.appComponents !== null + ? deserializeAws_restJson1AppComponentList(output.appComponents, context) + : undefined, + logicalResourceId: + output.logicalResourceId !== undefined && output.logicalResourceId !== null + ? deserializeAws_restJson1LogicalResourceId(output.logicalResourceId, context) + : undefined, + physicalResourceId: + output.physicalResourceId !== undefined && output.physicalResourceId !== null + ? deserializeAws_restJson1PhysicalResourceId(output.physicalResourceId, context) + : undefined, + resourceName: __expectString(output.resourceName), + resourceType: __expectString(output.resourceType), + } as any; +}; + +const deserializeAws_restJson1PhysicalResourceId = (output: any, context: __SerdeContext): PhysicalResourceId => { + return { + awsAccountId: __expectString(output.awsAccountId), + awsRegion: __expectString(output.awsRegion), + identifier: __expectString(output.identifier), + type: __expectString(output.type), + } as any; +}; + +const deserializeAws_restJson1PhysicalResourceList = (output: any, context: __SerdeContext): PhysicalResource[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1PhysicalResource(entry, context); + }); +}; + +const deserializeAws_restJson1RecommendationCompliance = ( + output: any, + context: __SerdeContext +): { [key: string]: RecommendationDisruptionCompliance } => { + return Object.entries(output).reduce( + (acc: { [key: string]: RecommendationDisruptionCompliance }, [key, value]: [DisruptionType | string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: deserializeAws_restJson1RecommendationDisruptionCompliance(value, context), + }; + }, + {} + ); +}; + +const deserializeAws_restJson1RecommendationDisruptionCompliance = ( + output: any, + context: __SerdeContext +): RecommendationDisruptionCompliance => { + return { + expectedComplianceStatus: __expectString(output.expectedComplianceStatus), + expectedRpoDescription: __expectString(output.expectedRpoDescription), + expectedRpoInSecs: __expectInt32(output.expectedRpoInSecs), + expectedRtoDescription: __expectString(output.expectedRtoDescription), + expectedRtoInSecs: __expectInt32(output.expectedRtoInSecs), + } as any; +}; + +const deserializeAws_restJson1RecommendationIdList = (output: any, context: __SerdeContext): string[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return __expectString(entry) as any; + }); +}; + +const deserializeAws_restJson1RecommendationItem = (output: any, context: __SerdeContext): RecommendationItem => { + return { + alreadyImplemented: __expectBoolean(output.alreadyImplemented), + resourceId: __expectString(output.resourceId), + targetAccountId: __expectString(output.targetAccountId), + targetRegion: __expectString(output.targetRegion), + } as any; +}; + +const deserializeAws_restJson1RecommendationItemList = (output: any, context: __SerdeContext): RecommendationItem[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1RecommendationItem(entry, context); + }); +}; + +const deserializeAws_restJson1RecommendationTemplate = ( + output: any, + context: __SerdeContext +): RecommendationTemplate => { + return { + appArn: __expectString(output.appArn), + assessmentArn: __expectString(output.assessmentArn), + endTime: + output.endTime !== undefined && output.endTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) + : undefined, + format: __expectString(output.format), + message: __expectString(output.message), + name: __expectString(output.name), + needsReplacements: __expectBoolean(output.needsReplacements), + recommendationIds: + output.recommendationIds !== undefined && output.recommendationIds !== null + ? deserializeAws_restJson1RecommendationIdList(output.recommendationIds, context) + : undefined, + recommendationTemplateArn: __expectString(output.recommendationTemplateArn), + recommendationTypes: + output.recommendationTypes !== undefined && output.recommendationTypes !== null + ? deserializeAws_restJson1RenderRecommendationTypeList(output.recommendationTypes, context) + : undefined, + startTime: + output.startTime !== undefined && output.startTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) + : undefined, + status: __expectString(output.status), + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1TagMap(output.tags, context) + : undefined, + templatesLocation: + output.templatesLocation !== undefined && output.templatesLocation !== null + ? deserializeAws_restJson1S3Location(output.templatesLocation, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1RecommendationTemplateList = ( + output: any, + context: __SerdeContext +): RecommendationTemplate[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1RecommendationTemplate(entry, context); + }); +}; + +const deserializeAws_restJson1RenderRecommendationTypeList = ( + output: any, + context: __SerdeContext +): (RenderRecommendationType | string)[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return __expectString(entry) as any; + }); +}; + +const deserializeAws_restJson1ResiliencyPolicies = (output: any, context: __SerdeContext): ResiliencyPolicy[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ResiliencyPolicy(entry, context); + }); +}; + +const deserializeAws_restJson1ResiliencyPolicy = (output: any, context: __SerdeContext): ResiliencyPolicy => { + return { + creationTime: + output.creationTime !== undefined && output.creationTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime))) + : undefined, + dataLocationConstraint: __expectString(output.dataLocationConstraint), + estimatedCostTier: __expectString(output.estimatedCostTier), + policy: + output.policy !== undefined && output.policy !== null + ? deserializeAws_restJson1DisruptionPolicy(output.policy, context) + : undefined, + policyArn: __expectString(output.policyArn), + policyDescription: __expectString(output.policyDescription), + policyName: __expectString(output.policyName), + tags: + output.tags !== undefined && output.tags !== null + ? deserializeAws_restJson1TagMap(output.tags, context) + : undefined, + tier: __expectString(output.tier), + } as any; +}; + +const deserializeAws_restJson1ResiliencyScore = (output: any, context: __SerdeContext): ResiliencyScore => { + return { + disruptionScore: + output.disruptionScore !== undefined && output.disruptionScore !== null + ? deserializeAws_restJson1DisruptionResiliencyScore(output.disruptionScore, context) + : undefined, + score: __limitedParseDouble(output.score), + } as any; +}; + +const deserializeAws_restJson1ResourceMapping = (output: any, context: __SerdeContext): ResourceMapping => { + return { + appRegistryAppName: __expectString(output.appRegistryAppName), + logicalStackName: __expectString(output.logicalStackName), + mappingType: __expectString(output.mappingType), + physicalResourceId: + output.physicalResourceId !== undefined && output.physicalResourceId !== null + ? deserializeAws_restJson1PhysicalResourceId(output.physicalResourceId, context) + : undefined, + resourceGroupName: __expectString(output.resourceGroupName), + resourceName: __expectString(output.resourceName), + } as any; +}; + +const deserializeAws_restJson1ResourceMappingList = (output: any, context: __SerdeContext): ResourceMapping[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1ResourceMapping(entry, context); + }); +}; + +const deserializeAws_restJson1S3Location = (output: any, context: __SerdeContext): S3Location => { + return { + bucket: __expectString(output.bucket), + prefix: __expectString(output.prefix), + } as any; +}; + +const deserializeAws_restJson1SopRecommendation = (output: any, context: __SerdeContext): SopRecommendation => { + return { + appComponentName: __expectString(output.appComponentName), + description: __expectString(output.description), + items: + output.items !== undefined && output.items !== null + ? deserializeAws_restJson1RecommendationItemList(output.items, context) + : undefined, + name: __expectString(output.name), + prerequisite: __expectString(output.prerequisite), + recommendationId: __expectString(output.recommendationId), + referenceId: __expectString(output.referenceId), + serviceType: __expectString(output.serviceType), + } as any; +}; + +const deserializeAws_restJson1SopRecommendationList = (output: any, context: __SerdeContext): SopRecommendation[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1SopRecommendation(entry, context); + }); +}; + +const deserializeAws_restJson1SuggestedChangesList = (output: any, context: __SerdeContext): string[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return __expectString(entry) as any; + }); +}; + +const deserializeAws_restJson1TagMap = (output: any, context: __SerdeContext): { [key: string]: string } => { + return Object.entries(output).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: __expectString(value) as any, + }; + }, {}); +}; + +const deserializeAws_restJson1TestRecommendation = (output: any, context: __SerdeContext): TestRecommendation => { + return { + appComponentName: __expectString(output.appComponentName), + description: __expectString(output.description), + intent: __expectString(output.intent), + items: + output.items !== undefined && output.items !== null + ? deserializeAws_restJson1RecommendationItemList(output.items, context) + : undefined, + name: __expectString(output.name), + prerequisite: __expectString(output.prerequisite), + recommendationId: __expectString(output.recommendationId), + referenceId: __expectString(output.referenceId), + risk: __expectString(output.risk), + type: __expectString(output.type), + } as any; +}; + +const deserializeAws_restJson1TestRecommendationList = (output: any, context: __SerdeContext): TestRecommendation[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1TestRecommendation(entry, context); + }); +}; + +const deserializeAws_restJson1UnsupportedResource = (output: any, context: __SerdeContext): UnsupportedResource => { + return { + logicalResourceId: + output.logicalResourceId !== undefined && output.logicalResourceId !== null + ? deserializeAws_restJson1LogicalResourceId(output.logicalResourceId, context) + : undefined, + physicalResourceId: + output.physicalResourceId !== undefined && output.physicalResourceId !== null + ? deserializeAws_restJson1PhysicalResourceId(output.physicalResourceId, context) + : undefined, + resourceType: __expectString(output.resourceType), + } as any; +}; + +const deserializeAws_restJson1UnsupportedResourceList = ( + output: any, + context: __SerdeContext +): UnsupportedResource[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1UnsupportedResource(entry, context); + }); +}; + +const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], +}); + +// Collect low-level response body stream to Uint8Array. +const collectBody = (streamBody: any = new Uint8Array(), context: __SerdeContext): Promise => { + if (streamBody instanceof Uint8Array) { + return Promise.resolve(streamBody); + } + return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array()); +}; + +// Encode Uint8Array data into string with utf-8. +const collectBodyString = (streamBody: any, context: __SerdeContext): Promise => + collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); + +const isSerializableHeaderValue = (value: any): boolean => + value !== undefined && + value !== null && + value !== "" && + (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && + (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); + +const parseBody = (streamBody: any, context: __SerdeContext): any => + collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; + }); + +/** + * Load an error code for the aws.rest-json-1.1 protocol. + */ +const loadRestJsonErrorCode = (output: __HttpResponse, data: any): string => { + const findKey = (object: any, key: string) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + + const sanitizeErrorCode = (rawValue: string): string => { + let cleanValue = rawValue; + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + + if (data.code !== undefined) { + return sanitizeErrorCode(data.code); + } + + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } + + return ""; +}; diff --git a/clients/client-resiliencehub/src/runtimeConfig.browser.ts b/clients/client-resiliencehub/src/runtimeConfig.browser.ts new file mode 100644 index 0000000000000..b4867a2d11007 --- /dev/null +++ b/clients/client-resiliencehub/src/runtimeConfig.browser.ts @@ -0,0 +1,44 @@ +// @ts-ignore: package.json will be imported from dist folders +import packageInfo from "../package.json"; // eslint-disable-line + +import { Sha256 } from "@aws-crypto/sha256-browser"; +import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver"; +import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; +import { invalidProvider } from "@aws-sdk/invalid-dependency"; +import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry"; +import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; +import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; +import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; +import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser"; +import { ResiliencehubClientConfig } from "./ResiliencehubClient"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; + +/** + * @internal + */ +export const getRuntimeConfig = (config: ResiliencehubClientConfig) => { + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "browser", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + credentialDefaultProvider: + config?.credentialDefaultProvider ?? ((_: unknown) => () => Promise.reject(new Error("Credential is missing"))), + defaultUserAgentProvider: + config?.defaultUserAgentProvider ?? + defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), + requestHandler: config?.requestHandler ?? new FetchHttpHandler(), + retryMode: config?.retryMode ?? (() => Promise.resolve(DEFAULT_RETRY_MODE)), + sha256: config?.sha256 ?? Sha256, + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), + useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/clients/client-resiliencehub/src/runtimeConfig.native.ts b/clients/client-resiliencehub/src/runtimeConfig.native.ts new file mode 100644 index 0000000000000..d5da8d1300749 --- /dev/null +++ b/clients/client-resiliencehub/src/runtimeConfig.native.ts @@ -0,0 +1,17 @@ +import { Sha256 } from "@aws-crypto/sha256-js"; + +import { ResiliencehubClientConfig } from "./ResiliencehubClient"; +import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser"; + +/** + * @internal + */ +export const getRuntimeConfig = (config: ResiliencehubClientConfig) => { + const browserDefaults = getBrowserRuntimeConfig(config); + return { + ...browserDefaults, + ...config, + runtime: "react-native", + sha256: config?.sha256 ?? Sha256, + }; +}; diff --git a/clients/client-resiliencehub/src/runtimeConfig.shared.ts b/clients/client-resiliencehub/src/runtimeConfig.shared.ts new file mode 100644 index 0000000000000..a0dbdbc308b1e --- /dev/null +++ b/clients/client-resiliencehub/src/runtimeConfig.shared.ts @@ -0,0 +1,17 @@ +import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; + +import { defaultRegionInfoProvider } from "./endpoints"; +import { ResiliencehubClientConfig } from "./ResiliencehubClient"; + +/** + * @internal + */ +export const getRuntimeConfig = (config: ResiliencehubClientConfig) => ({ + apiVersion: "2020-04-30", + disableHostPrefix: config?.disableHostPrefix ?? false, + logger: config?.logger ?? ({} as __Logger), + regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider, + serviceId: config?.serviceId ?? "resiliencehub", + urlParser: config?.urlParser ?? parseUrl, +}); diff --git a/clients/client-resiliencehub/src/runtimeConfig.ts b/clients/client-resiliencehub/src/runtimeConfig.ts new file mode 100644 index 0000000000000..9ff6427419397 --- /dev/null +++ b/clients/client-resiliencehub/src/runtimeConfig.ts @@ -0,0 +1,53 @@ +// @ts-ignore: package.json will be imported from dist folders +import packageInfo from "../package.json"; // eslint-disable-line + +import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; +import { + NODE_REGION_CONFIG_FILE_OPTIONS, + NODE_REGION_CONFIG_OPTIONS, + NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, + NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, +} from "@aws-sdk/config-resolver"; +import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; +import { Hash } from "@aws-sdk/hash-node"; +import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; +import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; +import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; +import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; +import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; +import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; +import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node"; +import { ResiliencehubClientConfig } from "./ResiliencehubClient"; +import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared"; +import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client"; + +/** + * @internal + */ +export const getRuntimeConfig = (config: ResiliencehubClientConfig) => { + emitWarningIfUnsupportedVersion(process.version); + const clientSharedValues = getSharedRuntimeConfig(config); + return { + ...clientSharedValues, + ...config, + runtime: "node", + base64Decoder: config?.base64Decoder ?? fromBase64, + base64Encoder: config?.base64Encoder ?? toBase64, + bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, + credentialDefaultProvider: + config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + defaultUserAgentProvider: + config?.defaultUserAgentProvider ?? + defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), + maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: config?.requestHandler ?? new NodeHttpHandler(), + retryMode: config?.retryMode ?? loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), + sha256: config?.sha256 ?? Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), + utf8Decoder: config?.utf8Decoder ?? fromUtf8, + utf8Encoder: config?.utf8Encoder ?? toUtf8, + }; +}; diff --git a/clients/client-resiliencehub/tsconfig.es.json b/clients/client-resiliencehub/tsconfig.es.json new file mode 100644 index 0000000000000..4c72364cd1a07 --- /dev/null +++ b/clients/client-resiliencehub/tsconfig.es.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "target": "es5", + "module": "esnext", + "moduleResolution": "node", + "lib": ["dom", "es5", "es2015.promise", "es2015.collection", "es2015.iterable", "es2015.symbol.wellknown"], + "outDir": "dist-es" + } +} diff --git a/clients/client-resiliencehub/tsconfig.json b/clients/client-resiliencehub/tsconfig.json new file mode 100644 index 0000000000000..093039289c53e --- /dev/null +++ b/clients/client-resiliencehub/tsconfig.json @@ -0,0 +1,32 @@ +{ + "compilerOptions": { + "rootDir": "./src", + "alwaysStrict": true, + "target": "ES2018", + "module": "commonjs", + "strict": true, + "downlevelIteration": true, + "importHelpers": true, + "noEmitHelpers": true, + "incremental": true, + "resolveJsonModule": true, + "esModuleInterop": true, + "outDir": "dist-cjs", + "removeComments": true + }, + "typedocOptions": { + "exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"], + "excludeNotExported": true, + "excludePrivate": true, + "hideGenerator": true, + "ignoreCompilerErrors": true, + "includeDeclarations": true, + "stripInternal": true, + "readme": "README.md", + "mode": "file", + "out": "docs", + "theme": "minimal", + "plugin": ["@aws-sdk/service-client-documentation-generator"] + }, + "exclude": ["test/**/*"] +} diff --git a/clients/client-resiliencehub/tsconfig.types.json b/clients/client-resiliencehub/tsconfig.types.json new file mode 100644 index 0000000000000..4c3dfa7b3d25f --- /dev/null +++ b/clients/client-resiliencehub/tsconfig.types.json @@ -0,0 +1,10 @@ +{ + "extends": "./tsconfig", + "compilerOptions": { + "removeComments": false, + "declaration": true, + "declarationDir": "dist-types", + "emitDeclarationOnly": true + }, + "exclude": ["test/**/*", "dist-types/**/*"] +} diff --git a/clients/client-resource-groups-tagging-api/src/endpoints.ts b/clients/client-resource-groups-tagging-api/src/endpoints.ts index 2ee238ef0460f..ce835a26c138d 100644 --- a/clients/client-resource-groups-tagging-api/src/endpoints.ts +++ b/clients/client-resource-groups-tagging-api/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "tagging.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "tagging-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "tagging.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "tagging-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-resource-groups/src/endpoints.ts b/clients/client-resource-groups/src/endpoints.ts index d14a8d4e42a5b..785b22916ec19 100644 --- a/clients/client-resource-groups/src/endpoints.ts +++ b/clients/client-resource-groups/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "resource-groups.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "resource-groups-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "resource-groups.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "resource-groups-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-robomaker/src/endpoints.ts b/clients/client-robomaker/src/endpoints.ts index 207e863f68508..d95744c578c28 100644 --- a/clients/client-robomaker/src/endpoints.ts +++ b/clients/client-robomaker/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "robomaker.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "robomaker-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "robomaker.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "robomaker-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-route-53-domains/src/endpoints.ts b/clients/client-route-53-domains/src/endpoints.ts index 12e63db8a0192..ad74d73d71a15 100644 --- a/clients/client-route-53-domains/src/endpoints.ts +++ b/clients/client-route-53-domains/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "route53domains.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "route53domains-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "route53domains.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "route53domains-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-route-53/src/endpoints.ts b/clients/client-route-53/src/endpoints.ts index 4edaeae49c35a..0a7256a912a15 100644 --- a/clients/client-route-53/src/endpoints.ts +++ b/clients/client-route-53/src/endpoints.ts @@ -136,6 +136,10 @@ const partitionHash: PartitionHash = { hostname: "route53.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "route53-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], endpoint: "aws-iso-global", }, @@ -147,6 +151,10 @@ const partitionHash: PartitionHash = { hostname: "route53.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "route53-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], endpoint: "aws-iso-b-global", }, diff --git a/clients/client-route53-recovery-cluster/src/endpoints.ts b/clients/client-route53-recovery-cluster/src/endpoints.ts index bd6253be9e14e..1d8fc08782594 100644 --- a/clients/client-route53-recovery-cluster/src/endpoints.ts +++ b/clients/client-route53-recovery-cluster/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-cluster.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "route53-recovery-cluster-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-cluster.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "route53-recovery-cluster-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-route53-recovery-control-config/src/endpoints.ts b/clients/client-route53-recovery-control-config/src/endpoints.ts index 9779ee1374b83..bcf957e5c33f9 100644 --- a/clients/client-route53-recovery-control-config/src/endpoints.ts +++ b/clients/client-route53-recovery-control-config/src/endpoints.ts @@ -89,6 +89,10 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-control-config.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "route53-recovery-control-config-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -99,6 +103,10 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-control-config.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "route53-recovery-control-config-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-route53-recovery-readiness/src/endpoints.ts b/clients/client-route53-recovery-readiness/src/endpoints.ts index 094aeef756487..a2900ec2e07d8 100644 --- a/clients/client-route53-recovery-readiness/src/endpoints.ts +++ b/clients/client-route53-recovery-readiness/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-readiness.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "route53-recovery-readiness-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-readiness.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "route53-recovery-readiness-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-route53resolver/src/endpoints.ts b/clients/client-route53resolver/src/endpoints.ts index a7f2bd1d130d7..8d2453406405c 100644 --- a/clients/client-route53resolver/src/endpoints.ts +++ b/clients/client-route53resolver/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "route53resolver.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "route53resolver-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "route53resolver.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "route53resolver-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-s3-control/src/endpoints.ts b/clients/client-s3-control/src/endpoints.ts index 2c4413ff3068e..517fd13fed1e2 100644 --- a/clients/client-s3-control/src/endpoints.ts +++ b/clients/client-s3-control/src/endpoints.ts @@ -370,15 +370,11 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "s3-control-fips.{region}.amazonaws.com", - tags: ["fips"], - }, - { - hostname: "s3-control-fips.{region}.api.aws", + hostname: "s3-control-fips.dualstack.{region}.amazonaws.com", tags: ["dualstack", "fips"], }, { - hostname: "s3-control.{region}.api.aws", + hostname: "s3-control.dualstack.{region}.amazonaws.com", tags: ["dualstack"], }, ], @@ -392,15 +388,7 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "s3-control-fips.{region}.amazonaws.com.cn", - tags: ["fips"], - }, - { - hostname: "s3-control-fips.{region}.api.amazonwebservices.com.cn", - tags: ["dualstack", "fips"], - }, - { - hostname: "s3-control.{region}.api.amazonwebservices.com.cn", + hostname: "s3-control.dualstack.{region}.amazonaws.com.cn", tags: ["dualstack"], }, ], @@ -413,6 +401,10 @@ const partitionHash: PartitionHash = { hostname: "s3-control.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "s3-control-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -423,6 +415,10 @@ const partitionHash: PartitionHash = { hostname: "s3-control.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "s3-control-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { @@ -434,15 +430,11 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "s3-control-fips.{region}.amazonaws.com", - tags: ["fips"], - }, - { - hostname: "s3-control-fips.{region}.api.aws", + hostname: "s3-control-fips.dualstack.{region}.amazonaws.com", tags: ["dualstack", "fips"], }, { - hostname: "s3-control.{region}.api.aws", + hostname: "s3-control.dualstack.{region}.amazonaws.com", tags: ["dualstack"], }, ], diff --git a/clients/client-s3/src/endpoints.ts b/clients/client-s3/src/endpoints.ts index f61d76b367aeb..7983ac2df3fe9 100644 --- a/clients/client-s3/src/endpoints.ts +++ b/clients/client-s3/src/endpoints.ts @@ -440,6 +440,10 @@ const partitionHash: PartitionHash = { hostname: "s3.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "s3-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -450,6 +454,10 @@ const partitionHash: PartitionHash = { hostname: "s3.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "s3-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-s3outposts/src/endpoints.ts b/clients/client-s3outposts/src/endpoints.ts index 2d4033142bab5..ca67ababcdc22 100644 --- a/clients/client-s3outposts/src/endpoints.ts +++ b/clients/client-s3outposts/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "s3-outposts.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "s3-outposts-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "s3-outposts.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "s3-outposts-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sagemaker-a2i-runtime/src/endpoints.ts b/clients/client-sagemaker-a2i-runtime/src/endpoints.ts index d439487c9e1cc..e39637654c81a 100644 --- a/clients/client-sagemaker-a2i-runtime/src/endpoints.ts +++ b/clients/client-sagemaker-a2i-runtime/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "a2i-runtime.sagemaker.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "a2i-runtime.sagemaker-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "a2i-runtime.sagemaker.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "a2i-runtime.sagemaker-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sagemaker-edge/src/endpoints.ts b/clients/client-sagemaker-edge/src/endpoints.ts index 654aec49dd0ce..cb8d9cb32d4dd 100644 --- a/clients/client-sagemaker-edge/src/endpoints.ts +++ b/clients/client-sagemaker-edge/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "edge.sagemaker.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "edge.sagemaker-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "edge.sagemaker.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "edge.sagemaker-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts b/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts index abb1c1e77139f..09790640d798c 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "featurestore-runtime.sagemaker.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "featurestore-runtime.sagemaker-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "featurestore-runtime.sagemaker.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "featurestore-runtime.sagemaker-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sagemaker-runtime/src/endpoints.ts b/clients/client-sagemaker-runtime/src/endpoints.ts index 234a580abc7fa..e30920d224b55 100644 --- a/clients/client-sagemaker-runtime/src/endpoints.ts +++ b/clients/client-sagemaker-runtime/src/endpoints.ts @@ -135,6 +135,10 @@ const partitionHash: PartitionHash = { hostname: "runtime.sagemaker.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "runtime.sagemaker-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -145,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "runtime.sagemaker.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "runtime.sagemaker-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { @@ -156,17 +164,9 @@ const partitionHash: PartitionHash = { tags: [], }, { - hostname: "runtime.sagemaker-fips.{region}.amazonaws.com", + hostname: "runtime.sagemaker.{region}.amazonaws.com", tags: ["fips"], }, - { - hostname: "runtime.sagemaker-fips.{region}.api.aws", - tags: ["dualstack", "fips"], - }, - { - hostname: "runtime.sagemaker.{region}.api.aws", - tags: ["dualstack"], - }, ], }, }; diff --git a/clients/client-sagemaker/src/commands/DescribeProcessingJobCommand.ts b/clients/client-sagemaker/src/commands/DescribeProcessingJobCommand.ts index d95fe4cddda28..e0d3ac3c6f65a 100644 --- a/clients/client-sagemaker/src/commands/DescribeProcessingJobCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeProcessingJobCommand.ts @@ -11,7 +11,8 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { DescribeProcessingJobRequest, DescribeProcessingJobResponse } from "../models/models_1"; +import { DescribeProcessingJobRequest } from "../models/models_1"; +import { DescribeProcessingJobResponse } from "../models/models_2"; import { deserializeAws_json1_1DescribeProcessingJobCommand, serializeAws_json1_1DescribeProcessingJobCommand, diff --git a/clients/client-sagemaker/src/commands/DescribeProjectCommand.ts b/clients/client-sagemaker/src/commands/DescribeProjectCommand.ts index 551bc1e0f474f..21f376f2019fb 100644 --- a/clients/client-sagemaker/src/commands/DescribeProjectCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeProjectCommand.ts @@ -11,8 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { DescribeProjectInput } from "../models/models_1"; -import { DescribeProjectOutput } from "../models/models_2"; +import { DescribeProjectInput, DescribeProjectOutput } from "../models/models_2"; import { deserializeAws_json1_1DescribeProjectCommand, serializeAws_json1_1DescribeProjectCommand, diff --git a/clients/client-sagemaker/src/commands/StartPipelineExecutionCommand.ts b/clients/client-sagemaker/src/commands/StartPipelineExecutionCommand.ts index 4328ea7af0b9d..b8fde1e817a91 100644 --- a/clients/client-sagemaker/src/commands/StartPipelineExecutionCommand.ts +++ b/clients/client-sagemaker/src/commands/StartPipelineExecutionCommand.ts @@ -11,7 +11,8 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { StartPipelineExecutionRequest, StartPipelineExecutionResponse } from "../models/models_2"; +import { StartPipelineExecutionRequest } from "../models/models_2"; +import { StartPipelineExecutionResponse } from "../models/models_3"; import { deserializeAws_json1_1StartPipelineExecutionCommand, serializeAws_json1_1StartPipelineExecutionCommand, diff --git a/clients/client-sagemaker/src/commands/StopAutoMLJobCommand.ts b/clients/client-sagemaker/src/commands/StopAutoMLJobCommand.ts index 0e1d9e0d1ff32..f58af5c2207ee 100644 --- a/clients/client-sagemaker/src/commands/StopAutoMLJobCommand.ts +++ b/clients/client-sagemaker/src/commands/StopAutoMLJobCommand.ts @@ -11,7 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { StopAutoMLJobRequest } from "../models/models_2"; +import { StopAutoMLJobRequest } from "../models/models_3"; import { deserializeAws_json1_1StopAutoMLJobCommand, serializeAws_json1_1StopAutoMLJobCommand, diff --git a/clients/client-sagemaker/src/commands/StopCompilationJobCommand.ts b/clients/client-sagemaker/src/commands/StopCompilationJobCommand.ts index a0b137654552c..093275f9de72c 100644 --- a/clients/client-sagemaker/src/commands/StopCompilationJobCommand.ts +++ b/clients/client-sagemaker/src/commands/StopCompilationJobCommand.ts @@ -11,7 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { StopCompilationJobRequest } from "../models/models_2"; +import { StopCompilationJobRequest } from "../models/models_3"; import { deserializeAws_json1_1StopCompilationJobCommand, serializeAws_json1_1StopCompilationJobCommand, diff --git a/clients/client-sagemaker/src/commands/StopEdgePackagingJobCommand.ts b/clients/client-sagemaker/src/commands/StopEdgePackagingJobCommand.ts index c73689d740520..bdc0abe41a2e9 100644 --- a/clients/client-sagemaker/src/commands/StopEdgePackagingJobCommand.ts +++ b/clients/client-sagemaker/src/commands/StopEdgePackagingJobCommand.ts @@ -11,7 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { StopEdgePackagingJobRequest } from "../models/models_2"; +import { StopEdgePackagingJobRequest } from "../models/models_3"; import { deserializeAws_json1_1StopEdgePackagingJobCommand, serializeAws_json1_1StopEdgePackagingJobCommand, diff --git a/clients/client-sagemaker/src/endpoints.ts b/clients/client-sagemaker/src/endpoints.ts index 9a4bd6a193ba9..e8e95cd045514 100644 --- a/clients/client-sagemaker/src/endpoints.ts +++ b/clients/client-sagemaker/src/endpoints.ts @@ -135,6 +135,10 @@ const partitionHash: PartitionHash = { hostname: "api.sagemaker.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "api.sagemaker-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -145,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "api.sagemaker.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "api.sagemaker-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sagemaker/src/models/models_0.ts b/clients/client-sagemaker/src/models/models_0.ts index 42854d21b7d49..0aab9f852d41c 100644 --- a/clients/client-sagemaker/src/models/models_0.ts +++ b/clients/client-sagemaker/src/models/models_0.ts @@ -299,11 +299,11 @@ export namespace AgentVersion { } /** - *

                                              This API is not supported.

                                              + *

                                              An Amazon CloudWatch alarm configured to monitor metrics on an endpoint.

                                              */ export interface Alarm { /** - *

                                              + *

                                              The name of a CloudWatch alarm in your account.

                                              */ AlarmName?: string; } @@ -4674,11 +4674,12 @@ export enum AutoMLSortOrder { } /** - *

                                              Currently, the AutoRollbackConfig API is not supported.

                                              + *

                                              Automatic rollback configuration for handling endpoint deployment failures and recovery.

                                              */ export interface AutoRollbackConfig { /** - *

                                              + *

                                              List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. + * If any alarms are tripped during a deployment, SageMaker rolls back the deployment.

                                              */ Alarms?: Alarm[]; } @@ -5052,16 +5053,28 @@ export enum CapacitySizeType { } /** - *

                                              Currently, the CapacitySize API is not supported.

                                              + *

                                              Specifies the endpoint capacity to activate for production.

                                              */ export interface CapacitySize { /** - *

                                              This API is not supported.

                                              + *

                                              Specifies the endpoint capacity type.

                                              + *
                                                + *
                                              • + *

                                                + * INSTANCE_COUNT: The endpoint activates based on + * the number of instances.

                                                + *
                                              • + *
                                              • + *

                                                + * CAPACITY_PERCENT: The endpoint activates based on + * the specified percentage of capacity.

                                                + *
                                              • + *
                                              */ Type: CapacitySizeType | string | undefined; /** - *

                                              + *

                                              Defines the capacity size, either as a number of instances or a capacity percentage.

                                              */ Value: number | undefined; } @@ -5078,26 +5091,57 @@ export namespace CapacitySize { export enum TrafficRoutingConfigType { ALL_AT_ONCE = "ALL_AT_ONCE", CANARY = "CANARY", + LINEAR = "LINEAR", } /** - *

                                              Currently, the TrafficRoutingConfig API is not supported.

                                              + *

                                              Defines the traffic routing strategy during an endpoint deployment to shift traffic from the + * old fleet to the new fleet.

                                              */ export interface TrafficRoutingConfig { /** - *

                                              + *

                                              Traffic routing strategy type.

                                              + *
                                                + *
                                              • + *

                                                + * ALL_AT_ONCE: Endpoint traffic shifts to the new fleet + * in a single step. + *

                                                + *
                                              • + *
                                              • + *

                                                + * CANARY: Endpoint traffic shifts to the new fleet + * in two steps. The first step is the canary, which is a small portion of the traffic. The + * second step is the remainder of the traffic. + *

                                                + *
                                              • + *
                                              • + *

                                                + * LINEAR: Endpoint traffic shifts to the new fleet in + * n steps of a configurable size. + *

                                                + *
                                              • + *
                                              */ Type: TrafficRoutingConfigType | string | undefined; /** - *

                                              + *

                                              The waiting time (in seconds) between incremental steps to turn on traffic on the + * new endpoint fleet.

                                              */ WaitIntervalInSeconds: number | undefined; /** - *

                                              + *

                                              Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than + * or equal to 50% of the variant's total instance count.

                                              */ CanarySize?: CapacitySize; + + /** + *

                                              Batch size for each step to turn on traffic on the new endpoint fleet. Value must be + * 10-50% of the variant's total instance count.

                                              + */ + LinearStepSize?: CapacitySize; } export namespace TrafficRoutingConfig { @@ -5110,21 +5154,29 @@ export namespace TrafficRoutingConfig { } /** - *

                                              Currently, the BlueGreenUpdatePolicy API is not supported.

                                              + *

                                              Update policy for a blue/green deployment. If this update policy is specified, SageMaker + * creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips + * traffic to the new fleet according to the specified traffic routing configuration. Only + * one update policy should be used in the deployment configuration. If no update policy is + * specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting + * by default.

                                              */ export interface BlueGreenUpdatePolicy { /** - *

                                              + *

                                              Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet + * during an endpoint deployment.

                                              */ TrafficRoutingConfiguration: TrafficRoutingConfig | undefined; /** - *

                                              + *

                                              Additional waiting time in seconds after the completion of an endpoint deployment + * before terminating the old endpoint fleet. Default is 0.

                                              */ TerminationWaitInSeconds?: number; /** - *

                                              + *

                                              Maximum execution timeout for the deployment. Note that the timeout value should be larger + * than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

                                              */ MaximumExecutionTimeoutInSeconds?: number; } @@ -9032,6 +9084,36 @@ export namespace CreateEdgePackagingJobRequest { }); } +/** + *

                                              The deployment configuration for an endpoint, which contains the desired deployment + * strategy and rollback configurations.

                                              + */ +export interface DeploymentConfig { + /** + *

                                              Update policy for a blue/green deployment. If this update policy is specified, SageMaker + * creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips + * traffic to the new fleet according to the specified traffic routing configuration. Only + * one update policy should be used in the deployment configuration. If no update policy is + * specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting + * by default.

                                              + */ + BlueGreenUpdatePolicy: BlueGreenUpdatePolicy | undefined; + + /** + *

                                              Automatic rollback configuration for handling endpoint deployment failures and recovery.

                                              + */ + AutoRollbackConfiguration?: AutoRollbackConfig; +} + +export namespace DeploymentConfig { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeploymentConfig): any => ({ + ...obj, + }); +} + export interface CreateEndpointInput { /** *

                                              The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services @@ -9045,6 +9127,12 @@ export interface CreateEndpointInput { */ EndpointConfigName: string | undefined; + /** + *

                                              The deployment configuration for an endpoint, which contains the desired deployment + * strategy and rollback configurations.

                                              + */ + DeploymentConfig?: DeploymentConfig; + /** *

                                              An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in * different ways, for example, by purpose, owner, or environment. For more information, @@ -13221,8 +13309,7 @@ export interface HumanTaskConfig { * the maximum is 8 hours (28,800 seconds).

                                              *
                                            • *
                                            • - *

                                              For 3D point cloud and video frame labeling jobs, - * the maximum is 7 days (604,800 seconds). If you want to change these limits, + *

                                              For 3D point cloud and video frame labeling jobs, the maximum is 30 days (2952,000 seconds) for non-AL mode. For most users, the maximum is also 30 days. If you want to change these limits, * contact Amazon Web Services Support.

                                              *
                                            • *
                                            @@ -13239,8 +13326,7 @@ export interface HumanTaskConfig { * The default is 6 hours (21,600 seconds).

                                            *
                                          • *
                                          • - *

                                            If you choose a private or vendor workforce, the default value is 10 days - * (864,000 seconds). For most users, the maximum is also 10 days. If you want to + *

                                            If you choose a private or vendor workforce, the default value is 30 days (2592,000 seconds) for non-AL mode. For most users, the maximum is also 30 days. If you want to * change this limit, contact Amazon Web Services Support.

                                            *
                                          • *
                                          @@ -13384,27 +13470,3 @@ export namespace LabelingJobDataSource { ...obj, }); } - -/** - *

                                          Input configuration information for a labeling job.

                                          - */ -export interface LabelingJobInputConfig { - /** - *

                                          The location of the input data.

                                          - */ - DataSource: LabelingJobDataSource | undefined; - - /** - *

                                          Attributes of the data specified by the customer.

                                          - */ - DataAttributes?: LabelingJobDataAttributes; -} - -export namespace LabelingJobInputConfig { - /** - * @internal - */ - export const filterSensitiveLog = (obj: LabelingJobInputConfig): any => ({ - ...obj, - }); -} diff --git a/clients/client-sagemaker/src/models/models_1.ts b/clients/client-sagemaker/src/models/models_1.ts index 5f86d89ad7c48..857673efcd52f 100644 --- a/clients/client-sagemaker/src/models/models_1.ts +++ b/clients/client-sagemaker/src/models/models_1.ts @@ -26,10 +26,8 @@ import { AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, - AutoRollbackConfig, BatchStrategy, Bias, - BlueGreenUpdatePolicy, CaptureStatus, Channel, CheckpointConfig, @@ -43,6 +41,7 @@ import { DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, + DeploymentConfig, DomainSettings, EdgeOutputConfig, EdgePresetDeploymentType, @@ -61,7 +60,8 @@ import { InferenceSpecification, InputConfig, KernelGatewayImageConfig, - LabelingJobInputConfig, + LabelingJobDataAttributes, + LabelingJobDataSource, MetadataProperties, MetricsSource, ModelApprovalStatus, @@ -85,6 +85,8 @@ import { ProcessingS3InputMode, ProcessingS3UploadMode, ProductionVariant, + ProductionVariantAcceleratorType, + ProductionVariantInstanceType, ResourceConfig, ResourceSpec, RetryStrategy, @@ -100,6 +102,30 @@ import { VpcConfig, } from "./models_0"; +/** + *

                                          Input configuration information for a labeling job.

                                          + */ +export interface LabelingJobInputConfig { + /** + *

                                          The location of the input data.

                                          + */ + DataSource: LabelingJobDataSource | undefined; + + /** + *

                                          Attributes of the data specified by the customer.

                                          + */ + DataAttributes?: LabelingJobDataAttributes; +} + +export namespace LabelingJobInputConfig { + /** + * @internal + */ + export const filterSensitiveLog = (obj: LabelingJobInputConfig): any => ({ + ...obj, + }); +} + /** *

                                          Configure encryption on the storage volume attached to the ML compute instance used to * run automated data labeling model training and inference.

                                          @@ -5457,30 +5483,6 @@ export namespace DeployedImage { }); } -/** - *

                                          Currently, the DeploymentConfig API is not supported.

                                          - */ -export interface DeploymentConfig { - /** - *

                                          - */ - BlueGreenUpdatePolicy: BlueGreenUpdatePolicy | undefined; - - /** - *

                                          - */ - AutoRollbackConfiguration?: AutoRollbackConfig; -} - -export namespace DeploymentConfig { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeploymentConfig): any => ({ - ...obj, - }); -} - export interface DeregisterDevicesRequest { /** *

                                          The name of the fleet the devices belong to.

                                          @@ -7006,6 +7008,175 @@ export enum EndpointStatus { UPDATING = "Updating", } +export enum VariantStatus { + ACTIVATING_TRAFFIC = "ActivatingTraffic", + BAKING = "Baking", + CREATING = "Creating", + DELETING = "Deleting", + UPDATING = "Updating", +} + +/** + *

                                          Describes the status of the production variant.

                                          + */ +export interface ProductionVariantStatus { + /** + *

                                          The endpoint variant status which describes the current deployment stage status or operational status.

                                          + *
                                            + *
                                          • + *

                                            + * Creating: Creating inference resources for the production variant.

                                            + *
                                          • + *
                                          • + *

                                            + * Deleting: Terminating inference resources for the production variant.

                                            + *
                                          • + *
                                          • + *

                                            + * Updating: Updating capacity for the production variant.

                                            + *
                                          • + *
                                          • + *

                                            + * ActivatingTraffic: Turning on traffic for the production variant.

                                            + *
                                          • + *
                                          • + *

                                            + * Baking: Waiting period to monitor the CloudWatch alarms in the + * automatic rollback configuration.

                                            + *
                                          • + *
                                          + */ + Status: VariantStatus | string | undefined; + + /** + *

                                          A message that describes the status of the production variant.

                                          + */ + StatusMessage?: string; + + /** + *

                                          The start time of the current status change.

                                          + */ + StartTime?: Date; +} + +export namespace ProductionVariantStatus { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ProductionVariantStatus): any => ({ + ...obj, + }); +} + +/** + *

                                          The production variant summary for a deployment when an endpoint is + * creating or updating with the + * CreateEndpoint + * + * or + * UpdateEndpoint + * operations. + * Describes the VariantStatus , weight and capacity for a production + * variant associated with an endpoint. + *

                                          + */ +export interface PendingProductionVariantSummary { + /** + *

                                          The name of the variant.

                                          + */ + VariantName: string | undefined; + + /** + *

                                          An array of DeployedImage objects that specify the Amazon EC2 + * Container Registry paths of the inference images deployed on instances of this + * ProductionVariant.

                                          + */ + DeployedImages?: DeployedImage[]; + + /** + *

                                          The weight associated with the variant.

                                          + */ + CurrentWeight?: number; + + /** + *

                                          The requested weight for the variant in this deployment, as specified in the endpoint configuration + * for the endpoint. The value is taken from the request to the + * CreateEndpointConfig + * operation.

                                          + */ + DesiredWeight?: number; + + /** + *

                                          The number of instances associated with the variant.

                                          + */ + CurrentInstanceCount?: number; + + /** + *

                                          The number of instances requested in this deployment, as specified in the endpoint configuration + * for the endpoint. The value is taken from the request to the + * CreateEndpointConfig + * operation.

                                          + */ + DesiredInstanceCount?: number; + + /** + *

                                          The type of instances associated with the variant.

                                          + */ + InstanceType?: ProductionVariantInstanceType | string; + + /** + *

                                          The size of the Elastic Inference (EI) instance to use for the production variant. EI + * instances provide on-demand GPU computing for inference. For more information, see + * Using Elastic + * Inference in Amazon SageMaker.

                                          + */ + AcceleratorType?: ProductionVariantAcceleratorType | string; + + /** + *

                                          The endpoint variant status which describes the current deployment stage status or operational status.

                                          + */ + VariantStatus?: ProductionVariantStatus[]; +} + +export namespace PendingProductionVariantSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PendingProductionVariantSummary): any => ({ + ...obj, + }); +} + +/** + *

                                          The summary of an in-progress deployment when an endpoint is creating or + * updating with a new endpoint configuration.

                                          + */ +export interface PendingDeploymentSummary { + /** + *

                                          The name of the endpoint configuration used in the deployment.

                                          + */ + EndpointConfigName: string | undefined; + + /** + *

                                          List of PendingProductionVariantSummary objects.

                                          + */ + ProductionVariants?: PendingProductionVariantSummary[]; + + /** + *

                                          The start time of the deployment.

                                          + */ + StartTime?: Date; +} + +export namespace PendingDeploymentSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PendingDeploymentSummary): any => ({ + ...obj, + }); +} + /** *

                                          Describes weight and capacities for a production variant associated with an * endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities @@ -7045,6 +7216,11 @@ export interface ProductionVariantSummary { * UpdateEndpointWeightsAndCapacities request.

                                          */ DesiredInstanceCount?: number; + + /** + *

                                          The endpoint variant status which describes the current deployment stage status or operational status.

                                          + */ + VariantStatus?: ProductionVariantStatus[]; } export namespace ProductionVariantSummary { @@ -7164,6 +7340,12 @@ export interface DescribeEndpointOutput { * API.

                                          */ AsyncInferenceConfig?: AsyncInferenceConfig; + + /** + *

                                          Returns the summary of an in-progress deployment. This field is only returned when the + * endpoint is creating or updating with a new endpoint configuration.

                                          + */ + PendingDeploymentSummary?: PendingDeploymentSummary; } export namespace DescribeEndpointOutput { @@ -9741,162 +9923,3 @@ export namespace DescribeProcessingJobRequest { ...obj, }); } - -export enum ProcessingJobStatus { - COMPLETED = "Completed", - FAILED = "Failed", - IN_PROGRESS = "InProgress", - STOPPED = "Stopped", - STOPPING = "Stopping", -} - -export interface DescribeProcessingJobResponse { - /** - *

                                          The inputs for a processing job.

                                          - */ - ProcessingInputs?: ProcessingInput[]; - - /** - *

                                          Output configuration for the processing job.

                                          - */ - ProcessingOutputConfig?: ProcessingOutputConfig; - - /** - *

                                          The name of the processing job. The name must be unique within an Amazon Web Services Region in the - * Amazon Web Services account.

                                          - */ - ProcessingJobName: string | undefined; - - /** - *

                                          Identifies the resources, ML compute instances, and ML storage volumes to deploy for a - * processing job. In distributed training, you specify more than one instance.

                                          - */ - ProcessingResources: ProcessingResources | undefined; - - /** - *

                                          The time limit for how long the processing job is allowed to run.

                                          - */ - StoppingCondition?: ProcessingStoppingCondition; - - /** - *

                                          Configures the processing job to run a specified container image.

                                          - */ - AppSpecification: AppSpecification | undefined; - - /** - *

                                          The environment variables set in the Docker container.

                                          - */ - Environment?: { [key: string]: string }; - - /** - *

                                          Networking options for a processing job.

                                          - */ - NetworkConfig?: NetworkConfig; - - /** - *

                                          The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on - * your behalf.

                                          - */ - RoleArn?: string; - - /** - *

                                          The configuration information used to create an experiment.

                                          - */ - ExperimentConfig?: ExperimentConfig; - - /** - *

                                          The Amazon Resource Name (ARN) of the processing job.

                                          - */ - ProcessingJobArn: string | undefined; - - /** - *

                                          Provides the status of a processing job.

                                          - */ - ProcessingJobStatus: ProcessingJobStatus | string | undefined; - - /** - *

                                          An optional string, up to one KB in size, that contains metadata from the processing - * container when the processing job exits.

                                          - */ - ExitMessage?: string; - - /** - *

                                          A string, up to one KB in size, that contains the reason a processing job failed, if - * it failed.

                                          - */ - FailureReason?: string; - - /** - *

                                          The time at which the processing job completed.

                                          - */ - ProcessingEndTime?: Date; - - /** - *

                                          The time at which the processing job started.

                                          - */ - ProcessingStartTime?: Date; - - /** - *

                                          The time at which the processing job was last modified.

                                          - */ - LastModifiedTime?: Date; - - /** - *

                                          The time at which the processing job was created.

                                          - */ - CreationTime: Date | undefined; - - /** - *

                                          The ARN of a monitoring schedule for an endpoint associated with this processing - * job.

                                          - */ - MonitoringScheduleArn?: string; - - /** - *

                                          The ARN of an AutoML job associated with this processing job.

                                          - */ - AutoMLJobArn?: string; - - /** - *

                                          The ARN of a training job associated with this processing job.

                                          - */ - TrainingJobArn?: string; -} - -export namespace DescribeProcessingJobResponse { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeProcessingJobResponse): any => ({ - ...obj, - }); -} - -export interface DescribeProjectInput { - /** - *

                                          The name of the project to describe.

                                          - */ - ProjectName: string | undefined; -} - -export namespace DescribeProjectInput { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeProjectInput): any => ({ - ...obj, - }); -} - -export enum ProjectStatus { - CREATE_COMPLETED = "CreateCompleted", - CREATE_FAILED = "CreateFailed", - CREATE_IN_PROGRESS = "CreateInProgress", - DELETE_COMPLETED = "DeleteCompleted", - DELETE_FAILED = "DeleteFailed", - DELETE_IN_PROGRESS = "DeleteInProgress", - PENDING = "Pending", - UPDATE_COMPLETED = "UpdateCompleted", - UPDATE_FAILED = "UpdateFailed", - UPDATE_IN_PROGRESS = "UpdateInProgress", -} diff --git a/clients/client-sagemaker/src/models/models_2.ts b/clients/client-sagemaker/src/models/models_2.ts index 5190656686ab5..e04ddffa980d8 100644 --- a/clients/client-sagemaker/src/models/models_2.ts +++ b/clients/client-sagemaker/src/models/models_2.ts @@ -36,7 +36,6 @@ import { FeatureDefinition, HyperParameterTuningJobStrategyType, InferenceSpecification, - LabelingJobInputConfig, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, @@ -78,6 +77,7 @@ import { ImageStatus, ImageVersionStatus, LabelCounters, + LabelingJobInputConfig, LabelingJobOutput, LabelingJobStatus, MemberDefinition, @@ -100,14 +100,12 @@ import { PipelineExperimentConfig, PipelineStatus, ProcessingInput, - ProcessingJobStatus, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, ProductionVariantSummary, ProfilerConfig, ProfilerRuleConfiguration, - ProjectStatus, RuleEvaluationStatus, ScheduleStatus, ServiceCatalogProvisioningDetails, @@ -122,6 +120,165 @@ import { TrialComponentStatus, } from "./models_1"; +export enum ProcessingJobStatus { + COMPLETED = "Completed", + FAILED = "Failed", + IN_PROGRESS = "InProgress", + STOPPED = "Stopped", + STOPPING = "Stopping", +} + +export interface DescribeProcessingJobResponse { + /** + *

                                          The inputs for a processing job.

                                          + */ + ProcessingInputs?: ProcessingInput[]; + + /** + *

                                          Output configuration for the processing job.

                                          + */ + ProcessingOutputConfig?: ProcessingOutputConfig; + + /** + *

                                          The name of the processing job. The name must be unique within an Amazon Web Services Region in the + * Amazon Web Services account.

                                          + */ + ProcessingJobName: string | undefined; + + /** + *

                                          Identifies the resources, ML compute instances, and ML storage volumes to deploy for a + * processing job. In distributed training, you specify more than one instance.

                                          + */ + ProcessingResources: ProcessingResources | undefined; + + /** + *

                                          The time limit for how long the processing job is allowed to run.

                                          + */ + StoppingCondition?: ProcessingStoppingCondition; + + /** + *

                                          Configures the processing job to run a specified container image.

                                          + */ + AppSpecification: AppSpecification | undefined; + + /** + *

                                          The environment variables set in the Docker container.

                                          + */ + Environment?: { [key: string]: string }; + + /** + *

                                          Networking options for a processing job.

                                          + */ + NetworkConfig?: NetworkConfig; + + /** + *

                                          The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to perform tasks on + * your behalf.

                                          + */ + RoleArn?: string; + + /** + *

                                          The configuration information used to create an experiment.

                                          + */ + ExperimentConfig?: ExperimentConfig; + + /** + *

                                          The Amazon Resource Name (ARN) of the processing job.

                                          + */ + ProcessingJobArn: string | undefined; + + /** + *

                                          Provides the status of a processing job.

                                          + */ + ProcessingJobStatus: ProcessingJobStatus | string | undefined; + + /** + *

                                          An optional string, up to one KB in size, that contains metadata from the processing + * container when the processing job exits.

                                          + */ + ExitMessage?: string; + + /** + *

                                          A string, up to one KB in size, that contains the reason a processing job failed, if + * it failed.

                                          + */ + FailureReason?: string; + + /** + *

                                          The time at which the processing job completed.

                                          + */ + ProcessingEndTime?: Date; + + /** + *

                                          The time at which the processing job started.

                                          + */ + ProcessingStartTime?: Date; + + /** + *

                                          The time at which the processing job was last modified.

                                          + */ + LastModifiedTime?: Date; + + /** + *

                                          The time at which the processing job was created.

                                          + */ + CreationTime: Date | undefined; + + /** + *

                                          The ARN of a monitoring schedule for an endpoint associated with this processing + * job.

                                          + */ + MonitoringScheduleArn?: string; + + /** + *

                                          The ARN of an AutoML job associated with this processing job.

                                          + */ + AutoMLJobArn?: string; + + /** + *

                                          The ARN of a training job associated with this processing job.

                                          + */ + TrainingJobArn?: string; +} + +export namespace DescribeProcessingJobResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeProcessingJobResponse): any => ({ + ...obj, + }); +} + +export interface DescribeProjectInput { + /** + *

                                          The name of the project to describe.

                                          + */ + ProjectName: string | undefined; +} + +export namespace DescribeProjectInput { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeProjectInput): any => ({ + ...obj, + }); +} + +export enum ProjectStatus { + CREATE_COMPLETED = "CreateCompleted", + CREATE_FAILED = "CreateFailed", + CREATE_IN_PROGRESS = "CreateInProgress", + DELETE_COMPLETED = "DeleteCompleted", + DELETE_FAILED = "DeleteFailed", + DELETE_IN_PROGRESS = "DeleteInProgress", + PENDING = "Pending", + UPDATE_COMPLETED = "UpdateCompleted", + UPDATE_FAILED = "UpdateFailed", + UPDATE_IN_PROGRESS = "UpdateInProgress", +} + /** *

                                          Details of a provisioned service catalog product. For information about service catalog, * see What is Amazon Web Services Service @@ -11450,67 +11607,3 @@ export namespace StartPipelineExecutionRequest { ...obj, }); } - -export interface StartPipelineExecutionResponse { - /** - *

                                          The Amazon Resource Name (ARN) of the pipeline execution.

                                          - */ - PipelineExecutionArn?: string; -} - -export namespace StartPipelineExecutionResponse { - /** - * @internal - */ - export const filterSensitiveLog = (obj: StartPipelineExecutionResponse): any => ({ - ...obj, - }); -} - -export interface StopAutoMLJobRequest { - /** - *

                                          The name of the object you are requesting.

                                          - */ - AutoMLJobName: string | undefined; -} - -export namespace StopAutoMLJobRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: StopAutoMLJobRequest): any => ({ - ...obj, - }); -} - -export interface StopCompilationJobRequest { - /** - *

                                          The name of the model compilation job to stop.

                                          - */ - CompilationJobName: string | undefined; -} - -export namespace StopCompilationJobRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: StopCompilationJobRequest): any => ({ - ...obj, - }); -} - -export interface StopEdgePackagingJobRequest { - /** - *

                                          The name of the edge packaging job.

                                          - */ - EdgePackagingJobName: string | undefined; -} - -export namespace StopEdgePackagingJobRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: StopEdgePackagingJobRequest): any => ({ - ...obj, - }); -} diff --git a/clients/client-sagemaker/src/models/models_3.ts b/clients/client-sagemaker/src/models/models_3.ts index 3e219b2415dbc..29d90ee4f1bd1 100644 --- a/clients/client-sagemaker/src/models/models_3.ts +++ b/clients/client-sagemaker/src/models/models_3.ts @@ -1,6 +1,7 @@ import { ActionStatus, BooleanOperator, + DeploymentConfig, EdgeOutputConfig, KernelGatewayImageConfig, ModelApprovalStatus, @@ -9,7 +10,6 @@ import { } from "./models_0"; import { _InstanceType, - DeploymentConfig, MemberDefinition, MonitoringScheduleConfig, NotebookInstanceAcceleratorType, @@ -38,6 +38,70 @@ import { Workteam, } from "./models_2"; +export interface StartPipelineExecutionResponse { + /** + *

                                          The Amazon Resource Name (ARN) of the pipeline execution.

                                          + */ + PipelineExecutionArn?: string; +} + +export namespace StartPipelineExecutionResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StartPipelineExecutionResponse): any => ({ + ...obj, + }); +} + +export interface StopAutoMLJobRequest { + /** + *

                                          The name of the object you are requesting.

                                          + */ + AutoMLJobName: string | undefined; +} + +export namespace StopAutoMLJobRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StopAutoMLJobRequest): any => ({ + ...obj, + }); +} + +export interface StopCompilationJobRequest { + /** + *

                                          The name of the model compilation job to stop.

                                          + */ + CompilationJobName: string | undefined; +} + +export namespace StopCompilationJobRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StopCompilationJobRequest): any => ({ + ...obj, + }); +} + +export interface StopEdgePackagingJobRequest { + /** + *

                                          The name of the edge packaging job.

                                          + */ + EdgePackagingJobName: string | undefined; +} + +export namespace StopEdgePackagingJobRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StopEdgePackagingJobRequest): any => ({ + ...obj, + }); +} + export interface StopHyperParameterTuningJobRequest { /** *

                                          The name of the tuning job to stop.

                                          @@ -595,9 +659,15 @@ export interface UpdateEndpointInput { ExcludeRetainedVariantProperties?: VariantProperty[]; /** - *

                                          The deployment configuration for the endpoint to be updated.

                                          + *

                                          The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

                                          */ DeploymentConfig?: DeploymentConfig; + + /** + *

                                          Specifies whether to reuse the last deployment configuration. The default value is + * false (the configuration is not reused).

                                          + */ + RetainDeploymentConfig?: boolean; } export namespace UpdateEndpointInput { diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts index 21b75bc41dee0..0e559d7c72278 100644 --- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts @@ -748,6 +748,7 @@ import { DataQualityBaselineConfig, DataQualityJobInput, DataSource, + DeploymentConfig, DomainSettings, EdgeOutputConfig, EndpointInput, @@ -779,7 +780,6 @@ import { KernelSpec, LabelingJobDataAttributes, LabelingJobDataSource, - LabelingJobInputConfig, LabelingJobS3DataSource, LabelingJobSnsDataSource, MetadataProperties, @@ -958,7 +958,6 @@ import { DeleteWorkteamRequest, DeleteWorkteamResponse, DeployedImage, - DeploymentConfig, DeregisterDevicesRequest, DescribeActionRequest, DescribeActionResponse, @@ -1033,8 +1032,6 @@ import { DescribePipelineRequest, DescribePipelineResponse, DescribeProcessingJobRequest, - DescribeProcessingJobResponse, - DescribeProjectInput, EdgeModel, EdgePresetDeploymentOutput, ExperimentConfig, @@ -1045,6 +1042,7 @@ import { InferenceExecutionConfig, LabelCounters, LabelingJobAlgorithmsConfig, + LabelingJobInputConfig, LabelingJobOutput, LabelingJobOutputConfig, LabelingJobResourceConfig, @@ -1085,6 +1083,8 @@ import { OfflineStoreStatus, OidcConfig, OidcMemberDefinition, + PendingDeploymentSummary, + PendingProductionVariantSummary, PipelineExperimentConfig, ProcessingClusterConfig, ProcessingFeatureStoreOutput, @@ -1095,6 +1095,7 @@ import { ProcessingS3Input, ProcessingS3Output, ProcessingStoppingCondition, + ProductionVariantStatus, ProductionVariantSummary, ProfilerConfig, ProfilerRuleConfiguration, @@ -1115,6 +1116,8 @@ import { UiTemplateInfo, } from "../models/models_1"; import { + DescribeProcessingJobResponse, + DescribeProjectInput, DescribeProjectOutput, DescribeStudioLifecycleConfigRequest, DescribeStudioLifecycleConfigResponse, @@ -1337,10 +1340,6 @@ import { StartMonitoringScheduleRequest, StartNotebookInstanceInput, StartPipelineExecutionRequest, - StartPipelineExecutionResponse, - StopAutoMLJobRequest, - StopCompilationJobRequest, - StopEdgePackagingJobRequest, StudioLifecycleConfigDetails, SubscribedWorkteam, SuggestionQuery, @@ -1368,6 +1367,10 @@ import { SearchExpression, SearchRequest, ServiceCatalogProvisioningUpdateDetails, + StartPipelineExecutionResponse, + StopAutoMLJobRequest, + StopCompilationJobRequest, + StopEdgePackagingJobRequest, StopHyperParameterTuningJobRequest, StopLabelingJobRequest, StopMonitoringScheduleRequest, @@ -18374,6 +18377,10 @@ const serializeAws_json1_1CreateEndpointConfigInput = ( const serializeAws_json1_1CreateEndpointInput = (input: CreateEndpointInput, context: __SerdeContext): any => { return { + ...(input.DeploymentConfig !== undefined && + input.DeploymentConfig !== null && { + DeploymentConfig: serializeAws_json1_1DeploymentConfig(input.DeploymentConfig, context), + }), ...(input.EndpointConfigName !== undefined && input.EndpointConfigName !== null && { EndpointConfigName: input.EndpointConfigName }), ...(input.EndpointName !== undefined && input.EndpointName !== null && { EndpointName: input.EndpointName }), @@ -24134,6 +24141,10 @@ const serializeAws_json1_1TrafficRoutingConfig = (input: TrafficRoutingConfig, c return { ...(input.CanarySize !== undefined && input.CanarySize !== null && { CanarySize: serializeAws_json1_1CapacitySize(input.CanarySize, context) }), + ...(input.LinearStepSize !== undefined && + input.LinearStepSize !== null && { + LinearStepSize: serializeAws_json1_1CapacitySize(input.LinearStepSize, context), + }), ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), ...(input.WaitIntervalInSeconds !== undefined && input.WaitIntervalInSeconds !== null && { WaitIntervalInSeconds: input.WaitIntervalInSeconds }), @@ -24545,6 +24556,8 @@ const serializeAws_json1_1UpdateEndpointInput = (input: UpdateEndpointInput, con }), ...(input.RetainAllVariantProperties !== undefined && input.RetainAllVariantProperties !== null && { RetainAllVariantProperties: input.RetainAllVariantProperties }), + ...(input.RetainDeploymentConfig !== undefined && + input.RetainDeploymentConfig !== null && { RetainDeploymentConfig: input.RetainDeploymentConfig }), }; }; @@ -27526,6 +27539,10 @@ const deserializeAws_json1_1DescribeEndpointOutput = (output: any, context: __Se output.LastModifiedTime !== undefined && output.LastModifiedTime !== null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime))) : undefined, + PendingDeploymentSummary: + output.PendingDeploymentSummary !== undefined && output.PendingDeploymentSummary !== null + ? deserializeAws_json1_1PendingDeploymentSummary(output.PendingDeploymentSummary, context) + : undefined, ProductionVariants: output.ProductionVariants !== undefined && output.ProductionVariants !== null ? deserializeAws_json1_1ProductionVariantSummaryList(output.ProductionVariants, context) @@ -32356,6 +32373,60 @@ const deserializeAws_json1_1Parents = (output: any, context: __SerdeContext): Pa }); }; +const deserializeAws_json1_1PendingDeploymentSummary = ( + output: any, + context: __SerdeContext +): PendingDeploymentSummary => { + return { + EndpointConfigName: __expectString(output.EndpointConfigName), + ProductionVariants: + output.ProductionVariants !== undefined && output.ProductionVariants !== null + ? deserializeAws_json1_1PendingProductionVariantSummaryList(output.ProductionVariants, context) + : undefined, + StartTime: + output.StartTime !== undefined && output.StartTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) + : undefined, + } as any; +}; + +const deserializeAws_json1_1PendingProductionVariantSummary = ( + output: any, + context: __SerdeContext +): PendingProductionVariantSummary => { + return { + AcceleratorType: __expectString(output.AcceleratorType), + CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount), + CurrentWeight: __limitedParseFloat32(output.CurrentWeight), + DeployedImages: + output.DeployedImages !== undefined && output.DeployedImages !== null + ? deserializeAws_json1_1DeployedImages(output.DeployedImages, context) + : undefined, + DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount), + DesiredWeight: __limitedParseFloat32(output.DesiredWeight), + InstanceType: __expectString(output.InstanceType), + VariantName: __expectString(output.VariantName), + VariantStatus: + output.VariantStatus !== undefined && output.VariantStatus !== null + ? deserializeAws_json1_1ProductionVariantStatusList(output.VariantStatus, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1PendingProductionVariantSummaryList = ( + output: any, + context: __SerdeContext +): PendingProductionVariantSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1PendingProductionVariantSummary(entry, context); + }); +}; + const deserializeAws_json1_1Pipeline = (output: any, context: __SerdeContext): Pipeline => { return { CreatedBy: @@ -32860,6 +32931,34 @@ const deserializeAws_json1_1ProductionVariantList = (output: any, context: __Ser }); }; +const deserializeAws_json1_1ProductionVariantStatus = ( + output: any, + context: __SerdeContext +): ProductionVariantStatus => { + return { + StartTime: + output.StartTime !== undefined && output.StartTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) + : undefined, + Status: __expectString(output.Status), + StatusMessage: __expectString(output.StatusMessage), + } as any; +}; + +const deserializeAws_json1_1ProductionVariantStatusList = ( + output: any, + context: __SerdeContext +): ProductionVariantStatus[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1ProductionVariantStatus(entry, context); + }); +}; + const deserializeAws_json1_1ProductionVariantSummary = ( output: any, context: __SerdeContext @@ -32874,6 +32973,10 @@ const deserializeAws_json1_1ProductionVariantSummary = ( DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount), DesiredWeight: __limitedParseFloat32(output.DesiredWeight), VariantName: __expectString(output.VariantName), + VariantStatus: + output.VariantStatus !== undefined && output.VariantStatus !== null + ? deserializeAws_json1_1ProductionVariantStatusList(output.VariantStatus, context) + : undefined, } as any; }; @@ -33704,6 +33807,10 @@ const deserializeAws_json1_1TrafficRoutingConfig = (output: any, context: __Serd output.CanarySize !== undefined && output.CanarySize !== null ? deserializeAws_json1_1CapacitySize(output.CanarySize, context) : undefined, + LinearStepSize: + output.LinearStepSize !== undefined && output.LinearStepSize !== null + ? deserializeAws_json1_1CapacitySize(output.LinearStepSize, context) + : undefined, Type: __expectString(output.Type), WaitIntervalInSeconds: __expectInt32(output.WaitIntervalInSeconds), } as any; diff --git a/clients/client-savingsplans/src/endpoints.ts b/clients/client-savingsplans/src/endpoints.ts index 24de0a72539cd..ac347911ab784 100644 --- a/clients/client-savingsplans/src/endpoints.ts +++ b/clients/client-savingsplans/src/endpoints.ts @@ -90,6 +90,10 @@ const partitionHash: PartitionHash = { hostname: "savingsplans.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "savingsplans-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -100,6 +104,10 @@ const partitionHash: PartitionHash = { hostname: "savingsplans.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "savingsplans-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-schemas/src/endpoints.ts b/clients/client-schemas/src/endpoints.ts index 97e952ced37fe..704f00230c162 100644 --- a/clients/client-schemas/src/endpoints.ts +++ b/clients/client-schemas/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "schemas.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "schemas-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "schemas.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "schemas-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-secrets-manager/src/endpoints.ts b/clients/client-secrets-manager/src/endpoints.ts index cc74594c26cc2..4e13b6a4aa28d 100644 --- a/clients/client-secrets-manager/src/endpoints.ts +++ b/clients/client-secrets-manager/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "secretsmanager.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "secretsmanager-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "secretsmanager.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "secretsmanager-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-securityhub/src/endpoints.ts b/clients/client-securityhub/src/endpoints.ts index 20393a330bfc0..b486e04667a9c 100644 --- a/clients/client-securityhub/src/endpoints.ts +++ b/clients/client-securityhub/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "securityhub.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "securityhub-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "securityhub.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "securityhub-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-serverlessapplicationrepository/src/endpoints.ts b/clients/client-serverlessapplicationrepository/src/endpoints.ts index 820263dc7ff3c..2389fb9eeb372 100644 --- a/clients/client-serverlessapplicationrepository/src/endpoints.ts +++ b/clients/client-serverlessapplicationrepository/src/endpoints.ts @@ -97,6 +97,10 @@ const partitionHash: PartitionHash = { hostname: "serverlessrepo.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "serverlessrepo-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -107,6 +111,10 @@ const partitionHash: PartitionHash = { hostname: "serverlessrepo.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "serverlessrepo-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-service-catalog-appregistry/src/endpoints.ts b/clients/client-service-catalog-appregistry/src/endpoints.ts index 2113fd5ba874d..afe85a9d44e32 100644 --- a/clients/client-service-catalog-appregistry/src/endpoints.ts +++ b/clients/client-service-catalog-appregistry/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "servicecatalog-appregistry.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "servicecatalog-appregistry-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "servicecatalog-appregistry.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "servicecatalog-appregistry-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-service-catalog/src/endpoints.ts b/clients/client-service-catalog/src/endpoints.ts index c92466ce2735a..ba32ee10316a3 100644 --- a/clients/client-service-catalog/src/endpoints.ts +++ b/clients/client-service-catalog/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "servicecatalog.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "servicecatalog-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "servicecatalog.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "servicecatalog-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-service-quotas/src/endpoints.ts b/clients/client-service-quotas/src/endpoints.ts index f8d0be5aa0c74..f9b8ebeb519cf 100644 --- a/clients/client-service-quotas/src/endpoints.ts +++ b/clients/client-service-quotas/src/endpoints.ts @@ -103,6 +103,10 @@ const partitionHash: PartitionHash = { hostname: "servicequotas.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "servicequotas-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -113,6 +117,10 @@ const partitionHash: PartitionHash = { hostname: "servicequotas.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "servicequotas-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-servicediscovery/src/endpoints.ts b/clients/client-servicediscovery/src/endpoints.ts index 3e4cd13a0403f..13ffe0d5b7635 100644 --- a/clients/client-servicediscovery/src/endpoints.ts +++ b/clients/client-servicediscovery/src/endpoints.ts @@ -170,6 +170,10 @@ const partitionHash: PartitionHash = { hostname: "servicediscovery.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "servicediscovery-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -180,6 +184,10 @@ const partitionHash: PartitionHash = { hostname: "servicediscovery.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "servicediscovery-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ses/src/endpoints.ts b/clients/client-ses/src/endpoints.ts index 05caae0064f2b..536775cc5e696 100644 --- a/clients/client-ses/src/endpoints.ts +++ b/clients/client-ses/src/endpoints.ts @@ -91,6 +91,10 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "email-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -101,6 +105,10 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "email-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sesv2/src/endpoints.ts b/clients/client-sesv2/src/endpoints.ts index 05caae0064f2b..536775cc5e696 100644 --- a/clients/client-sesv2/src/endpoints.ts +++ b/clients/client-sesv2/src/endpoints.ts @@ -91,6 +91,10 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "email-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -101,6 +105,10 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "email-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sfn/src/endpoints.ts b/clients/client-sfn/src/endpoints.ts index aa3205e5264b9..75827ea7b90e8 100644 --- a/clients/client-sfn/src/endpoints.ts +++ b/clients/client-sfn/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "states.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "states-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "states.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "states-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-shield/src/endpoints.ts b/clients/client-shield/src/endpoints.ts index 8caf20d23efef..fd7b76bb57c46 100644 --- a/clients/client-shield/src/endpoints.ts +++ b/clients/client-shield/src/endpoints.ts @@ -95,6 +95,10 @@ const partitionHash: PartitionHash = { hostname: "shield.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "shield-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -105,6 +109,10 @@ const partitionHash: PartitionHash = { hostname: "shield.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "shield-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-signer/src/endpoints.ts b/clients/client-signer/src/endpoints.ts index bb6b42f68d5b2..c214df2e97b82 100644 --- a/clients/client-signer/src/endpoints.ts +++ b/clients/client-signer/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "signer.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "signer-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "signer.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "signer-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sms/src/endpoints.ts b/clients/client-sms/src/endpoints.ts index 02ebd3206314c..a70cc3e017876 100644 --- a/clients/client-sms/src/endpoints.ts +++ b/clients/client-sms/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "sms.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "sms-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "sms.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "sms-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-snow-device-management/src/endpoints.ts b/clients/client-snow-device-management/src/endpoints.ts index d2cd9d73b0852..53d3dbc3ed77a 100644 --- a/clients/client-snow-device-management/src/endpoints.ts +++ b/clients/client-snow-device-management/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "snow-device-management.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "snow-device-management-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "snow-device-management.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "snow-device-management-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-snowball/src/endpoints.ts b/clients/client-snowball/src/endpoints.ts index 3330ed1bdd15c..90d70c2a32077 100644 --- a/clients/client-snowball/src/endpoints.ts +++ b/clients/client-snowball/src/endpoints.ts @@ -335,6 +335,10 @@ const partitionHash: PartitionHash = { hostname: "snowball.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "snowball-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -345,6 +349,10 @@ const partitionHash: PartitionHash = { hostname: "snowball.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "snowball-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sns/src/endpoints.ts b/clients/client-sns/src/endpoints.ts index 7e7fdb216f516..aea919a044882 100644 --- a/clients/client-sns/src/endpoints.ts +++ b/clients/client-sns/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "sns.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "sns-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "sns.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "sns-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sqs/src/endpoints.ts b/clients/client-sqs/src/endpoints.ts index 611293f58de25..3dc2a178a5d7b 100644 --- a/clients/client-sqs/src/endpoints.ts +++ b/clients/client-sqs/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "sqs.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "sqs-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "sqs.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "sqs-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ssm-contacts/src/endpoints.ts b/clients/client-ssm-contacts/src/endpoints.ts index c14aecccddf3c..86e66b3164145 100644 --- a/clients/client-ssm-contacts/src/endpoints.ts +++ b/clients/client-ssm-contacts/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "ssm-contacts.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ssm-contacts-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "ssm-contacts.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ssm-contacts-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ssm-incidents/src/endpoints.ts b/clients/client-ssm-incidents/src/endpoints.ts index 81da8800fbbab..c1b352709e025 100644 --- a/clients/client-ssm-incidents/src/endpoints.ts +++ b/clients/client-ssm-incidents/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "ssm-incidents.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ssm-incidents-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "ssm-incidents.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ssm-incidents-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-ssm/src/endpoints.ts b/clients/client-ssm/src/endpoints.ts index ab385c7a7e004..23e9283b27dfb 100644 --- a/clients/client-ssm/src/endpoints.ts +++ b/clients/client-ssm/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "ssm.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ssm-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "ssm.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ssm-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sso-admin/src/endpoints.ts b/clients/client-sso-admin/src/endpoints.ts index e1d76ee604245..548f1cfb4025a 100644 --- a/clients/client-sso-admin/src/endpoints.ts +++ b/clients/client-sso-admin/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "sso.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "sso-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "sso.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "sso-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sso-oidc/src/endpoints.ts b/clients/client-sso-oidc/src/endpoints.ts index 4f312384fb7e1..af5273ee74002 100644 --- a/clients/client-sso-oidc/src/endpoints.ts +++ b/clients/client-sso-oidc/src/endpoints.ts @@ -223,6 +223,10 @@ const partitionHash: PartitionHash = { hostname: "oidc.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "oidc-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -233,6 +237,10 @@ const partitionHash: PartitionHash = { hostname: "oidc.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "oidc-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sso/src/endpoints.ts b/clients/client-sso/src/endpoints.ts index 1b20e588a030d..06fa1f80baee2 100644 --- a/clients/client-sso/src/endpoints.ts +++ b/clients/client-sso/src/endpoints.ts @@ -223,6 +223,10 @@ const partitionHash: PartitionHash = { hostname: "portal.sso.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "portal.sso-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -233,6 +237,10 @@ const partitionHash: PartitionHash = { hostname: "portal.sso.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "portal.sso-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-storage-gateway/src/endpoints.ts b/clients/client-storage-gateway/src/endpoints.ts index 3964301664119..de9384d2e0e8f 100644 --- a/clients/client-storage-gateway/src/endpoints.ts +++ b/clients/client-storage-gateway/src/endpoints.ts @@ -169,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "storagegateway.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "storagegateway-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -179,6 +183,10 @@ const partitionHash: PartitionHash = { hostname: "storagegateway.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "storagegateway-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-sts/src/endpoints.ts b/clients/client-sts/src/endpoints.ts index 5dcb7df24256d..591ee59537809 100644 --- a/clients/client-sts/src/endpoints.ts +++ b/clients/client-sts/src/endpoints.ts @@ -165,6 +165,10 @@ const partitionHash: PartitionHash = { hostname: "sts.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "sts-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -175,6 +179,10 @@ const partitionHash: PartitionHash = { hostname: "sts.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "sts-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-support/src/endpoints.ts b/clients/client-support/src/endpoints.ts index 2d0ab01bc20af..196d70637cef1 100644 --- a/clients/client-support/src/endpoints.ts +++ b/clients/client-support/src/endpoints.ts @@ -125,6 +125,10 @@ const partitionHash: PartitionHash = { hostname: "support.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "support-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -135,6 +139,10 @@ const partitionHash: PartitionHash = { hostname: "support.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "support-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-swf/src/endpoints.ts b/clients/client-swf/src/endpoints.ts index 9fbf0c479a4b1..258169c5cd276 100644 --- a/clients/client-swf/src/endpoints.ts +++ b/clients/client-swf/src/endpoints.ts @@ -149,6 +149,10 @@ const partitionHash: PartitionHash = { hostname: "swf.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "swf-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -159,6 +163,10 @@ const partitionHash: PartitionHash = { hostname: "swf.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "swf-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-synthetics/src/endpoints.ts b/clients/client-synthetics/src/endpoints.ts index 5561d1c9ea5b1..02aeba118250b 100644 --- a/clients/client-synthetics/src/endpoints.ts +++ b/clients/client-synthetics/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "synthetics.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "synthetics-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "synthetics.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "synthetics-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-textract/src/endpoints.ts b/clients/client-textract/src/endpoints.ts index bc10dc6674990..524cec2a4a67f 100644 --- a/clients/client-textract/src/endpoints.ts +++ b/clients/client-textract/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "textract.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "textract-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "textract.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "textract-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-timestream-query/src/endpoints.ts b/clients/client-timestream-query/src/endpoints.ts index 4c23000ed8969..05cba23522e58 100644 --- a/clients/client-timestream-query/src/endpoints.ts +++ b/clients/client-timestream-query/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "query.timestream.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "query.timestream-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "query.timestream.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "query.timestream-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-timestream-write/src/endpoints.ts b/clients/client-timestream-write/src/endpoints.ts index 0c3b91311a03c..c14a541f0c13f 100644 --- a/clients/client-timestream-write/src/endpoints.ts +++ b/clients/client-timestream-write/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "ingest.timestream.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "ingest.timestream-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "ingest.timestream.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "ingest.timestream-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-transcribe-streaming/src/endpoints.ts b/clients/client-transcribe-streaming/src/endpoints.ts index 7ba7225cc4e12..637533e2fee7c 100644 --- a/clients/client-transcribe-streaming/src/endpoints.ts +++ b/clients/client-transcribe-streaming/src/endpoints.ts @@ -86,6 +86,10 @@ const partitionHash: PartitionHash = { hostname: "transcribestreaming.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "transcribestreaming-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -96,6 +100,10 @@ const partitionHash: PartitionHash = { hostname: "transcribestreaming.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "transcribestreaming-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-transcribe/src/endpoints.ts b/clients/client-transcribe/src/endpoints.ts index ce78f1e8ac1cd..c343224def1e0 100644 --- a/clients/client-transcribe/src/endpoints.ts +++ b/clients/client-transcribe/src/endpoints.ts @@ -2,6 +2,18 @@ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolv import { RegionInfoProvider, RegionInfoProviderOptions } from "@aws-sdk/types"; const regionHash: RegionHash = { + "ca-central-1": { + variants: [ + { + hostname: "transcribe.ca-central-1.amazonaws.com", + tags: [], + }, + { + hostname: "fips.transcribe.ca-central-1.amazonaws.com", + tags: ["fips"], + }, + ], + }, "cn-north-1": { variants: [ { @@ -112,6 +124,7 @@ const partitionHash: PartitionHash = { "eu-west-1", "eu-west-2", "eu-west-3", + "fips-ca-central-1", "fips-us-east-1", "fips-us-east-2", "fips-us-west-1", @@ -165,6 +178,10 @@ const partitionHash: PartitionHash = { hostname: "transcribe.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "transcribe-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -175,6 +192,10 @@ const partitionHash: PartitionHash = { hostname: "transcribe.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "transcribe-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-transfer/src/endpoints.ts b/clients/client-transfer/src/endpoints.ts index cd27d548fdc96..8261bf15809a2 100644 --- a/clients/client-transfer/src/endpoints.ts +++ b/clients/client-transfer/src/endpoints.ts @@ -168,6 +168,10 @@ const partitionHash: PartitionHash = { hostname: "transfer.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "transfer-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -178,6 +182,10 @@ const partitionHash: PartitionHash = { hostname: "transfer.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "transfer-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-translate/src/endpoints.ts b/clients/client-translate/src/endpoints.ts index 2f03e309c954a..fe9ccd324cd18 100644 --- a/clients/client-translate/src/endpoints.ts +++ b/clients/client-translate/src/endpoints.ts @@ -130,6 +130,10 @@ const partitionHash: PartitionHash = { hostname: "translate.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "translate-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -140,6 +144,10 @@ const partitionHash: PartitionHash = { hostname: "translate.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "translate-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-translate/src/models/models_0.ts b/clients/client-translate/src/models/models_0.ts index e8d9b996c5a3d..6c37957ecb8d6 100644 --- a/clients/client-translate/src/models/models_0.ts +++ b/clients/client-translate/src/models/models_0.ts @@ -447,7 +447,8 @@ export interface InputDataConfig { *
                                        • *

                                          * application/x-xliff+xml: The input data consists of one or more XML - * Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2.

                                          + * Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only + * XLIFF version 1.2.

                                          *
                                        • *
                                        * @@ -852,6 +853,7 @@ export namespace GetParallelDataResponse { export enum TerminologyDataFormat { CSV = "CSV", TMX = "TMX", + TSV = "TSV", } export interface GetTerminologyRequest { @@ -861,9 +863,14 @@ export interface GetTerminologyRequest { Name: string | undefined; /** - *

                                        The data format of the custom terminology being retrieved, either CSV or TMX.

                                        + *

                                        The data format of the custom terminology being retrieved.

                                        + *

                                        If you don't specify this parameter, Amazon Translate returns a file that has the same + * format as the file that was imported to create the terminology.

                                        + *

                                        If you specify this parameter when you retrieve a multi-directional terminology resource, + * you must specify the same format as that of the input file that was imported to create it. + * Otherwise, Amazon Translate throws an error.

                                        */ - TerminologyDataFormat: TerminologyDataFormat | string | undefined; + TerminologyDataFormat?: TerminologyDataFormat | string; } export namespace GetTerminologyRequest { @@ -899,6 +906,11 @@ export namespace TerminologyDataLocation { }); } +export enum Directionality { + MULTI = "MULTI", + UNI = "UNI", +} + /** *

                                        The properties of the custom terminology.

                                        */ @@ -925,8 +937,8 @@ export interface TerminologyProperties { SourceLanguageCode?: string; /** - *

                                        The language codes for the target languages available with the custom terminology file. - * All possible target languages are returned in array.

                                        + *

                                        The language codes for the target languages available with the custom terminology + * resource. All possible target languages are returned in array.

                                        */ TargetLanguageCodes?: string[]; @@ -954,6 +966,39 @@ export interface TerminologyProperties { *

                                        The time at which the custom terminology was last update, based on the timestamp.

                                        */ LastUpdatedAt?: Date; + + /** + *

                                        The directionality of your terminology resource indicates whether it has one source + * language (uni-directional) or multiple (multi-directional).

                                        + *
                                        + *
                                        UNI
                                        + *
                                        + *

                                        The terminology resource has one source language (the first column in a CSV file), + * and all of its other languages are target languages.

                                        + *
                                        + *
                                        MULTI
                                        + *
                                        + *

                                        Any language in the terminology resource can be the source language.

                                        + *
                                        + *
                                        + */ + Directionality?: Directionality | string; + + /** + *

                                        Additional information from Amazon Translate about the terminology resource.

                                        + */ + Message?: string; + + /** + *

                                        The number of terms in the input file that Amazon Translate skipped when you created or + * updated the terminology resource.

                                        + */ + SkippedTermCount?: number; + + /** + *

                                        The format of the custom terminology input file.

                                        + */ + Format?: TerminologyDataFormat | string; } export namespace TerminologyProperties { @@ -976,6 +1021,14 @@ export interface GetTerminologyResponse { * is returned in a presigned url that has a 30 minute expiration.

                                        */ TerminologyDataLocation?: TerminologyDataLocation; + + /** + *

                                        The Amazon S3 location of a file that provides any errors or warnings that were produced + * by your input file. This file was created when Amazon Translate attempted to create a + * terminology resource. The location is returned as a presigned URL to that has a 30 minute + * expiration.

                                        + */ + AuxiliaryDataLocation?: TerminologyDataLocation; } export namespace GetTerminologyResponse { @@ -1003,9 +1056,32 @@ export interface TerminologyData { File: Uint8Array | undefined; /** - *

                                        The data format of the custom terminology. Either CSV or TMX.

                                        + *

                                        The data format of the custom terminology.

                                        */ Format: TerminologyDataFormat | string | undefined; + + /** + *

                                        The directionality of your terminology resource indicates whether it has one source + * language (uni-directional) or multiple (multi-directional).

                                        + *
                                        + *
                                        UNI
                                        + *
                                        + *

                                        The terminology resource has one source language (for example, the first column in a + * CSV file), and all of its other languages are target languages.

                                        + *
                                        + *
                                        MULTI
                                        + *
                                        + *

                                        Any language in the terminology resource can be the source language or a target + * language. A single multi-directional terminology resource can be used for jobs that + * translate different language pairs. For example, if the terminology contains terms in + * English and Spanish, then it can be used for jobs that translate English to Spanish and + * jobs that translate Spanish to English.

                                        + *
                                        + *
                                        + *

                                        When you create a custom terminology resource without specifying the directionality, it + * behaves as uni-directional terminology, although this parameter will have a null value.

                                        + */ + Directionality?: Directionality | string; } export namespace TerminologyData { @@ -1062,6 +1138,14 @@ export interface ImportTerminologyResponse { *

                                        The properties of the custom terminology being imported.

                                        */ TerminologyProperties?: TerminologyProperties; + + /** + *

                                        The Amazon S3 location of a file that provides any errors or warnings that were produced + * by your input file. This file was created when Amazon Translate attempted to create a + * terminology resource. The location is returned as a presigned URL to that has a 30 minute + * expiration.

                                        + */ + AuxiliaryDataLocation?: TerminologyDataLocation; } export namespace ImportTerminologyResponse { diff --git a/clients/client-translate/src/protocols/Aws_json1_1.ts b/clients/client-translate/src/protocols/Aws_json1_1.ts index 8fc33015f0909..1847f9943f9e3 100644 --- a/clients/client-translate/src/protocols/Aws_json1_1.ts +++ b/clients/client-translate/src/protocols/Aws_json1_1.ts @@ -1836,6 +1836,8 @@ const serializeAws_json1_1TargetLanguageCodeStringList = (input: string[], conte const serializeAws_json1_1TerminologyData = (input: TerminologyData, context: __SerdeContext): any => { return { + ...(input.Directionality !== undefined && + input.Directionality !== null && { Directionality: input.Directionality }), ...(input.File !== undefined && input.File !== null && { File: context.base64Encoder(input.File) }), ...(input.Format !== undefined && input.Format !== null && { Format: input.Format }), }; @@ -2000,6 +2002,10 @@ const deserializeAws_json1_1GetParallelDataResponse = ( const deserializeAws_json1_1GetTerminologyResponse = (output: any, context: __SerdeContext): GetTerminologyResponse => { return { + AuxiliaryDataLocation: + output.AuxiliaryDataLocation !== undefined && output.AuxiliaryDataLocation !== null + ? deserializeAws_json1_1TerminologyDataLocation(output.AuxiliaryDataLocation, context) + : undefined, TerminologyDataLocation: output.TerminologyDataLocation !== undefined && output.TerminologyDataLocation !== null ? deserializeAws_json1_1TerminologyDataLocation(output.TerminologyDataLocation, context) @@ -2016,6 +2022,10 @@ const deserializeAws_json1_1ImportTerminologyResponse = ( context: __SerdeContext ): ImportTerminologyResponse => { return { + AuxiliaryDataLocation: + output.AuxiliaryDataLocation !== undefined && output.AuxiliaryDataLocation !== null + ? deserializeAws_json1_1TerminologyDataLocation(output.AuxiliaryDataLocation, context) + : undefined, TerminologyProperties: output.TerminologyProperties !== undefined && output.TerminologyProperties !== null ? deserializeAws_json1_1TerminologyProperties(output.TerminologyProperties, context) @@ -2293,16 +2303,20 @@ const deserializeAws_json1_1TerminologyProperties = (output: any, context: __Ser ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined, Description: __expectString(output.Description), + Directionality: __expectString(output.Directionality), EncryptionKey: output.EncryptionKey !== undefined && output.EncryptionKey !== null ? deserializeAws_json1_1EncryptionKey(output.EncryptionKey, context) : undefined, + Format: __expectString(output.Format), LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt))) : undefined, + Message: __expectString(output.Message), Name: __expectString(output.Name), SizeBytes: __expectInt32(output.SizeBytes), + SkippedTermCount: __expectInt32(output.SkippedTermCount), SourceLanguageCode: __expectString(output.SourceLanguageCode), TargetLanguageCodes: output.TargetLanguageCodes !== undefined && output.TargetLanguageCodes !== null diff --git a/clients/client-voice-id/src/endpoints.ts b/clients/client-voice-id/src/endpoints.ts index 257a03e785fa3..9630c3e85d1a3 100644 --- a/clients/client-voice-id/src/endpoints.ts +++ b/clients/client-voice-id/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "voiceid.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "voiceid-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "voiceid.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "voiceid-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-waf-regional/src/endpoints.ts b/clients/client-waf-regional/src/endpoints.ts index 665d4d56dc16f..eafa44f4c35d4 100644 --- a/clients/client-waf-regional/src/endpoints.ts +++ b/clients/client-waf-regional/src/endpoints.ts @@ -425,6 +425,10 @@ const partitionHash: PartitionHash = { hostname: "waf-regional.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "waf-regional-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -435,6 +439,10 @@ const partitionHash: PartitionHash = { hostname: "waf-regional.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "waf-regional-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-waf/src/endpoints.ts b/clients/client-waf/src/endpoints.ts index 1c1d0ef87ee88..e77928f7ed572 100644 --- a/clients/client-waf/src/endpoints.ts +++ b/clients/client-waf/src/endpoints.ts @@ -97,6 +97,10 @@ const partitionHash: PartitionHash = { hostname: "waf.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "waf-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -107,6 +111,10 @@ const partitionHash: PartitionHash = { hostname: "waf.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "waf-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-wafv2/src/endpoints.ts b/clients/client-wafv2/src/endpoints.ts index 36eb2c9acd089..212d93a082aa5 100644 --- a/clients/client-wafv2/src/endpoints.ts +++ b/clients/client-wafv2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "wafv2.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "wafv2-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "wafv2.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "wafv2-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-wafv2/src/models/models_0.ts b/clients/client-wafv2/src/models/models_0.ts index 1506b22cf544a..559dcf5f74e9a 100644 --- a/clients/client-wafv2/src/models/models_0.ts +++ b/clients/client-wafv2/src/models/models_0.ts @@ -3,7 +3,9 @@ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException export enum ActionValue { ALLOW = "ALLOW", BLOCK = "BLOCK", + CAPTCHA = "CAPTCHA", COUNT = "COUNT", + EXCLUDED_AS_COUNT = "EXCLUDED_AS_COUNT", } /** @@ -1295,13 +1297,13 @@ export namespace LabelMatchStatement { } /** - *

                                        Specifies a single rule to exclude from the rule group. Excluding a rule overrides its - * action setting for the rule group in the web ACL, setting it to COUNT. This - * effectively excludes the rule from acting on web requests.

                                        + *

                                        Specifies a single rule in a rule group whose action you want to override to Count. When you exclude a rule, + * WAF evaluates it exactly as it would if the rule action setting were Count. This is a useful option for + * testing the rules in a rule group without modifying how they handle your web traffic.

                                        */ export interface ExcludedRule { /** - *

                                        The name of the rule to exclude.

                                        + *

                                        The name of the rule whose action you want to override to Count.

                                        */ Name: string | undefined; } @@ -1396,8 +1398,9 @@ export interface RuleGroupReferenceStatement { ARN: string | undefined; /** - *

                                        The names of rules that are in the referenced rule group, but that you want WAF to - * exclude from processing for this rule statement.

                                        + *

                                        The rules in the referenced rule group whose actions are set to Count. + * When you exclude a rule, WAF evaluates it exactly as it would if the rule action setting were Count. + * This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.

                                        */ ExcludedRules?: ExcludedRule[]; } @@ -1811,6 +1814,55 @@ export namespace BlockAction { }); } +/** + *

                                        Specifies that WAF should run a CAPTCHA check against the request:

                                        + *
                                          + *
                                        • + *

                                          If the request includes a valid, unexpired CAPTCHA token, + * WAF allows the web request inspection to + * proceed to the next rule, similar to a CountAction.

                                          + *
                                        • + *
                                        • + *

                                          If the request doesn't include a valid, unexpired CAPTCHA token, WAF + * discontinues the web ACL evaluation of the request and blocks it from going to its intended destination.

                                          + *

                                          WAF generates a response that it sends back to the client, which includes the following:

                                          + *
                                            + *
                                          • + *

                                            The header x-amzn-waf-action with a value of captcha.

                                            + *
                                          • + *
                                          • + *

                                            The HTTP status code 405 Method Not Allowed.

                                            + *
                                          • + *
                                          • + *

                                            If the request contains an Accept header with a value of text/html, the response includes a CAPTCHA challenge.

                                            + *
                                          • + *
                                          + *
                                        • + *
                                        + *

                                        You can configure the expiration time + * in the CaptchaConfig + * ImmunityTimeProperty setting at the rule and web ACL level. The rule setting overrides the web ACL setting.

                                        + *

                                        This action option is available for rules. It isn't available for web ACL default actions.

                                        + *

                                        This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

                                        + */ +export interface CaptchaAction { + /** + *

                                        Defines custom handling for the web request.

                                        + *

                                        For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the + * WAF Developer Guide.

                                        + */ + CustomRequestHandling?: CustomRequestHandling; +} + +export namespace CaptchaAction { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CaptchaAction): any => ({ + ...obj, + }); +} + /** *

                                        Specifies that WAF should count the request. Optionally defines additional custom * handling for the request.

                                        @@ -1853,6 +1905,11 @@ export interface RuleAction { *

                                        Instructs WAF to count the web request and allow it.

                                        */ Count?: CountAction; + + /** + *

                                        Instructs WAF to run a CAPTCHA check against the web request.

                                        + */ + Captcha?: CaptchaAction; } export namespace RuleAction { @@ -1865,8 +1922,46 @@ export namespace RuleAction { } /** - *

                                        Specifies that WAF should do nothing. This is generally used to try out a rule - * without performing any actions. You set the OverrideAction on the Rule.

                                        + *

                                        Determines how long a CAPTCHA token remains valid after the client successfully solves a CAPTCHA puzzle.

                                        + */ +export interface ImmunityTimeProperty { + /** + *

                                        The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.

                                        + */ + ImmunityTime: number | undefined; +} + +export namespace ImmunityTimeProperty { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ImmunityTimeProperty): any => ({ + ...obj, + }); +} + +/** + *

                                        Specifies how WAF should handle CAPTCHA evaluations. This is available at the web ACL level and in each rule.

                                        + */ +export interface CaptchaConfig { + /** + *

                                        Determines how long a CAPTCHA token remains valid after the client successfully solves a CAPTCHA puzzle.

                                        + */ + ImmunityTimeProperty?: ImmunityTimeProperty; +} + +export namespace CaptchaConfig { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CaptchaConfig): any => ({ + ...obj, + }); +} + +/** + *

                                        Specifies that WAF should do nothing. This is used for the OverrideAction setting + * on a Rule when the rule uses a rule group reference statement.

                                        *

                                        This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

                                        *

                                        JSON specification: "None": {} *

                                        @@ -1883,27 +1978,25 @@ export namespace NoneAction { } /** - *

                                        The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, - * like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                        - *

                                        Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

                                        - *

                                        In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

                                        - *
                                          - *
                                        • - *

                                          If the rule statement references a rule group, use this override action setting and not the action setting.

                                          - *
                                        • - *
                                        • - *

                                          If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

                                          - *
                                        • - *
                                        + *

                                        The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

                                        + *

                                        You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                        + * + *

                                        This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count + * matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                        + *
                                        */ export interface OverrideAction { /** - *

                                        Override the rule action setting to count.

                                        + *

                                        Override the rule group evaluation result to count only.

                                        + * + *

                                        This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count + * matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                        + *
                                        */ Count?: CountAction; /** - *

                                        Don't override the rule action setting.

                                        + *

                                        Don't override the rule group evaluation result. This is the most common setting.

                                        */ None?: NoneAction; } @@ -4002,6 +4095,40 @@ export namespace GetSampledRequestsRequest { }); } +export enum FailureReason { + TOKEN_EXPIRED = "TOKEN_EXPIRED", + TOKEN_MISSING = "TOKEN_MISSING", +} + +/** + *

                                        The result from the inspection of the web request for a valid CAPTCHA token.

                                        + */ +export interface CaptchaResponse { + /** + *

                                        The HTTP response code indicating the status of the CAPTCHA token in the web request. If the token is missing, invalid, or expired, this code is 405 Method Not Allowed.

                                        + */ + ResponseCode?: number; + + /** + *

                                        The time that the CAPTCHA puzzle was solved for the supplied token.

                                        + */ + SolveTimestamp?: number; + + /** + *

                                        The reason for failure, populated when the evaluation of the token fails.

                                        + */ + FailureReason?: FailureReason | string; +} + +export namespace CaptchaResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CaptchaResponse): any => ({ + ...obj, + }); +} + /** *

                                        Part of the response from GetSampledRequests. This is a complex type * that appears as Headers in the response syntax. HTTPHeader @@ -4121,8 +4248,8 @@ export interface SampledHTTPRequest { Timestamp?: Date; /** - *

                                        The action for the Rule that the request matched: ALLOW, - * BLOCK, or COUNT.

                                        + *

                                        The action for the Rule that the request matched: Allow, + * Block, or Count.

                                        */ Action?: string; @@ -4155,6 +4282,11 @@ export interface SampledHTTPRequest { * awswaf:managed:aws:managed-rule-set:header:encoding:utf8.

                                        */ Labels?: Label[]; + + /** + *

                                        The CAPTCHA response for the request.

                                        + */ + CaptchaResponse?: CaptchaResponse; } export namespace SampledHTTPRequest { @@ -4515,7 +4647,7 @@ export interface ListLoggingConfigurationsRequest { *
                                      • *
                                      */ - Scope?: Scope | string; + Scope: Scope | string | undefined; /** *

                                      When you request a list of objects with a Limit setting, if the number of objects that are still available @@ -5720,9 +5852,9 @@ export interface ManagedRuleGroupStatement { Version?: string; /** - *

                                      The rules whose actions are set to COUNT by the web ACL, regardless of the - * action that is set on the rule. This effectively excludes the rule from acting on web - * requests.

                                      + *

                                      The rules in the referenced rule group whose actions are set to Count. + * When you exclude a rule, WAF evaluates it exactly as it would if the rule action setting were Count. + * This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.

                                      */ ExcludedRules?: ExcludedRule[]; @@ -5877,18 +6009,12 @@ export interface Rule { Action?: RuleAction; /** - *

                                      The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, - * like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      - *

                                      Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

                                      - *

                                      In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

                                      - *
                                        - *
                                      • - *

                                        If the rule statement references a rule group, use this override action setting and not the action setting.

                                        - *
                                      • - *
                                      • - *

                                        If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

                                        - *
                                      • - *
                                      + *

                                      The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

                                      + *

                                      You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      + * + *

                                      This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count + * matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                      + *
                                      */ OverrideAction?: OverrideAction; @@ -5926,6 +6052,11 @@ export interface Rule { *

                                      Defines and enables Amazon CloudWatch metrics and web request sample collection.

                                      */ VisibilityConfig: VisibilityConfig | undefined; + + /** + *

                                      Specifies how WAF should handle CAPTCHA evaluations. If you don't specify this, WAF uses the CAPTCHA configuration that's defined for the web ACL.

                                      + */ + CaptchaConfig?: CaptchaConfig; } export namespace Rule { @@ -6027,18 +6158,12 @@ export interface FirewallManagerRuleGroup { FirewallManagerStatement: FirewallManagerStatement | undefined; /** - *

                                      The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, - * like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      - *

                                      Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

                                      - *

                                      In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

                                      - *
                                        - *
                                      • - *

                                        If the rule statement references a rule group, use this override action setting and not the action setting.

                                        - *
                                      • - *
                                      • - *

                                        If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

                                        - *
                                      • - *
                                      + *

                                      The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

                                      + *

                                      You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      + * + *

                                      This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count + * matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                      + *
                                      */ OverrideAction: OverrideAction | undefined; @@ -6222,6 +6347,11 @@ export interface CreateWebACLRequest { * WAF Developer Guide.

                                      */ CustomResponseBodies?: { [key: string]: CustomResponseBody }; + + /** + *

                                      Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.

                                      + */ + CaptchaConfig?: CaptchaConfig; } export namespace CreateWebACLRequest { @@ -6463,6 +6593,11 @@ export interface UpdateWebACLRequest { * WAF Developer Guide.

                                      */ CustomResponseBodies?: { [key: string]: CustomResponseBody }; + + /** + *

                                      Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.

                                      + */ + CaptchaConfig?: CaptchaConfig; } export namespace UpdateWebACLRequest { @@ -6609,6 +6744,11 @@ export interface WebACL { * WAF Developer Guide.

                                      */ CustomResponseBodies?: { [key: string]: CustomResponseBody }; + + /** + *

                                      Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.

                                      + */ + CaptchaConfig?: CaptchaConfig; } export namespace WebACL { diff --git a/clients/client-wafv2/src/protocols/Aws_json1_1.ts b/clients/client-wafv2/src/protocols/Aws_json1_1.ts index f5a425c0be424..08ddc45224d61 100644 --- a/clients/client-wafv2/src/protocols/Aws_json1_1.ts +++ b/clients/client-wafv2/src/protocols/Aws_json1_1.ts @@ -139,6 +139,9 @@ import { BlockAction, Body, ByteMatchStatement, + CaptchaAction, + CaptchaConfig, + CaptchaResponse, CheckCapacityRequest, CheckCapacityResponse, Condition, @@ -204,6 +207,7 @@ import { GetWebACLResponse, HTTPHeader, HTTPRequest, + ImmunityTimeProperty, IPSet, IPSetForwardedIPConfig, IPSetReferenceStatement, @@ -5259,6 +5263,24 @@ const serializeAws_json1_1ByteMatchStatement = (input: ByteMatchStatement, conte }; }; +const serializeAws_json1_1CaptchaAction = (input: CaptchaAction, context: __SerdeContext): any => { + return { + ...(input.CustomRequestHandling !== undefined && + input.CustomRequestHandling !== null && { + CustomRequestHandling: serializeAws_json1_1CustomRequestHandling(input.CustomRequestHandling, context), + }), + }; +}; + +const serializeAws_json1_1CaptchaConfig = (input: CaptchaConfig, context: __SerdeContext): any => { + return { + ...(input.ImmunityTimeProperty !== undefined && + input.ImmunityTimeProperty !== null && { + ImmunityTimeProperty: serializeAws_json1_1ImmunityTimeProperty(input.ImmunityTimeProperty, context), + }), + }; +}; + const serializeAws_json1_1CheckCapacityRequest = (input: CheckCapacityRequest, context: __SerdeContext): any => { return { ...(input.Rules !== undefined && @@ -5362,6 +5384,10 @@ const serializeAws_json1_1CreateRuleGroupRequest = (input: CreateRuleGroupReques const serializeAws_json1_1CreateWebACLRequest = (input: CreateWebACLRequest, context: __SerdeContext): any => { return { + ...(input.CaptchaConfig !== undefined && + input.CaptchaConfig !== null && { + CaptchaConfig: serializeAws_json1_1CaptchaConfig(input.CaptchaConfig, context), + }), ...(input.CustomResponseBodies !== undefined && input.CustomResponseBodies !== null && { CustomResponseBodies: serializeAws_json1_1CustomResponseBodies(input.CustomResponseBodies, context), @@ -5725,6 +5751,12 @@ const serializeAws_json1_1GetWebACLRequest = (input: GetWebACLRequest, context: }; }; +const serializeAws_json1_1ImmunityTimeProperty = (input: ImmunityTimeProperty, context: __SerdeContext): any => { + return { + ...(input.ImmunityTime !== undefined && input.ImmunityTime !== null && { ImmunityTime: input.ImmunityTime }), + }; +}; + const serializeAws_json1_1IPAddresses = (input: string[], context: __SerdeContext): any => { return input .filter((e: any) => e != null) @@ -6129,6 +6161,10 @@ const serializeAws_json1_1Rule = (input: Rule, context: __SerdeContext): any => return { ...(input.Action !== undefined && input.Action !== null && { Action: serializeAws_json1_1RuleAction(input.Action, context) }), + ...(input.CaptchaConfig !== undefined && + input.CaptchaConfig !== null && { + CaptchaConfig: serializeAws_json1_1CaptchaConfig(input.CaptchaConfig, context), + }), ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), ...(input.OverrideAction !== undefined && input.OverrideAction !== null && { @@ -6152,6 +6188,8 @@ const serializeAws_json1_1RuleAction = (input: RuleAction, context: __SerdeConte input.Allow !== null && { Allow: serializeAws_json1_1AllowAction(input.Allow, context) }), ...(input.Block !== undefined && input.Block !== null && { Block: serializeAws_json1_1BlockAction(input.Block, context) }), + ...(input.Captcha !== undefined && + input.Captcha !== null && { Captcha: serializeAws_json1_1CaptchaAction(input.Captcha, context) }), ...(input.Count !== undefined && input.Count !== null && { Count: serializeAws_json1_1CountAction(input.Count, context) }), }; @@ -6435,6 +6473,10 @@ const serializeAws_json1_1UpdateRuleGroupRequest = (input: UpdateRuleGroupReques const serializeAws_json1_1UpdateWebACLRequest = (input: UpdateWebACLRequest, context: __SerdeContext): any => { return { + ...(input.CaptchaConfig !== undefined && + input.CaptchaConfig !== null && { + CaptchaConfig: serializeAws_json1_1CaptchaConfig(input.CaptchaConfig, context), + }), ...(input.CustomResponseBodies !== undefined && input.CustomResponseBodies !== null && { CustomResponseBodies: serializeAws_json1_1CustomResponseBodies(input.CustomResponseBodies, context), @@ -6576,6 +6618,32 @@ const deserializeAws_json1_1ByteMatchStatement = (output: any, context: __SerdeC } as any; }; +const deserializeAws_json1_1CaptchaAction = (output: any, context: __SerdeContext): CaptchaAction => { + return { + CustomRequestHandling: + output.CustomRequestHandling !== undefined && output.CustomRequestHandling !== null + ? deserializeAws_json1_1CustomRequestHandling(output.CustomRequestHandling, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CaptchaConfig = (output: any, context: __SerdeContext): CaptchaConfig => { + return { + ImmunityTimeProperty: + output.ImmunityTimeProperty !== undefined && output.ImmunityTimeProperty !== null + ? deserializeAws_json1_1ImmunityTimeProperty(output.ImmunityTimeProperty, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1CaptchaResponse = (output: any, context: __SerdeContext): CaptchaResponse => { + return { + FailureReason: __expectString(output.FailureReason), + ResponseCode: __expectInt32(output.ResponseCode), + SolveTimestamp: __expectLong(output.SolveTimestamp), + } as any; +}; + const deserializeAws_json1_1CheckCapacityResponse = (output: any, context: __SerdeContext): CheckCapacityResponse => { return { Capacity: __expectLong(output.Capacity), @@ -7117,6 +7185,12 @@ const deserializeAws_json1_1HTTPRequest = (output: any, context: __SerdeContext) } as any; }; +const deserializeAws_json1_1ImmunityTimeProperty = (output: any, context: __SerdeContext): ImmunityTimeProperty => { + return { + ImmunityTime: __expectLong(output.ImmunityTime), + } as any; +}; + const deserializeAws_json1_1IPAddresses = (output: any, context: __SerdeContext): string[] => { return (output || []) .filter((e: any) => e != null) @@ -7792,6 +7866,10 @@ const deserializeAws_json1_1Rule = (output: any, context: __SerdeContext): Rule output.Action !== undefined && output.Action !== null ? deserializeAws_json1_1RuleAction(output.Action, context) : undefined, + CaptchaConfig: + output.CaptchaConfig !== undefined && output.CaptchaConfig !== null + ? deserializeAws_json1_1CaptchaConfig(output.CaptchaConfig, context) + : undefined, Name: __expectString(output.Name), OverrideAction: output.OverrideAction !== undefined && output.OverrideAction !== null @@ -7823,6 +7901,10 @@ const deserializeAws_json1_1RuleAction = (output: any, context: __SerdeContext): output.Block !== undefined && output.Block !== null ? deserializeAws_json1_1BlockAction(output.Block, context) : undefined, + Captcha: + output.Captcha !== undefined && output.Captcha !== null + ? deserializeAws_json1_1CaptchaAction(output.Captcha, context) + : undefined, Count: output.Count !== undefined && output.Count !== null ? deserializeAws_json1_1CountAction(output.Count, context) @@ -7930,6 +8012,10 @@ const deserializeAws_json1_1RuleSummary = (output: any, context: __SerdeContext) const deserializeAws_json1_1SampledHTTPRequest = (output: any, context: __SerdeContext): SampledHTTPRequest => { return { Action: __expectString(output.Action), + CaptchaResponse: + output.CaptchaResponse !== undefined && output.CaptchaResponse !== null + ? deserializeAws_json1_1CaptchaResponse(output.CaptchaResponse, context) + : undefined, Labels: output.Labels !== undefined && output.Labels !== null ? deserializeAws_json1_1Labels(output.Labels, context) @@ -8356,6 +8442,10 @@ const deserializeAws_json1_1WebACL = (output: any, context: __SerdeContext): Web return { ARN: __expectString(output.ARN), Capacity: __expectLong(output.Capacity), + CaptchaConfig: + output.CaptchaConfig !== undefined && output.CaptchaConfig !== null + ? deserializeAws_json1_1CaptchaConfig(output.CaptchaConfig, context) + : undefined, CustomResponseBodies: output.CustomResponseBodies !== undefined && output.CustomResponseBodies !== null ? deserializeAws_json1_1CustomResponseBodies(output.CustomResponseBodies, context) diff --git a/clients/client-wellarchitected/src/endpoints.ts b/clients/client-wellarchitected/src/endpoints.ts index 498308ceb52cf..f2204172e637a 100644 --- a/clients/client-wellarchitected/src/endpoints.ts +++ b/clients/client-wellarchitected/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "wellarchitected.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "wellarchitected-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "wellarchitected.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "wellarchitected-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-wisdom/src/endpoints.ts b/clients/client-wisdom/src/endpoints.ts index 7c7640bedb2f4..85abc3492a12e 100644 --- a/clients/client-wisdom/src/endpoints.ts +++ b/clients/client-wisdom/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "wisdom.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "wisdom-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "wisdom.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "wisdom-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-workdocs/src/endpoints.ts b/clients/client-workdocs/src/endpoints.ts index 685cbd71a1eae..e0aec3e6a655a 100644 --- a/clients/client-workdocs/src/endpoints.ts +++ b/clients/client-workdocs/src/endpoints.ts @@ -105,6 +105,10 @@ const partitionHash: PartitionHash = { hostname: "workdocs.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "workdocs-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -115,6 +119,10 @@ const partitionHash: PartitionHash = { hostname: "workdocs.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "workdocs-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-worklink/src/endpoints.ts b/clients/client-worklink/src/endpoints.ts index bbe21ef345b07..ce46e48074022 100644 --- a/clients/client-worklink/src/endpoints.ts +++ b/clients/client-worklink/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "worklink.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "worklink-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "worklink.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "worklink-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-workmail/src/endpoints.ts b/clients/client-workmail/src/endpoints.ts index 13eb3065e363e..fabd9741700e8 100644 --- a/clients/client-workmail/src/endpoints.ts +++ b/clients/client-workmail/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "workmail.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "workmail-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "workmail.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "workmail-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-workmailmessageflow/src/endpoints.ts b/clients/client-workmailmessageflow/src/endpoints.ts index c12294435488a..873f83feb210d 100644 --- a/clients/client-workmailmessageflow/src/endpoints.ts +++ b/clients/client-workmailmessageflow/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "workmailmessageflow.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "workmailmessageflow-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "workmailmessageflow.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "workmailmessageflow-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-workspaces/src/endpoints.ts b/clients/client-workspaces/src/endpoints.ts index f7000d4c28bd5..be32ee83c5330 100644 --- a/clients/client-workspaces/src/endpoints.ts +++ b/clients/client-workspaces/src/endpoints.ts @@ -117,6 +117,10 @@ const partitionHash: PartitionHash = { hostname: "workspaces.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "workspaces-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -127,6 +131,10 @@ const partitionHash: PartitionHash = { hostname: "workspaces.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "workspaces-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/clients/client-xray/src/endpoints.ts b/clients/client-xray/src/endpoints.ts index 12d4ee61c6c49..5bd2cab35ed01 100644 --- a/clients/client-xray/src/endpoints.ts +++ b/clients/client-xray/src/endpoints.ts @@ -155,6 +155,10 @@ const partitionHash: PartitionHash = { hostname: "xray.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "xray-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -165,6 +169,10 @@ const partitionHash: PartitionHash = { hostname: "xray.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "xray-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/codegen/sdk-codegen/aws-models/backup.json b/codegen/sdk-codegen/aws-models/backup.json index bd5b2f6d56324..4b2c11fb91d7a 100644 --- a/codegen/sdk-codegen/aws-models/backup.json +++ b/codegen/sdk-codegen/aws-models/backup.json @@ -636,6 +636,12 @@ "traits": { "smithy.api#documentation": "

                                      An array of conditions used to specify a set of resources to assign to a backup plan;\n for example, \"StringEquals\": {\"ec2:ResourceTag/Department\": \"accounting\".\n Assigns the backup plan to every resource with at least one matching tag.

                                      " } + }, + "NotResources": { + "target": "com.amazonaws.backup#ResourceArns" + }, + "Conditions": { + "target": "com.amazonaws.backup#Conditions" } }, "traits": { @@ -924,6 +930,23 @@ "com.amazonaws.backup#ConditionKey": { "type": "string" }, + "com.amazonaws.backup#ConditionParameter": { + "type": "structure", + "members": { + "ConditionKey": { + "target": "com.amazonaws.backup#ConditionKey" + }, + "ConditionValue": { + "target": "com.amazonaws.backup#ConditionValue" + } + } + }, + "com.amazonaws.backup#ConditionParameters": { + "type": "list", + "member": { + "target": "com.amazonaws.backup#ConditionParameter" + } + }, "com.amazonaws.backup#ConditionType": { "type": "string", "traits": { @@ -938,6 +961,23 @@ "com.amazonaws.backup#ConditionValue": { "type": "string" }, + "com.amazonaws.backup#Conditions": { + "type": "structure", + "members": { + "StringEquals": { + "target": "com.amazonaws.backup#ConditionParameters" + }, + "StringNotEquals": { + "target": "com.amazonaws.backup#ConditionParameters" + }, + "StringLike": { + "target": "com.amazonaws.backup#ConditionParameters" + }, + "StringNotLike": { + "target": "com.amazonaws.backup#ConditionParameters" + } + } + }, "com.amazonaws.backup#ConflictException": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/batch.json b/codegen/sdk-codegen/aws-models/batch.json index 4e47d83a425a1..379bcbdee1b8a 100644 --- a/codegen/sdk-codegen/aws-models/batch.json +++ b/codegen/sdk-codegen/aws-models/batch.json @@ -31,6 +31,24 @@ "shapes": { "com.amazonaws.batch#AWSBatchV20160810": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "Batch", + "arnNamespace": "batch", + "cloudFormationName": "Batch", + "cloudTrailEventSource": "batch.amazonaws.com", + "endpointPrefix": "batch" + }, + "aws.auth#sigv4": { + "name": "batch" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Batch\n

                                      Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

                                      \n

                                      As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus\n your time and energy on analyzing results and solving your specific problems.

                                      ", + "smithy.api#title": "AWS Batch", + "smithy.api#xmlNamespace": { + "uri": "http://batch.amazonaws.com/doc/2016-08-10/" + } + }, "version": "2016-08-10", "operations": [ { @@ -42,12 +60,18 @@ { "target": "com.amazonaws.batch#CreateJobQueue" }, + { + "target": "com.amazonaws.batch#CreateSchedulingPolicy" + }, { "target": "com.amazonaws.batch#DeleteComputeEnvironment" }, { "target": "com.amazonaws.batch#DeleteJobQueue" }, + { + "target": "com.amazonaws.batch#DeleteSchedulingPolicy" + }, { "target": "com.amazonaws.batch#DeregisterJobDefinition" }, @@ -63,9 +87,15 @@ { "target": "com.amazonaws.batch#DescribeJobs" }, + { + "target": "com.amazonaws.batch#DescribeSchedulingPolicies" + }, { "target": "com.amazonaws.batch#ListJobs" }, + { + "target": "com.amazonaws.batch#ListSchedulingPolicies" + }, { "target": "com.amazonaws.batch#ListTagsForResource" }, @@ -89,26 +119,11 @@ }, { "target": "com.amazonaws.batch#UpdateJobQueue" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "Batch", - "arnNamespace": "batch", - "cloudFormationName": "Batch", - "cloudTrailEventSource": "batch.amazonaws.com", - "endpointPrefix": "batch" - }, - "aws.auth#sigv4": { - "name": "batch" }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Batch\n

                                      Using Batch, you can run batch computing workloads on the Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

                                      \n

                                      As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus\n your time and energy on analyzing results and solving your specific problems.

                                      ", - "smithy.api#title": "AWS Batch", - "smithy.api#xmlNamespace": { - "uri": "http://batch.amazonaws.com/doc/2016-08-10/" + { + "target": "com.amazonaws.batch#UpdateSchedulingPolicy" } - } + ] }, "com.amazonaws.batch#ArrayJobDependency": { "type": "string", @@ -478,6 +493,12 @@ "smithy.api#required": {} } }, + "unmanagedvCpus": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of VCPUs expected to be used for an unmanaged compute environment.

                                      " + } + }, "ecsClusterArn": { "target": "com.amazonaws.batch#String", "traits": { @@ -644,7 +665,7 @@ "tags": { "target": "com.amazonaws.batch#TagsMap", "traits": { - "smithy.api#documentation": "

                                      Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is helpful for recognizing your Batch instances in the\n Amazon EC2 console. These tags can't be updated or removed after the compute environment is created.Aany changes to these\n tags require that you create a new compute environment and remove the old compute environment. These tags aren't seen\n when using the Batch ListTagsForResource API operation.

                                      \n \n

                                      This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

                                      Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"Batch Instance - C4OnDemand\" }. This is helpful for recognizing your Batch\n instances in the Amazon EC2 console. These tags can't be updated or removed after the compute environment is created. Any\n changes to these tags require that you create a new compute environment and remove the old compute environment. These\n tags aren't seen when using the Batch ListTagsForResource API operation.

                                      \n \n

                                      This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

                                      \n
                                      " } }, "placementGroup": { @@ -674,7 +695,7 @@ "ec2Configuration": { "target": "com.amazonaws.batch#Ec2ConfigurationList", "traits": { - "smithy.api#documentation": "

                                      Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If Ec2Configuration isn't specified, the default is ECS_AL1.

                                      \n \n

                                      This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

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

                                      Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If Ec2Configuration isn't specified, the default is ECS_AL2.

                                      \n \n

                                      One or two values can be provided.

                                      \n \n \n

                                      This parameter isn't applicable to jobs that are running on Fargate resources, and shouldn't be\n specified.

                                      \n
                                      " } } }, @@ -732,13 +753,13 @@ "vcpus": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU\n requirement for the job using resourceRequirements, but you can't specify the vCPU requirements in both\n the vcpus and resourceRequirement object. This parameter maps to CpuShares in\n the Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. You must\n specify at least one vCPU. This is required but can be specified in several places. It must be specified for each\n node at least once.

                                      \n \n

                                      This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate\n resources, you must specify the vCPU requirement for the job using resourceRequirements.

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

                                      The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU\n requirement for the job using resourceRequirements, but you can't specify the vCPU requirements in both\n the vcpus and resourceRequirements object. This parameter maps to CpuShares in\n the Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. You must\n specify at least one vCPU. This is required but can be specified in several places. It must be specified for each\n node at least once.

                                      \n \n

                                      This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate\n resources, you must specify the vCPU requirement for the job using resourceRequirements.

                                      \n
                                      " } }, "memory": { "target": "com.amazonaws.batch#Integer", "traits": { - "smithy.api#documentation": "

                                      For jobs run on EC2 resources that didn't specify memory requirements using ResourceRequirement,\n the number of MiB of memory reserved for the job. For other jobs, including all run on Fargate resources, see\n resourceRequirements.

                                      " + "smithy.api#documentation": "

                                      For jobs run on EC2 resources that didn't specify memory requirements using resourceRequirements,\n the number of MiB of memory reserved for the job. For other jobs, including all run on Fargate resources, see\n resourceRequirements.

                                      " } }, "command": { @@ -756,7 +777,7 @@ "executionRoleArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the execution role that Batch can assume. For more information, see Batch execution IAM role in the\n Batch User Guide.

                                      " + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the\n execution\n role that Batch can assume. For more information, see Batch execution IAM role in the\n Batch User Guide.

                                      " } }, "volumes": { @@ -893,7 +914,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

                                      This parameter indicates the number of vCPUs reserved for the container.It overrides the vcpus\n parameter that's set in the job definition, but doesn't override any vCPU requirement specified in the\n resourceRequirement structure in the job definition. To override vCPU requirements that are specified\n in the ResourceRequirement structure in the job definition, ResourceRequirement must be\n specified in the SubmitJob request, with type set to VCPU and\n value set to the new value.

                                      \n

                                      This parameter maps to CpuShares in the Create a container section of the\n Docker Remote API and the --cpu-shares option to docker run.\n Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.

                                      \n \n

                                      This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on\n Fargate resources. For Fargate resources, you can only use resourceRequirement. For EC2 resources,\n you can use either this parameter or resourceRequirement but not both.

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

                                      This parameter is deprecated, use\n resourceRequirements to override the vcpus parameter that's set in the\n job definition. It's not supported for jobs\n that run on Fargate resources. For jobs run on EC2 resources, it overrides the vcpus parameter set in\n the job definition, but doesn't override any vCPU requirement specified in the\n resourceRequirements structure in the job definition. To override vCPU requirements that are specified\n in the resourceRequirements structure in the job definition, resourceRequirements must be\n specified in the SubmitJob request, with type set to VCPU and\n value set to the new value. For\n more information, see Can't override job definition\n resource requirements in the Batch User Guide.

                                      " } }, "memory": { @@ -902,7 +923,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

                                      This parameter indicates the amount of memory (in MiB) that's reserved for the job. It overrides the\n memory parameter set in the job definition, but doesn't override any memory requirement specified in\n the ResourceRequirement structure in the job definition. To override memory requirements that are\n specified in the ResourceRequirement structure in the job definition, ResourceRequirement\n must be specified in the SubmitJob request, with type set to MEMORY and\n value set to the new value.

                                      \n

                                      This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on Fargate\n resources. For these resources, use resourceRequirement instead.

                                      " + "smithy.api#documentation": "

                                      This parameter is deprecated, use\n resourceRequirements to override the memory requirements specified in the job definition. It's not\n supported for jobs that run on Fargate resources. For jobs run on EC2 resources, it overrides the\n memory parameter set in the job definition, but doesn't override any memory requirement specified in\n the resourceRequirements structure in the job definition. To override memory requirements that are\n specified in the resourceRequirements structure in the job definition, resourceRequirements\n must be specified in the SubmitJob request, with type set to MEMORY and\n value set to the new value. For more information, see Can't override job definition\n resource requirements in the Batch User Guide.

                                      " } }, "command": { @@ -949,7 +970,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

                                      The number of vCPUs reserved for the job. Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to\n CpuShares in the Create a container section of the Docker Remote API and the\n --cpu-shares option to docker run. The number of vCPUs must\n be specified but can be specified in several places. You must specify it at least once for each node.

                                      \n

                                      This parameter is supported on EC2 resources but isn't supported for jobs that run on Fargate resources. For\n these resources, use resourceRequirement instead. You can use this parameter or\n resourceRequirements structure but not both.

                                      \n \n

                                      This parameter isn't applicable to jobs that are running on Fargate resources and shouldn't be provided. For\n jobs that run on Fargate resources, you must specify the vCPU requirement for the job using\n resourceRequirements.

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

                                      This parameter is deprecated, use resourceRequirements to specify the vCPU requirements for the job\n definition. It's not supported for jobs that run on Fargate resources. For jobs run on EC2 resources, it specifies\n the number of vCPUs reserved for the job.

                                      \n \n

                                      Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. The number of vCPUs must be specified but can be specified\n in several places. You must specify it at least once for each node.

                                      " } }, "memory": { @@ -958,7 +979,7 @@ "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, - "smithy.api#documentation": "

                                      This parameter indicates the memory hard limit (in MiB) for a container. If your container attempts to exceed\n the specified number, it's terminated. You must specify at least 4 MiB of memory for a job using this parameter. The\n memory hard limit can be specified in several places. It must be specified for each node at least once.

                                      \n

                                      This parameter maps to Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker\n run.

                                      \n

                                      This parameter is supported on EC2 resources but isn't supported on Fargate resources. For Fargate\n resources, you should specify the memory requirement using resourceRequirement. You can also do this for\n EC2 resources.

                                      \n \n

                                      If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a\n particular instance type, see Memory\n Management in the Batch User Guide.

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

                                      This parameter is deprecated, use\n resourceRequirements to specify the memory requirements for the job definition. It's not supported for\n jobs that run on Fargate resources. For jobs run on EC2 resources, it specifies the memory hard\n limit (in MiB) for a container. If your container attempts to exceed the specified number, it's terminated. You must\n specify at least 4 MiB of memory for a job using this parameter. The memory hard limit can be specified in several\n places. It must be specified for each node at least once.

                                      " } }, "command": { @@ -1105,7 +1126,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

                                      \n

                                      In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a\n specified percentage of the On-Demand price.

                                      \n \n

                                      Multi-node parallel jobs aren't supported on Spot Instances.

                                      \n
                                      \n

                                      In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility\n with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that\n each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance\n AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you\n can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with\n it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS\n container instance in the Amazon Elastic Container Service Developer Guide.

                                      \n \n

                                      Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it\n doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible\n for managing the guest operating system (including its updates and security patches) and any additional application\n software or utilities that you install on the compute resources. To use a new AMI for your Batch jobs, complete\n these steps:

                                      \n
                                        \n
                                      1. \n

                                        Create a new compute environment with the new AMI.

                                        \n
                                      2. \n
                                      3. \n

                                        Add the compute environment to an existing job queue.

                                        \n
                                      4. \n
                                      5. \n

                                        Remove the earlier compute environment from your job queue.

                                        \n
                                      6. \n
                                      7. \n

                                        Delete the earlier compute environment.

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

                                      Creates an Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

                                      \n

                                      In a managed compute environment, Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch\n when\n the Spot Instance price is less than a specified percentage of the On-Demand price.

                                      \n \n

                                      Multi-node parallel jobs aren't supported on Spot Instances.

                                      \n
                                      \n

                                      In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility\n with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that\n each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.

                                      \n \n

                                      Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it\n doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible\n for managing the guest operating system (including its updates and security patches) and any additional application\n software or utilities that you install on the compute resources. To use a new AMI for your Batch jobs, complete\n these steps:

                                      \n
                                        \n
                                      1. \n

                                        Create a new compute environment with the new AMI.

                                        \n
                                      2. \n
                                      3. \n

                                        Add the compute environment to an existing job queue.

                                        \n
                                      4. \n
                                      5. \n

                                        Remove the earlier compute environment from your job queue.

                                        \n
                                      6. \n
                                      7. \n

                                        Delete the earlier compute environment.

                                        \n
                                      8. \n
                                      \n
                                      ", "smithy.api#http": { "method": "POST", "uri": "/v1/createcomputeenvironment", @@ -1136,6 +1157,12 @@ "smithy.api#documentation": "

                                      The state of the compute environment. If the state is ENABLED, then the compute environment accepts\n jobs from a queue and can scale out automatically based on queues.

                                      \n

                                      If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically, based on the job queue demand.

                                      \n

                                      If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

                                      " } }, + "unmanagedvCpus": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of vCPUs for an\n unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new\n share identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity will be\n reserved.

                                      \n \n \n

                                      This parameter is only supported when the type parameter is set to UNMANAGED/

                                      \n
                                      " + } + }, "computeResources": { "target": "com.amazonaws.batch#ComputeResource", "traits": { @@ -1151,7 +1178,7 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

                                      The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

                                      \n

                                      These tags can be updated or removed using the TagResource and UntagResource API operations. These tags don't\n propagate to the underlying compute resources.

                                      " + "smithy.api#documentation": "

                                      The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

                                      \n

                                      These tags can be updated or removed using the TagResource and UntagResource API operations. These tags don't\n propagate to the underlying compute resources.

                                      " } } }, @@ -1217,6 +1244,12 @@ "smithy.api#documentation": "

                                      The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs. If the\n job queue state is DISABLED, new jobs can't be added to the queue, but jobs already in the queue can\n finish.

                                      " } }, + "schedulingPolicyArn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      Amazon Resource Name (ARN) of the fair share scheduling\n policy. If this parameter is specified, the job queue will use a fair share scheduling policy. If this parameter is\n not specified, the job queue will use a first in, first out (FIFO) scheduling policy. Once a job queue is created,\n the fair share scheduling policy can be replaced but not removed. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

                                      " + } + }, "priority": { "target": "com.amazonaws.batch#Integer", "traits": { @@ -1261,6 +1294,74 @@ } } }, + "com.amazonaws.batch#CreateSchedulingPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.batch#CreateSchedulingPolicyRequest" + }, + "output": { + "target": "com.amazonaws.batch#CreateSchedulingPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.batch#ClientException" + }, + { + "target": "com.amazonaws.batch#ServerException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Creates an Batch scheduling\n policy.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/createschedulingpolicy", + "code": 200 + } + } + }, + "com.amazonaws.batch#CreateSchedulingPolicyRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      The name of the scheduling\n policy. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

                                      ", + "smithy.api#required": {} + } + }, + "fairsharePolicy": { + "target": "com.amazonaws.batch#FairsharePolicy", + "traits": { + "smithy.api#documentation": "

                                      The fair share policy of the scheduling\n policy.

                                      " + } + }, + "tags": { + "target": "com.amazonaws.batch#TagrisTagsMap", + "traits": { + "smithy.api#documentation": "

                                      The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

                                      \n

                                      These tags can be updated or removed using the TagResource and UntagResource API operations.

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

                                      The name of the scheduling\n policy.

                                      ", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the scheduling policy.\n The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

                                      ", + "smithy.api#required": {} + } + } + } + }, "com.amazonaws.batch#DeleteComputeEnvironment": { "type": "operation", "input": { @@ -1349,6 +1450,47 @@ "type": "structure", "members": {} }, + "com.amazonaws.batch#DeleteSchedulingPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.batch#DeleteSchedulingPolicyRequest" + }, + "output": { + "target": "com.amazonaws.batch#DeleteSchedulingPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.batch#ClientException" + }, + { + "target": "com.amazonaws.batch#ServerException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Deletes the specified scheduling\n policy.

                                      \n

                                      You can't delete a scheduling policy that is used in any job queues.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/deleteschedulingpolicy", + "code": 200 + } + } + }, + "com.amazonaws.batch#DeleteSchedulingPolicyRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the scheduling policy to\n delete.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.batch#DeleteSchedulingPolicyResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.batch#DeregisterJobDefinition": { "type": "operation", "input": { @@ -1458,7 +1600,7 @@ "nextToken": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value to include in a future DescribeComputeEnvironments request. When\n the results of a DescribeJobDefinitions request exceed maxResults, this value can be used\n to retrieve the next page of results. This value is null when there are no more results to\n return.

                                      " + "smithy.api#documentation": "

                                      The nextToken value to include in a future DescribeComputeEnvironments request. When\n the results of a DescribeComputeEnvironments request exceed maxResults, this value can be\n used to retrieve the next page of results. This value is null when there are no more results to\n return.

                                      " } } } @@ -1672,6 +1814,54 @@ } } }, + "com.amazonaws.batch#DescribeSchedulingPolicies": { + "type": "operation", + "input": { + "target": "com.amazonaws.batch#DescribeSchedulingPoliciesRequest" + }, + "output": { + "target": "com.amazonaws.batch#DescribeSchedulingPoliciesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.batch#ClientException" + }, + { + "target": "com.amazonaws.batch#ServerException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Describes one or more of your scheduling\n policies.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/describeschedulingpolicies", + "code": 200 + } + } + }, + "com.amazonaws.batch#DescribeSchedulingPoliciesRequest": { + "type": "structure", + "members": { + "arns": { + "target": "com.amazonaws.batch#StringList", + "traits": { + "smithy.api#documentation": "

                                      A list of up to 100 scheduling policy\n Amazon Resource Name (ARN) entries.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.batch#DescribeSchedulingPoliciesResponse": { + "type": "structure", + "members": { + "schedulingPolicies": { + "target": "com.amazonaws.batch#SchedulingPolicyDetailList", + "traits": { + "smithy.api#documentation": "

                                      The list of scheduling\n policies.

                                      " + } + } + } + }, "com.amazonaws.batch#Device": { "type": "structure", "members": { @@ -1742,7 +1932,7 @@ "iam": { "target": "com.amazonaws.batch#EFSAuthorizationConfigIAM", "traits": { - "smithy.api#documentation": "

                                      Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.\n If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this\n parameter is omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS Access Points in\n the Batch User Guide. EFS IAM authorization requires that TransitEncryption be\n ENABLED and that a JobRoleArn is specified.

                                      " + "smithy.api#documentation": "

                                      Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system.\n If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this parameter is\n omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS Access Points in the\n Batch User Guide. EFS IAM authorization requires that TransitEncryption be\n ENABLED and that a JobRoleArn is specified.

                                      " } } }, @@ -1825,7 +2015,7 @@ "imageType": { "target": "com.amazonaws.batch#ImageType", "traits": { - "smithy.api#documentation": "

                                      The image type to match with the instance type to select an AMI. If the imageIdOverride parameter\n isn't specified, then a recent Amazon ECS-optimized AMI (ECS_AL1) is\n used. Starting on March 31, 2021, this default will be changing to ECS_AL2 (Amazon Linux 2).

                                      \n
                                      \n
                                      ECS_AL2
                                      \n
                                      \n

                                      \n Amazon Linux\n 2− Default for all Amazon Web Services Graviton-based instance families (for example, C6g,\n M6g, R6g, and T4g) and can be used for all non-GPU instance types.

                                      \n
                                      \n
                                      ECS_AL2_NVIDIA
                                      \n
                                      \n

                                      \n Amazon Linux\n 2 (GPU)−Default for all GPU instance families (for example P4 and G4) and\n can be used for all non Amazon Web Services Graviton-based instance types.

                                      \n
                                      \n
                                      ECS_AL1
                                      \n
                                      \n

                                      \n Amazon\n Linux−Default for all non-GPU, non Amazon Web Services Graviton instance families. Amazon Linux is reaching the\n end-of-life of standard support. For more information, see Amazon\n Linux AMI.

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

                                      The image type to match with the instance type to select an AMI. If the imageIdOverride parameter\n isn't specified, then a recent Amazon ECS-optimized Amazon Linux 2 AMI\n (ECS_AL2) is used.

                                      \n
                                      \n
                                      ECS_AL2
                                      \n
                                      \n

                                      \n Amazon Linux\n 2− Default for all non-GPU instance families.

                                      \n
                                      \n
                                      ECS_AL2_NVIDIA
                                      \n
                                      \n

                                      \n Amazon Linux\n 2 (GPU)−Default for all GPU instance families (for example P4 and G4) and\n can be used for all non Amazon Web Services Graviton-based instance types.

                                      \n
                                      \n
                                      ECS_AL1
                                      \n
                                      \n

                                      \n Amazon Linux.\n Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.

                                      \n
                                      \n
                                      ", "smithy.api#required": {} } }, @@ -1837,7 +2027,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If\n Ec2Configuration isn't specified, the default is currently ECS_AL1 (Amazon Linux) for\n non-GPU, non AWSGraviton instances. Starting on March 31, 2021, this default will be changing to ECS_AL2\n (Amazon Linux\n 2).

                                      \n \n

                                      This object isn't applicable to jobs that are running on Fargate resources.

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

                                      Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If\n Ec2Configuration isn't specified, the default is ECS_AL2 (Amazon Linux 2).

                                      \n \n

                                      This object isn't applicable to jobs that are running on Fargate resources.

                                      \n
                                      " } }, "com.amazonaws.batch#Ec2ConfigurationList": { @@ -1858,19 +2048,19 @@ "onStatusReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up\n to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including\n spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact\n match.

                                      " + "smithy.api#documentation": "

                                      Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up\n to 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including\n spaces or tabs).\n It can optionally end with an\n asterisk (*) so that only the start of the string needs to be an exact match.

                                      \n \n

                                      The string can be between 1 and 512 characters in length.

                                      " } }, "onReason": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to\n 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces\n and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact\n match.

                                      " + "smithy.api#documentation": "

                                      Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to\n 512 characters in length. It can contain letters, numbers, periods (.), colons (:), and white space (including spaces\n and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact\n match.

                                      \n \n

                                      The string can be between 1 and 512 characters in length.

                                      " } }, "onExitCode": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      Contains a glob pattern to match against the decimal representation of the ExitCode returned for a\n job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an\n asterisk (*) so that only the start of the string needs to be an exact match.

                                      " + "smithy.api#documentation": "

                                      Contains a glob pattern to match against the decimal representation of the ExitCode returned for a\n job. The pattern can be up to 512 characters in length. It can contain only numbers, and can optionally end with an\n asterisk (*) so that only the start of the string needs to be an exact match.

                                      \n \n

                                      The string can be between 1 and 512 characters in length.

                                      " } }, "action": { @@ -1891,6 +2081,32 @@ "target": "com.amazonaws.batch#EvaluateOnExit" } }, + "com.amazonaws.batch#FairsharePolicy": { + "type": "structure", + "members": { + "shareDecaySeconds": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The time period to use to calculate a\n fair share percentage for each fair share identifier in use, in seconds. A value of zero (0) indicates that only\n current usage should be measured; if there are four evenly weighted fair share identifiers then each can only use up\n to 25% of the available CPU resources, even if some of the fair share identifiers have no currently running jobs. The\n decay allows for more recently run jobs to have more weight than jobs that ran earlier. The maximum supported value\n is 604800 (1 week).

                                      " + } + }, + "computeReservation": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      A value used to reserve some of the\n available maximum vCPU for fair share identifiers that have not yet been used.

                                      \n

                                      The reserved ratio is\n (computeReservation/100)^ActiveFairShares\n where\n \n ActiveFairShares\n is the number of active fair share identifiers.

                                      \n

                                      For example, a computeReservation value of 50 indicates that Batch should reserve 50% of the\n maximum available vCPU if there is only one fair share identifier, 25% if there are two fair share identifiers, and\n 12.5% if there are three fair share identifiers. A computeReservation value of 25 indicates that Batch\n should reserve 25% of the maximum available vCPU if there is only one fair share identifier, 6.25% if there are two\n fair share identifiers, and 1.56% if there are three fair share identifiers.

                                      \n \n

                                      The minimum value is 0 and the maximum value is 99.

                                      " + } + }, + "shareDistribution": { + "target": "com.amazonaws.batch#ShareAttributesList", + "traits": { + "smithy.api#documentation": "

                                      Array of SharedIdentifier\n objects that contain the weights for the fair\n share identifiers for the fair share policy.\n Fair share identifiers that\n are not included have a default weight of 1.0.

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

                                      The fair share policy for a scheduling\n policy.

                                      " + } + }, "com.amazonaws.batch#FargatePlatformConfiguration": { "type": "structure", "members": { @@ -1905,6 +2121,9 @@ "smithy.api#documentation": "

                                      The platform configuration for jobs that are running on Fargate resources. Jobs that run on EC2 resources must\n not specify this parameter.

                                      " } }, + "com.amazonaws.batch#Float": { + "type": "float" + }, "com.amazonaws.batch#Host": { "type": "structure", "members": { @@ -2019,10 +2238,16 @@ "type": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The type of job definition. If the job is run on Fargate resources, then multinode isn't\n supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the\n Batch User Guide.

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

                                      The type of job definition, either\n container or multinode. If the job is run on Fargate resources, then\n multinode isn't supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition\n in the Batch User Guide.

                                      ", "smithy.api#required": {} } }, + "schedulingPriority": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The scheduling priority of the job\n definition. This will only affect jobs in job queues with a fair share policy. Jobs with a higher scheduling priority\n will be scheduled before jobs with a lower scheduling priority.

                                      " + } + }, "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { @@ -2160,6 +2385,18 @@ "smithy.api#required": {} } }, + "shareIdentifier": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      The share identifier for the job.

                                      " + } + }, + "schedulingPriority": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The scheduling policy of the job definition. This will only affect jobs in job queues with a fair share policy.\n Jobs with a higher scheduling priority will be scheduled before jobs with a lower scheduling priority.

                                      " + } + }, "attempts": { "target": "com.amazonaws.batch#AttemptDetails", "traits": { @@ -2299,6 +2536,12 @@ "smithy.api#required": {} } }, + "schedulingPolicyArn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      Amazon Resource Name (ARN) of the scheduling policy. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

                                      " + } + }, "status": { "target": "com.amazonaws.batch#JQStatus", "traits": { @@ -2693,6 +2936,70 @@ } } }, + "com.amazonaws.batch#ListSchedulingPolicies": { + "type": "operation", + "input": { + "target": "com.amazonaws.batch#ListSchedulingPoliciesRequest" + }, + "output": { + "target": "com.amazonaws.batch#ListSchedulingPoliciesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.batch#ClientException" + }, + { + "target": "com.amazonaws.batch#ServerException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Returns a list of Batch scheduling\n policies.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/listschedulingpolicies", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.batch#ListSchedulingPoliciesRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results returned by ListSchedulingPolicies in paginated output. When this\n parameter is used, ListSchedulingPolicies only returns maxResults results in a single page\n and a nextToken response element. The remaining results of the initial request can be seen by sending\n another ListSchedulingPolicies request with the returned nextToken value. This value can be\n between 1 and 100. If this parameter isn't used, then\n ListSchedulingPolicies returns up to 100 results and a nextToken value\n if applicable.

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

                                      The nextToken value returned from a previous paginated ListSchedulingPolicies request\n where maxResults was used and the results exceeded the value of that parameter. Pagination continues\n from the end of the previous results that returned the nextToken value. This value is null\n when there are no more results to return.

                                      \n \n

                                      This token should be treated as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " + } + } + } + }, + "com.amazonaws.batch#ListSchedulingPoliciesResponse": { + "type": "structure", + "members": { + "schedulingPolicies": { + "target": "com.amazonaws.batch#SchedulingPolicyListingDetailList", + "traits": { + "smithy.api#documentation": "

                                      A list of scheduling policies that match\n the request.

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

                                      The nextToken value to include in a future ListSchedulingPolicies request. When the\n results of a ListSchedulingPolicies request exceed maxResults, this value can be used to\n retrieve the next page of results. This value is null when there are no more results to return.

                                      " + } + } + } + }, "com.amazonaws.batch#ListTagsForResource": { "type": "operation", "input": { @@ -2710,7 +3017,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

                                      Lists the tags for an Batch resource. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

                                      ", "smithy.api#http": { "method": "GET", "uri": "/v1/tags/{resourceArn}", @@ -2724,7 +3031,7 @@ "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

                                      The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

                                      ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3121,6 +3428,12 @@ "smithy.api#documentation": "

                                      Default parameter substitution placeholders to set in the job definition. Parameters are specified as a\n key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults\n from the job definition.

                                      " } }, + "schedulingPriority": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The scheduling priority for jobs that are\n submitted with this job definition. This will only affect jobs in job queues with a fair share policy. Jobs with a\n higher scheduling priority will be scheduled before jobs with a lower scheduling priority.

                                      \n \n

                                      The minimum supported value is 0 and the maximum supported value is 9999.

                                      " + } + }, "containerProperties": { "target": "com.amazonaws.batch#ContainerProperties", "traits": { @@ -3200,7 +3513,7 @@ "value": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The quantity of the specified resource to reserve for the container. The values vary based on the\n type specified.

                                      \n
                                      \n
                                      type=\"GPU\"
                                      \n
                                      \n

                                      The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a\n job shouldn't exceed the number of available GPUs on the compute resource that the job is launched on.

                                      \n \n

                                      GPUs are not available for jobs that are running on Fargate resources.

                                      \n
                                      \n
                                      \n
                                      type=\"MEMORY\"
                                      \n
                                      \n

                                      The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are\n running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated.\n This parameter maps to Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker run.\n You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for\n multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to\n Memory in the Create a container section of the Docker Remote API and the\n --memory option to docker run.

                                      \n \n

                                      If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for\n a particular instance type, see Memory\n Management in the Batch User Guide.

                                      \n
                                      \n

                                      For jobs that are running on Fargate resources, then value is the hard limit (in MiB), and\n must match one of the supported values and the VCPU values must be one of the values supported for\n that memory value.

                                      \n
                                      \n
                                      value = 512
                                      \n
                                      \n

                                      \n VCPU = 0.25

                                      \n
                                      \n
                                      value = 1024
                                      \n
                                      \n

                                      \n VCPU = 0.25 or 0.5

                                      \n
                                      \n
                                      value = 2048
                                      \n
                                      \n

                                      \n VCPU = 0.25, 0.5, or 1

                                      \n
                                      \n
                                      value = 3072
                                      \n
                                      \n

                                      \n VCPU = 0.5, or 1

                                      \n
                                      \n
                                      value = 4096
                                      \n
                                      \n

                                      \n VCPU = 0.5, 1, or 2

                                      \n
                                      \n
                                      value = 5120, 6144, or 7168
                                      \n
                                      \n

                                      \n VCPU = 1 or 2

                                      \n
                                      \n
                                      value = 8192
                                      \n
                                      \n

                                      \n VCPU = 1, 2, or 4

                                      \n
                                      \n
                                      value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
                                      \n
                                      \n

                                      \n VCPU = 2 or 4

                                      \n
                                      \n
                                      value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
                                      \n
                                      \n

                                      \n VCPU = 4

                                      \n
                                      \n
                                      \n
                                      \n
                                      type=\"VCPU\"
                                      \n
                                      \n

                                      The number of vCPUs reserved for the container. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2\n resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be\n specified for each node at least once.

                                      \n

                                      For jobs that are running on Fargate resources, then value must match one of the supported\n values and the MEMORY values must be one of the values supported for that VCPU value. The supported\n values are 0.25, 0.5, 1, 2, and 4

                                      \n
                                      \n
                                      value = 0.25
                                      \n
                                      \n

                                      \n MEMORY = 512, 1024, or 2048

                                      \n
                                      \n
                                      value = 0.5
                                      \n
                                      \n

                                      \n MEMORY = 1024, 2048, 3072, or 4096

                                      \n
                                      \n
                                      value = 1
                                      \n
                                      \n

                                      \n MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192

                                      \n
                                      \n
                                      value = 2
                                      \n
                                      \n

                                      \n MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384

                                      \n
                                      \n
                                      value = 4
                                      \n
                                      \n

                                      \n MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456,\n 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720

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

                                      The quantity of the specified resource to reserve for the container. The values vary based on the\n type specified.

                                      \n
                                      \n
                                      type=\"GPU\"
                                      \n
                                      \n

                                      The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a\n job shouldn't exceed the number of available GPUs on the compute resource that the job is launched on.

                                      \n \n

                                      GPUs are not available for jobs that are running on Fargate resources.

                                      \n
                                      \n
                                      \n
                                      type=\"MEMORY\"
                                      \n
                                      \n

                                      The memory hard limit (in MiB) present to the container. This parameter is supported for jobs that are\n running on EC2 resources. If your container attempts to exceed the memory specified, the container is terminated.\n This parameter maps to Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker run.\n You must specify at least 4 MiB of memory for a job. This is required but can be specified in several places for\n multi-node parallel (MNP) jobs. It must be specified for each node at least once. This parameter maps to\n Memory in the Create a container section of the Docker Remote API and the\n --memory option to docker run.

                                      \n \n

                                      If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for\n a particular instance type, see Memory\n Management in the Batch User Guide.

                                      \n
                                      \n

                                      For jobs that are running on Fargate resources, then value is the hard limit (in MiB), and\n must match one of the supported values and the VCPU values must be one of the values supported for\n that memory value.

                                      \n
                                      \n
                                      value = 512
                                      \n
                                      \n

                                      \n VCPU = 0.25

                                      \n
                                      \n
                                      value = 1024
                                      \n
                                      \n

                                      \n VCPU = 0.25 or 0.5

                                      \n
                                      \n
                                      value = 2048
                                      \n
                                      \n

                                      \n VCPU = 0.25, 0.5, or 1

                                      \n
                                      \n
                                      value = 3072
                                      \n
                                      \n

                                      \n VCPU = 0.5, or 1

                                      \n
                                      \n
                                      value = 4096
                                      \n
                                      \n

                                      \n VCPU = 0.5, 1, or 2

                                      \n
                                      \n
                                      value = 5120, 6144, or 7168
                                      \n
                                      \n

                                      \n VCPU = 1 or 2

                                      \n
                                      \n
                                      value = 8192
                                      \n
                                      \n

                                      \n VCPU = 1, 2, or 4

                                      \n
                                      \n
                                      value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
                                      \n
                                      \n

                                      \n VCPU = 2 or 4

                                      \n
                                      \n
                                      value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
                                      \n
                                      \n

                                      \n VCPU = 4

                                      \n
                                      \n
                                      \n
                                      \n
                                      type=\"VCPU\"
                                      \n
                                      \n

                                      The number of vCPUs reserved for the container. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2\n resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be\n specified for each node at least once.

                                      \n

                                      For jobs that are running on Fargate resources, then value must match one of the supported\n values and the MEMORY values must be one of the values supported for that\n VCPU\n value. The supported values are 0.25, 0.5, 1, 2, and 4

                                      \n
                                      \n
                                      value = 0.25
                                      \n
                                      \n

                                      \n MEMORY = 512, 1024, or 2048

                                      \n
                                      \n
                                      value = 0.5
                                      \n
                                      \n

                                      \n MEMORY = 1024, 2048, 3072, or 4096

                                      \n
                                      \n
                                      value = 1
                                      \n
                                      \n

                                      \n MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192

                                      \n
                                      \n
                                      value = 2
                                      \n
                                      \n

                                      \n MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384

                                      \n
                                      \n
                                      value = 4
                                      \n
                                      \n

                                      \n MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456,\n 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720

                                      \n
                                      \n
                                      \n
                                      \n
                                      ", "smithy.api#required": {} } }, @@ -3276,6 +3589,67 @@ "smithy.api#documentation": "

                                      The retry strategy associated with a job. For more information, see Automated job retries in the Batch User Guide.

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

                                      The name of the scheduling\n policy.

                                      ", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      Amazon Resource Name (ARN) of the scheduling policy. An example would be\n arn:aws:batch:us-east-1:123456789012:scheduling-policy/HighPriority\n \n

                                      ", + "smithy.api#required": {} + } + }, + "fairsharePolicy": { + "target": "com.amazonaws.batch#FairsharePolicy", + "traits": { + "smithy.api#documentation": "

                                      The fair share policy for the scheduling\n policy.

                                      " + } + }, + "tags": { + "target": "com.amazonaws.batch#TagrisTagsMap", + "traits": { + "smithy.api#documentation": "

                                      The tags that you apply to the scheduling policy to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

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

                                      An object representing a scheduling\n policy.

                                      " + } + }, + "com.amazonaws.batch#SchedulingPolicyDetailList": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#SchedulingPolicyDetail" + } + }, + "com.amazonaws.batch#SchedulingPolicyListingDetail": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      Amazon Resource Name (ARN) of the scheduling policy.

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

                                      An object containing the details of a scheduling policy returned in a ListSchedulingPolicy\n action.

                                      " + } + }, + "com.amazonaws.batch#SchedulingPolicyListingDetailList": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#SchedulingPolicyListingDetail" + } + }, "com.amazonaws.batch#Secret": { "type": "structure", "members": { @@ -3317,6 +3691,33 @@ "smithy.api#httpError": 500 } }, + "com.amazonaws.batch#ShareAttributes": { + "type": "structure", + "members": { + "shareIdentifier": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      A fair share identifier or fair share identifier prefix. If the string ends with '*' then this entry specifies\n the weight factor to use for fair share identifiers that begin with that prefix. The list of fair share identifiers\n in a fair share policy cannot overlap. For example you cannot have one that specifies a shareIdentifier\n of UserA* and another that specifies a shareIdentifier of UserA-1.

                                      \n

                                      There can be no more than 500 fair share identifiers active in a job queue.

                                      \n

                                      The string is limited to 255 alphanumeric characters, optionally followed by '*'.

                                      ", + "smithy.api#required": {} + } + }, + "weightFactor": { + "target": "com.amazonaws.batch#Float", + "traits": { + "smithy.api#documentation": "

                                      The weight factor for the fair share\n identifier. The default value is 1.0. A lower value has a higher priority for compute resources. For example, jobs\n using a share identifier with a weight factor of 0.125 (1/8) will get 8 times the compute resources of jobs using a\n share identifier with a weight factor of 1.

                                      \n

                                      The smallest supported value is 0.0001 and the largest supported value is 999.9999.

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

                                      Specifies the weights for the fair share identifiers for the fair share policy. Fair share identifiers that are\n not included have a default weight of 1.0.

                                      " + } + }, + "com.amazonaws.batch#ShareAttributesList": { + "type": "list", + "member": { + "target": "com.amazonaws.batch#ShareAttributes" + } + }, "com.amazonaws.batch#String": { "type": "string" }, @@ -3343,7 +3744,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Submits an Batch job from a job definition. Parameters that are specified during SubmitJob\n override parameters defined in the job definition. vCPU and memory requirements that are specified in the\n ResourceRequirements objects in the job definition are the exception. They can't be overridden this way\n using the memory and vcpus parameters. Rather, you must specify updates to job definition\n parameters in a ResourceRequirements object that's included in the containerOverrides\n parameter.

                                      \n \n

                                      Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14\n days, Fargate resources might become unavailable and job might be terminated.

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

                                      Submits an Batch job from a job definition. Parameters that are specified during SubmitJob\n override parameters defined in the job definition. vCPU and memory requirements that are specified in the\n resourceRequirements objects in the job definition are the exception. They can't be overridden this way\n using the memory and vcpus parameters. Rather, you must specify updates to job definition\n parameters in a ResourceRequirements object that's included in the containerOverrides\n parameter.

                                      \n \n \n

                                      Job queues with a scheduling policy are limited to 500 active fair share identifiers at a time.

                                      \n
                                      \n \n \n

                                      Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14\n days, Fargate resources might become unavailable and job might be terminated.

                                      \n
                                      ", "smithy.api#http": { "method": "POST", "uri": "/v1/submitjob", @@ -3368,6 +3769,18 @@ "smithy.api#required": {} } }, + "shareIdentifier": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      The share identifier for the\n job.

                                      " + } + }, + "schedulingPriorityOverride": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The scheduling priority for the job. This\n will only affect jobs in job queues with a fair share policy. Jobs with a higher scheduling priority will be\n scheduled before jobs with a lower scheduling priority. This will override any scheduling priority in the job\n definition.

                                      \n \n

                                      The minimum supported value is 0 and the maximum supported value is 9999.

                                      " + } + }, "arrayProperties": { "target": "com.amazonaws.batch#ArrayProperties", "traits": { @@ -3426,7 +3839,7 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

                                      The tags that you apply to the job request to help you categorize and organize your resources. Each tag consists\n of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

                                      " + "smithy.api#documentation": "

                                      The tags that you apply to the job request to help you categorize and organize your resources. Each tag consists\n of a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

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

                                      Associates the specified tags to a resource with the specified resourceArn. If existing tags on a\n resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that\n are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

                                      Associates the specified tags to a resource with the specified resourceArn. If existing tags on a\n resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags that\n are associated with that resource are deleted as well. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

                                      ", "smithy.api#http": { "method": "POST", "uri": "/v1/tags/{resourceArn}", @@ -3511,7 +3924,7 @@ "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

                                      The Amazon Resource Name (ARN) of the resource that tags are added to. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

                                      ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3519,7 +3932,7 @@ "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { - "smithy.api#documentation": "

                                      The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of\n a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

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

                                      The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of\n a key and an optional value. For more information, see Tagging Amazon Web Services Resources in Amazon Web Services General\n Reference.

                                      ", "smithy.api#required": {} } } @@ -3713,7 +4126,7 @@ "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

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

                                      The Amazon Resource Name (ARN) of the resource from which to delete tags. Batch resources that support tags are compute environments, jobs, job definitions, job queues,\n and scheduling policies. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

                                      ", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3773,6 +4186,12 @@ "smithy.api#documentation": "

                                      The state of the compute environment. Compute environments in the ENABLED state can accept jobs\n from a queue and scale in or out automatically based on the workload demand of its associated queues.

                                      \n

                                      If the state is ENABLED, then the Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically, based on the job queue demand.

                                      \n

                                      If the state is DISABLED, then the Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

                                      " } }, + "unmanagedvCpus": { + "target": "com.amazonaws.batch#Integer", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of vCPUs expected to\n be used for an unmanaged compute environment. This parameter should not be specified for a managed compute\n environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share\n identifiers. If this parameter is not provided for a fair share job queue, no vCPU capacity will be\n reserved.

                                      " + } + }, "computeResources": { "target": "com.amazonaws.batch#ComputeResourceUpdate", "traits": { @@ -3848,6 +4267,12 @@ "smithy.api#documentation": "

                                      Describes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept\n jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs already in the\n queue can finish.

                                      " } }, + "schedulingPolicyArn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

                                      Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is created, the fair share scheduling policy can\n be replaced but not removed. The format is\n aws:Partition:batch:Region:Account:scheduling-policy/Name\n .\n For example,\n aws:aws:batch:us-west-2:012345678910:scheduling-policy/MySchedulingPolicy.

                                      " + } + }, "priority": { "target": "com.amazonaws.batch#Integer", "traits": { @@ -3882,6 +4307,53 @@ } } }, + "com.amazonaws.batch#UpdateSchedulingPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.batch#UpdateSchedulingPolicyRequest" + }, + "output": { + "target": "com.amazonaws.batch#UpdateSchedulingPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.batch#ClientException" + }, + { + "target": "com.amazonaws.batch#ServerException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Updates a scheduling\n policy.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/updateschedulingpolicy", + "code": 200 + } + } + }, + "com.amazonaws.batch#UpdateSchedulingPolicyRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.batch#String", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "fairsharePolicy": { + "target": "com.amazonaws.batch#FairsharePolicy", + "traits": { + "smithy.api#documentation": "

                                      The fair share\n policy.

                                      " + } + } + } + }, + "com.amazonaws.batch#UpdateSchedulingPolicyResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.batch#Volume": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json index 8ffd934a3e1ca..d862d148cedb5 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-meetings.json @@ -50,7 +50,7 @@ } }, "AttendeeId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK attendee ID.

                                      " } @@ -141,7 +141,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

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

                                      ", "smithy.api#httpLabel": {}, @@ -176,6 +176,21 @@ }, "com.amazonaws.chimesdkmeetings#ChimeMeetingsSDKService": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Meetings", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMeetings", + "cloudTrailEventSource": "chimesdkmeetings.amazonaws.com", + "endpointPrefix": "meetings-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

                                      The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and \n receive meeting notifications. For more information \n about the meeting APIs, see Amazon Chime SDK meetings.

                                      ", + "smithy.api#title": "Amazon Chime SDK Meetings" + }, "version": "2021-07-15", "operations": [ { @@ -211,22 +226,7 @@ { "target": "com.amazonaws.chimesdkmeetings#StopMeetingTranscription" } - ], - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Meetings", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMeetings", - "cloudTrailEventSource": "chimesdkmeetings.amazonaws.com", - "endpointPrefix": "meetings-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

                                      The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and \n receive meeting notifications. For more information \n about the meeting APIs, see Amazon Chime SDK meetings.

                                      ", - "smithy.api#title": "Amazon Chime SDK Meetings" - } + ] }, "com.amazonaws.chimesdkmeetings#ClientRequestToken": { "type": "string", @@ -309,7 +309,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The unique ID of the meeting.

                                      ", "smithy.api#httpLabel": {}, @@ -406,9 +406,9 @@ } }, "MediaRegion": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#MediaRegion", "traits": { - "smithy.api#documentation": "

                                      The Region in which to create the meeting. Default: us-east-1.

                                      \n \n

                                      \n Available values: \n af-south-1\n , \n ap-northeast-1\n , \n ap-northeast-2\n , \n ap-south-1\n , \n ap-southeast-1\n , \n ap-southeast-2\n , \n ca-central-1\n , \n eu-central-1\n , \n eu-north-1\n , \n eu-south-1\n , \n eu-west-1\n , \n eu-west-2\n , \n eu-west-3\n , \n sa-east-1\n , \n us-east-1\n , \n us-east-2\n , \n us-west-1\n , \n us-west-2\n .\n

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

                                      The Region in which to create the meeting.

                                      \n \n

                                      \n Available values: \n af-south-1\n , \n ap-northeast-1\n , \n ap-northeast-2\n , \n ap-south-1\n , \n ap-southeast-1\n , \n ap-southeast-2\n , \n ca-central-1\n , \n eu-central-1\n , \n eu-north-1\n , \n eu-south-1\n , \n eu-west-1\n , \n eu-west-2\n , \n eu-west-3\n , \n sa-east-1\n , \n us-east-1\n , \n us-east-2\n , \n us-west-1\n , \n us-west-2\n .\n

                                      ", "smithy.api#required": {} } }, @@ -487,9 +487,9 @@ } }, "MediaRegion": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#MediaRegion", "traits": { - "smithy.api#documentation": "

                                      The Region in which to create the meeting. Default: us-east-1.

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

                                      The Region in which to create the meeting.

                                      ", "smithy.api#required": {} } }, @@ -582,7 +582,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK meeting ID.

                                      ", "smithy.api#httpLabel": {}, @@ -590,7 +590,7 @@ } }, "AttendeeId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK attendee ID.

                                      ", "smithy.api#httpLabel": {}, @@ -625,7 +625,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK meeting ID.

                                      ", "smithy.api#httpLabel": {}, @@ -788,7 +788,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK meeting ID.

                                      ", "smithy.api#httpLabel": {}, @@ -796,7 +796,7 @@ } }, "AttendeeId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK attendee ID.

                                      ", "smithy.api#httpLabel": {}, @@ -848,7 +848,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK meeting ID.

                                      ", "smithy.api#httpLabel": {}, @@ -879,7 +879,7 @@ "traits": { "smithy.api#length": { "min": 2, - "max": 4096 + "max": 2048 }, "smithy.api#sensitive": {} } @@ -943,7 +943,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The Amazon Chime SDK meeting ID.

                                      ", "smithy.api#httpLabel": {}, @@ -1039,6 +1039,15 @@ "smithy.api#documentation": "

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

                                      " } }, + "com.amazonaws.chimesdkmeetings#MediaRegion": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 2, + "max": 64 + } + } + }, "com.amazonaws.chimesdkmeetings#Meeting": { "type": "structure", "members": { @@ -1061,7 +1070,7 @@ } }, "MediaRegion": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#MediaRegion", "traits": { "smithy.api#documentation": "

                                      The Region in which you create the meeting. Available values: af-south-1, ap-northeast-1, \n ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, ca-central-1, \n eu-central-1, eu-north-1, eu-south-1,\n eu-west-1, eu-west-2, eu-west-3,\n sa-east-1, us-east-1, us-east-2,\n us-west-1, us-west-2.

                                      " } @@ -1208,7 +1217,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

                                      The unique ID of the meeting being transcribed.

                                      ", "smithy.api#httpLabel": {}, @@ -1262,7 +1271,7 @@ "type": "structure", "members": { "MeetingId": { - "target": "com.amazonaws.chimesdkmeetings#String", + "target": "com.amazonaws.chimesdkmeetings#GuidString", "traits": { "smithy.api#documentation": "

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

                                      ", "smithy.api#httpLabel": {}, diff --git a/codegen/sdk-codegen/aws-models/dynamodb.json b/codegen/sdk-codegen/aws-models/dynamodb.json index 110fbb91e0fde..69bb5a8638a8a 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb.json +++ b/codegen/sdk-codegen/aws-models/dynamodb.json @@ -38,19 +38,19 @@ "ArchivalDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      The date and time when table archival was initiated by DynamoDB,\n in UNIX epoch time format.

                                      " + "smithy.api#documentation": "

                                      The date and time when table archival was initiated by DynamoDB, in UNIX epoch time\n format.

                                      " } }, "ArchivalReason": { "target": "com.amazonaws.dynamodb#ArchivalReason", "traits": { - "smithy.api#documentation": "

                                      The reason DynamoDB archived the table. Currently, the only\n possible value is:

                                      \n\n
                                        \n
                                      • \n

                                        \n INACCESSIBLE_ENCRYPTION_CREDENTIALS - The\n table was archived due to the table's AWS KMS key being inaccessible\n for more than seven days. An On-Demand backup was created at the archival\n time.

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

                                      The reason DynamoDB archived the table. Currently, the only possible value is:

                                      \n\n
                                        \n
                                      • \n

                                        \n INACCESSIBLE_ENCRYPTION_CREDENTIALS - The table was archived due\n to the table's KMS key being inaccessible for more than seven\n days. An On-Demand backup was created at the archival time.

                                        \n
                                      • \n
                                      " } }, "ArchivalBackupArn": { "target": "com.amazonaws.dynamodb#BackupArn", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the backup the table was archived\n to, when applicable in the archival reason. If you wish to restore this\n backup to the same table name, you will need to delete the original\n table.

                                      " + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the backup the table was archived to, when\n applicable in the archival reason. If you wish to restore this backup to the same table\n name, you will need to delete the original table.

                                      " } } }, @@ -90,13 +90,13 @@ "AttributeType": { "target": "com.amazonaws.dynamodb#ScalarAttributeType", "traits": { - "smithy.api#documentation": "

                                      The data type for the attribute, where:

                                      \n
                                        \n
                                      • \n

                                        \n S - the attribute is of type String

                                        \n
                                      • \n
                                      • \n

                                        \n N - the attribute is of type Number

                                        \n
                                      • \n
                                      • \n

                                        \n B - the attribute is of type Binary

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

                                      The data type for the attribute, where:

                                      \n
                                        \n
                                      • \n

                                        \n S - the attribute is of type String

                                        \n
                                      • \n
                                      • \n

                                        \n N - the attribute is of type Number

                                        \n
                                      • \n
                                      • \n

                                        \n B - the attribute is of type Binary

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

                                      Represents an attribute for describing the key schema for the table and indexes.

                                      " + "smithy.api#documentation": "

                                      Represents an attribute for describing the key schema for the table and\n indexes.

                                      " } }, "com.amazonaws.dynamodb#AttributeDefinitions": { @@ -149,66 +149,66 @@ "S": { "target": "com.amazonaws.dynamodb#StringAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type String. For example:

                                      \n

                                      \n \"S\": \"Hello\"\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type String. For example:

                                      \n

                                      \n \"S\": \"Hello\"\n

                                      " } }, "N": { "target": "com.amazonaws.dynamodb#NumberAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Number. For example:

                                      \n

                                      \n \"N\": \"123.45\"\n

                                      \n

                                      Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

                                      " + "smithy.api#documentation": "

                                      An attribute of type Number. For example:

                                      \n

                                      \n \"N\": \"123.45\"\n

                                      \n

                                      Numbers are sent across the network to DynamoDB as strings, to maximize compatibility\n across languages and libraries. However, DynamoDB treats them as number type attributes\n for mathematical operations.

                                      " } }, "B": { "target": "com.amazonaws.dynamodb#BinaryAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Binary. For example:

                                      \n

                                      \n \"B\": \"dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk\"\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type Binary. For example:

                                      \n

                                      \n \"B\": \"dGhpcyB0ZXh0IGlzIGJhc2U2NC1lbmNvZGVk\"\n

                                      " } }, "SS": { "target": "com.amazonaws.dynamodb#StringSetAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type String Set. For example:

                                      \n

                                      \n \"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type String Set. For example:

                                      \n

                                      \n \"SS\": [\"Giraffe\", \"Hippo\" ,\"Zebra\"]\n

                                      " } }, "NS": { "target": "com.amazonaws.dynamodb#NumberSetAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Number Set. For example:

                                      \n

                                      \n \"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"]\n

                                      \n

                                      Numbers are sent across the network to DynamoDB as strings, to maximize compatibility across languages and libraries. However, DynamoDB treats them as number type attributes for mathematical operations.

                                      " + "smithy.api#documentation": "

                                      An attribute of type Number Set. For example:

                                      \n

                                      \n \"NS\": [\"42.2\", \"-19\", \"7.5\", \"3.14\"]\n

                                      \n

                                      Numbers are sent across the network to DynamoDB as strings, to maximize compatibility\n across languages and libraries. However, DynamoDB treats them as number type attributes\n for mathematical operations.

                                      " } }, "BS": { "target": "com.amazonaws.dynamodb#BinarySetAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Binary Set. For example:

                                      \n

                                      \n \"BS\": [\"U3Vubnk=\", \"UmFpbnk=\", \"U25vd3k=\"]\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type Binary Set. For example:

                                      \n

                                      \n \"BS\": [\"U3Vubnk=\", \"UmFpbnk=\", \"U25vd3k=\"]\n

                                      " } }, "M": { "target": "com.amazonaws.dynamodb#MapAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Map. For example:

                                      \n

                                      \n \"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type Map. For example:

                                      \n

                                      \n \"M\": {\"Name\": {\"S\": \"Joe\"}, \"Age\": {\"N\": \"35\"}}\n

                                      " } }, "L": { "target": "com.amazonaws.dynamodb#ListAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type List. For example:

                                      \n

                                      \n \"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type List. For example:

                                      \n

                                      \n \"L\": [ {\"S\": \"Cookies\"} , {\"S\": \"Coffee\"}, {\"N\", \"3.14159\"}]\n

                                      " } }, "NULL": { "target": "com.amazonaws.dynamodb#NullAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Null. For example:

                                      \n

                                      \n \"NULL\": true\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type Null. For example:

                                      \n

                                      \n \"NULL\": true\n

                                      " } }, "BOOL": { "target": "com.amazonaws.dynamodb#BooleanAttributeValue", "traits": { - "smithy.api#documentation": "

                                      An attribute of type Boolean. For example:

                                      \n

                                      \n \"BOOL\": true\n

                                      " + "smithy.api#documentation": "

                                      An attribute of type Boolean. For example:

                                      \n

                                      \n \"BOOL\": true\n

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

                                      Represents the data for an attribute.

                                      \n

                                      Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

                                      \n

                                      For more information, see Data Types in the\n Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the data for an attribute.

                                      \n

                                      Each attribute value is described as a name-value pair. The name is the data type, and\n the value is the data itself.

                                      \n

                                      For more information, see Data Types in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "com.amazonaws.dynamodb#AttributeValueList": { @@ -223,18 +223,18 @@ "Value": { "target": "com.amazonaws.dynamodb#AttributeValue", "traits": { - "smithy.api#documentation": "

                                      Represents the data for an attribute.

                                      \n

                                      Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

                                      \n

                                      For more information, see Data Types in the Amazon DynamoDB Developer Guide.\n

                                      " + "smithy.api#documentation": "

                                      Represents the data for an attribute.

                                      \n

                                      Each attribute value is described as a name-value pair. The name is the data type, and\n the value is the data itself.

                                      \n

                                      For more information, see Data Types in the Amazon DynamoDB Developer Guide.\n

                                      " } }, "Action": { "target": "com.amazonaws.dynamodb#AttributeAction", "traits": { - "smithy.api#documentation": "

                                      Specifies how to perform the update. Valid values are PUT (default), DELETE,\n and ADD. The behavior depends on whether the specified primary key already exists\n in the table.

                                      \n\n

                                      \n If an item with the specified Key is found in the table:\n

                                      \n\n
                                        \n
                                      • \n

                                        \n PUT - Adds the specified attribute to the item. If the attribute already\n exists, it is replaced by the new value.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETE - If no value is specified, the attribute and its value are removed\n from the item. The data type of the specified value must match the existing value's data\n type.

                                        \n

                                        If a set of values is specified, then those values are subtracted from the old\n set. For example, if the attribute value was the set [a,b,c] and the\n DELETE action specified [a,c], then the final attribute value would\n be [b]. Specifying an empty set is an error.

                                        \n
                                      • \n
                                      • \n

                                        \n ADD - If the attribute does not already exist, then the attribute and its\n values are added to the item. If the attribute does exist, then the behavior of\n ADD depends on the data type of the attribute:

                                        \n
                                          \n
                                        • \n

                                          If the existing attribute is a number, and if Value is also a number, then the\n Value is mathematically added to the existing attribute. If Value is a\n negative number, then it is subtracted from the existing attribute.

                                          \n \n

                                          If you use ADD to increment or decrement a number value for an item\n that doesn't exist before the update, DynamoDB uses 0 as the initial value.

                                          \n

                                          In addition, if you use ADD to update an existing item, and intend to\n increment or decrement an attribute value which does not yet exist, DynamoDB uses\n 0 as the initial value. For example, suppose that the item you want\n to update does not yet have an attribute named itemcount, but you decide to\n ADD the number 3 to this attribute anyway, even though\n it currently does not exist. DynamoDB will create the itemcount attribute, set\n its initial value to 0, and finally add 3 to it. The\n result will be a new itemcount attribute in the item, with a value of\n 3.

                                          \n
                                          \n
                                        • \n
                                        • \n

                                          If the existing data type is a set, and if the Value is also a set, then the\n Value is added to the existing set. (This is a set operation, not\n mathematical addition.) For example, if the attribute value was the set\n [1,2], and the ADD action specified [3], then\n the final attribute value would be [1,2,3]. An error occurs if an Add\n action is specified for a set attribute and the attribute type specified does not\n match the existing set type.

                                          \n

                                          Both sets must have the same primitive data type. For example, if the existing data\n type is a set of strings, the Value must also be a set of strings. The same\n holds true for number sets and binary sets.

                                          \n
                                        • \n
                                        \n

                                        This action is only valid for an existing attribute whose data type is number or is a\n set. Do not use ADD for any other data types.

                                        \n
                                      • \n
                                      \n\n

                                      \n If no item with the specified Key is found:\n

                                      \n\n
                                        \n
                                      • \n

                                        \n PUT - DynamoDB creates a new item with the specified primary key, and then adds\n the attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETE - Nothing happens; there is no attribute to delete.

                                        \n
                                      • \n
                                      • \n

                                        \n ADD - DynamoDB creates an item with the supplied primary key and number (or set\n of numbers) for the attribute value. The only data types allowed are number and number\n set; no other data types can be specified.

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

                                      Specifies how to perform the update. Valid values are PUT (default),\n DELETE, and ADD. The behavior depends on whether the\n specified primary key already exists in the table.

                                      \n\n

                                      \n If an item with the specified Key is found in\n the table:\n

                                      \n\n
                                        \n
                                      • \n

                                        \n PUT - Adds the specified attribute to the item. If the attribute\n already exists, it is replaced by the new value.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETE - If no value is specified, the attribute and its value are\n removed from the item. The data type of the specified value must match the\n existing value's data type.

                                        \n

                                        If a set of values is specified, then those values are\n subtracted from the old set. For example, if the attribute value was the set\n [a,b,c] and the DELETE action specified\n [a,c], then the final attribute value would be\n [b]. Specifying an empty set is an error.

                                        \n
                                      • \n
                                      • \n

                                        \n ADD - If the attribute does not already exist, then the attribute\n and its values are added to the item. If the attribute does exist, then the\n behavior of ADD depends on the data type of the attribute:

                                        \n
                                          \n
                                        • \n

                                          If the existing attribute is a number, and if Value is\n also a number, then the Value is mathematically added to\n the existing attribute. If Value is a negative number, then\n it is subtracted from the existing attribute.

                                          \n \n

                                          If you use ADD to increment or decrement a number\n value for an item that doesn't exist before the update, DynamoDB\n uses 0 as the initial value.

                                          \n

                                          In addition, if you use ADD to update an existing\n item, and intend to increment or decrement an attribute value which\n does not yet exist, DynamoDB uses 0 as the initial\n value. For example, suppose that the item you want to update does\n not yet have an attribute named itemcount, but\n you decide to ADD the number 3 to this\n attribute anyway, even though it currently does not exist. DynamoDB\n will create the itemcount attribute, set its\n initial value to 0, and finally add 3 to\n it. The result will be a new itemcount\n attribute in the item, with a value of 3.

                                          \n
                                          \n
                                        • \n
                                        • \n

                                          If the existing data type is a set, and if the Value is\n also a set, then the Value is added to the existing set.\n (This is a set operation, not mathematical\n addition.) For example, if the attribute value was the set\n [1,2], and the ADD action specified\n [3], then the final attribute value would be\n [1,2,3]. An error occurs if an Add action is specified\n for a set attribute and the attribute type specified does not match the\n existing set type.

                                          \n

                                          Both sets must have the same primitive data type. For example, if the\n existing data type is a set of strings, the Value must also\n be a set of strings. The same holds true for number sets and binary\n sets.

                                          \n
                                        • \n
                                        \n

                                        This action is only valid for an existing attribute whose data type is number\n or is a set. Do not use ADD for any other data types.

                                        \n
                                      • \n
                                      \n\n

                                      \n If no item with the specified Key is\n found:\n

                                      \n\n
                                        \n
                                      • \n

                                        \n PUT - DynamoDB creates a new item with the specified primary key,\n and then adds the attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETE - Nothing happens; there is no attribute to delete.

                                        \n
                                      • \n
                                      • \n

                                        \n ADD - DynamoDB creates an item with the supplied primary key and\n number (or set of numbers) for the attribute value. The only data types allowed\n are number and number set; no other data types can be specified.

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

                                      For the UpdateItem operation, represents the attributes to be modified, the action to\n perform on each, and the new value for each.

                                      \n \n

                                      You cannot use UpdateItem to update any primary key attributes. Instead, you will\n need to delete the item, and then use PutItem to create a new item with new\n attributes.

                                      \n
                                      \n

                                      Attribute values cannot be null; string and binary type attributes must have lengths greater\n than zero; and set type attributes must not be empty. Requests with empty values will be\n rejected with a ValidationException exception.

                                      " + "smithy.api#documentation": "

                                      For the UpdateItem operation, represents the attributes to be modified,\n the action to perform on each, and the new value for each.

                                      \n \n

                                      You cannot use UpdateItem to update any primary key attributes.\n Instead, you will need to delete the item, and then use PutItem to\n create a new item with new attributes.

                                      \n
                                      \n

                                      Attribute values cannot be null; string and binary type attributes must have lengths\n greater than zero; and set type attributes must not be empty. Requests with empty values\n will be rejected with a ValidationException exception.

                                      " } }, "com.amazonaws.dynamodb#AutoScalingPolicyDescription": { @@ -310,13 +310,13 @@ "MinimumUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The minimum capacity units that a global table or global secondary index should be scaled down to.

                                      " + "smithy.api#documentation": "

                                      The minimum capacity units that a global table or global secondary index should be\n scaled down to.

                                      " } }, "MaximumUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum capacity units that a global table or global secondary index should be scaled up to.

                                      " + "smithy.api#documentation": "

                                      The maximum capacity units that a global table or global secondary index should be\n scaled up to.

                                      " } }, "AutoScalingDisabled": { @@ -339,7 +339,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents the auto scaling settings for a global table or global secondary\n index.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings for a global table or global secondary\n index.

                                      " } }, "com.amazonaws.dynamodb#AutoScalingSettingsUpdate": { @@ -348,13 +348,13 @@ "MinimumUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The minimum capacity units that a global table or global secondary index should be scaled down to.

                                      " + "smithy.api#documentation": "

                                      The minimum capacity units that a global table or global secondary index should be\n scaled down to.

                                      " } }, "MaximumUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum capacity units that a global table or global secondary index should be scaled up to.

                                      " + "smithy.api#documentation": "

                                      The maximum capacity units that a global table or global secondary index should be\n scaled up to.

                                      " } }, "AutoScalingDisabled": { @@ -372,12 +372,12 @@ "ScalingPolicyUpdate": { "target": "com.amazonaws.dynamodb#AutoScalingPolicyUpdate", "traits": { - "smithy.api#documentation": "

                                      The scaling policy to apply for scaling target global table or global secondary index capacity units.

                                      " + "smithy.api#documentation": "

                                      The scaling policy to apply for scaling target global table or global secondary index\n capacity units.

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

                                      Represents the auto scaling settings to be modified for a global table or global\n secondary index.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings to be modified for a global table or global\n secondary index.

                                      " } }, "com.amazonaws.dynamodb#AutoScalingTargetTrackingScalingPolicyConfigurationDescription": { @@ -386,25 +386,25 @@ "DisableScaleIn": { "target": "com.amazonaws.dynamodb#BooleanObject", "traits": { - "smithy.api#documentation": "

                                      Indicates whether scale in by the target tracking policy is disabled. If the value is true,\n scale in is disabled and the target tracking policy won't remove capacity from the scalable resource.\n Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource.\n The default value is false.

                                      " + "smithy.api#documentation": "

                                      Indicates whether scale in by the target tracking policy is disabled. If the value is\n true, scale in is disabled and the target tracking policy won't remove capacity from the\n scalable resource. Otherwise, scale in is enabled and the target tracking policy can\n remove capacity from the scalable resource. The default value is false.

                                      " } }, "ScaleInCooldown": { "target": "com.amazonaws.dynamodb#IntegerObject", "traits": { - "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale in activity completes before another scale\n in activity can start. The cooldown period is used to block subsequent scale in requests\n until it has expired. You should scale in conservatively to protect your application's\n availability. However, if another alarm triggers a scale out policy during the cooldown\n period after a scale-in, application auto scaling scales out your scalable target\n immediately.

                                      " + "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale in activity completes before another\n scale in activity can start. The cooldown period is used to block subsequent scale in\n requests until it has expired. You should scale in conservatively to protect your\n application's availability. However, if another alarm triggers a scale out policy during\n the cooldown period after a scale-in, application auto scaling scales out your scalable\n target immediately.

                                      " } }, "ScaleOutCooldown": { "target": "com.amazonaws.dynamodb#IntegerObject", "traits": { - "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale out activity completes before another scale out\n activity can start. While the cooldown period is in effect, the capacity that has been added\n by the previous scale out event that initiated the cooldown is calculated as part of the\n desired capacity for the next scale out. You should continuously (but not excessively)\n scale out.

                                      " + "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale out activity completes before another\n scale out activity can start. While the cooldown period is in effect, the capacity that\n has been added by the previous scale out event that initiated the cooldown is calculated\n as part of the desired capacity for the next scale out. You should continuously (but not\n excessively) scale out.

                                      " } }, "TargetValue": { "target": "com.amazonaws.dynamodb#Double", "traits": { - "smithy.api#documentation": "

                                      The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

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

                                      The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10)\n or 2e-360 to 2e360 (Base 2).

                                      ", "smithy.api#required": {} } } @@ -419,31 +419,31 @@ "DisableScaleIn": { "target": "com.amazonaws.dynamodb#BooleanObject", "traits": { - "smithy.api#documentation": "

                                      Indicates whether scale in by the target tracking policy is disabled. If the value is true,\n scale in is disabled and the target tracking policy won't remove capacity from the scalable resource.\n Otherwise, scale in is enabled and the target tracking policy can remove capacity from the scalable resource.\n The default value is false.

                                      " + "smithy.api#documentation": "

                                      Indicates whether scale in by the target tracking policy is disabled. If the value is\n true, scale in is disabled and the target tracking policy won't remove capacity from the\n scalable resource. Otherwise, scale in is enabled and the target tracking policy can\n remove capacity from the scalable resource. The default value is false.

                                      " } }, "ScaleInCooldown": { "target": "com.amazonaws.dynamodb#IntegerObject", "traits": { - "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale in activity completes before another scale\n in activity can start. The cooldown period is used to block subsequent scale in requests\n until it has expired. You should scale in conservatively to protect your application's\n availability. However, if another alarm triggers a scale out policy during the cooldown\n period after a scale-in, application auto scaling scales out your scalable target\n immediately.

                                      " + "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale in activity completes before another\n scale in activity can start. The cooldown period is used to block subsequent scale in\n requests until it has expired. You should scale in conservatively to protect your\n application's availability. However, if another alarm triggers a scale out policy during\n the cooldown period after a scale-in, application auto scaling scales out your scalable\n target immediately.

                                      " } }, "ScaleOutCooldown": { "target": "com.amazonaws.dynamodb#IntegerObject", "traits": { - "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale out activity completes before another scale out\n activity can start. While the cooldown period is in effect, the capacity that has been added\n by the previous scale out event that initiated the cooldown is calculated as part of the\n desired capacity for the next scale out. You should continuously (but not excessively)\n scale out.

                                      " + "smithy.api#documentation": "

                                      The amount of time, in seconds, after a scale out activity completes before another\n scale out activity can start. While the cooldown period is in effect, the capacity that\n has been added by the previous scale out event that initiated the cooldown is calculated\n as part of the desired capacity for the next scale out. You should continuously (but not\n excessively) scale out.

                                      " } }, "TargetValue": { "target": "com.amazonaws.dynamodb#Double", "traits": { - "smithy.api#documentation": "

                                      The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).

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

                                      The target value for the metric. The range is 8.515920e-109 to 1.174271e+108 (Base 10)\n or 2e-360 to 2e360 (Base 2).

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

                                      Represents the settings of a target tracking scaling policy that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the settings of a target tracking scaling policy that will be\n modified.

                                      " } }, "com.amazonaws.dynamodb#Backfilling": { @@ -482,7 +482,7 @@ "SourceTableFeatureDetails": { "target": "com.amazonaws.dynamodb#SourceTableFeatureDetails", "traits": { - "smithy.api#documentation": "

                                      Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, streams, TTL.

                                      " + "smithy.api#documentation": "

                                      Contains the details of the features enabled on the table when the backup was created.\n For example, LSIs, GSIs, streams, TTL.

                                      " } } }, @@ -523,7 +523,7 @@ "BackupType": { "target": "com.amazonaws.dynamodb#BackupType", "traits": { - "smithy.api#documentation": "

                                      BackupType:

                                      \n
                                        \n
                                      • \n

                                        \n USER - You create and manage these using the on-demand backup feature.

                                        \n
                                      • \n
                                      • \n

                                        \n SYSTEM - If you delete a table with point-in-time recovery enabled, a SYSTEM backup is automatically\n created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted \n\t\ttable to the state it was in just before the point of deletion.\n\t\t

                                        \n
                                      • \n
                                      • \n

                                        \n AWS_BACKUP - On-demand backup created by you from AWS Backup service.

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

                                      BackupType:

                                      \n
                                        \n
                                      • \n

                                        \n USER - You create and manage these using the on-demand backup\n feature.

                                        \n
                                      • \n
                                      • \n

                                        \n SYSTEM - If you delete a table with point-in-time recovery enabled,\n a SYSTEM backup is automatically created and is retained for 35\n days (at no additional cost). System backups allow you to restore the deleted\n table to the state it was in just before the point of deletion.

                                        \n
                                      • \n
                                      • \n

                                        \n AWS_BACKUP - On-demand backup created by you from Backup service.

                                        \n
                                      • \n
                                      ", "smithy.api#required": {} } }, @@ -537,7 +537,7 @@ "BackupExpiryDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      Time at which the automatic on-demand backup created by DynamoDB will expire. This SYSTEM\n on-demand backup expires automatically 35 days after its creation.

                                      " + "smithy.api#documentation": "

                                      Time at which the automatic on-demand backup created by DynamoDB will\n expire. This SYSTEM on-demand backup expires automatically 35 days after\n its creation.

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

                                      There is another ongoing conflicting backup control plane operation on the table. The backup is either being created, deleted or restored to a table.

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

                                      There is another ongoing conflicting backup control plane operation on the table.\n The backup is either being created, deleted or restored to a table.

                                      ", "smithy.api#error": "client" } }, @@ -655,7 +655,7 @@ "BackupExpiryDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      Time at which the automatic on-demand backup created by DynamoDB will expire. This\n SYSTEM on-demand backup expires automatically 35 days after its\n creation.

                                      " + "smithy.api#documentation": "

                                      Time at which the automatic on-demand backup created by DynamoDB will\n expire. This SYSTEM on-demand backup expires automatically 35 days after\n its creation.

                                      " } }, "BackupStatus": { @@ -667,7 +667,7 @@ "BackupType": { "target": "com.amazonaws.dynamodb#BackupType", "traits": { - "smithy.api#documentation": "

                                      BackupType:

                                      \n
                                        \n
                                      • \n

                                        \n USER - You create and manage these using the on-demand backup feature.

                                        \n
                                      • \n
                                      • \n

                                        \n SYSTEM - If you delete a table with point-in-time recovery enabled, a SYSTEM backup is automatically\n created and is retained for 35 days (at no additional cost). System backups allow you to restore the deleted \n\t\ttable to the state it was in just before the point of deletion.\n\t\t

                                        \n
                                      • \n
                                      • \n

                                        \n AWS_BACKUP - On-demand backup created by you from AWS Backup service.

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

                                      BackupType:

                                      \n
                                        \n
                                      • \n

                                        \n USER - You create and manage these using the on-demand backup\n feature.

                                        \n
                                      • \n
                                      • \n

                                        \n SYSTEM - If you delete a table with point-in-time recovery enabled,\n a SYSTEM backup is automatically created and is retained for 35\n days (at no additional cost). System backups allow you to restore the deleted\n table to the state it was in just before the point of deletion.

                                        \n
                                      • \n
                                      • \n

                                        \n AWS_BACKUP - On-demand backup created by you from Backup service.

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

                                      \nThis operation allows you to perform batch reads and writes on data stored in DynamoDB, using PartiQL.\n

                                      " + "smithy.api#documentation": "

                                      This operation allows you to perform batch reads or writes on data stored in DynamoDB,\n using PartiQL.

                                      \n \n

                                      The entire batch must consist of either read statements or write statements, you\n cannot mix both in one batch.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#BatchExecuteStatementInput": { @@ -759,7 +759,7 @@ "Statements": { "target": "com.amazonaws.dynamodb#PartiQLBatchRequest", "traits": { - "smithy.api#documentation": "

                                      \nThe list of PartiQL statements representing the batch to run.\n

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

                                      The list of PartiQL statements representing the batch to run.

                                      ", "smithy.api#required": {} } } @@ -771,7 +771,7 @@ "Responses": { "target": "com.amazonaws.dynamodb#PartiQLBatchResponse", "traits": { - "smithy.api#documentation": "

                                      \nThe response to each PartiQL statement in the batch.\n

                                      " + "smithy.api#documentation": "

                                      The response to each PartiQL statement in the batch.

                                      " } } } @@ -805,7 +805,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The BatchGetItem operation returns the attributes of one or more items from one or\n more tables. You identify requested items by primary key.

                                      \n

                                      A single operation can retrieve up to 16 MB of data, which can contain as many as 100\n items. BatchGetItem returns a partial result if the response size limit is\n exceeded, the table's provisioned throughput is exceeded, or an internal processing\n failure occurs. If a partial result is returned, the operation returns a value for\n UnprocessedKeys. You can use this value to retry the operation starting\n with the next item to get.

                                      \n \n

                                      If you request more than 100 items, BatchGetItem returns a\n ValidationException with the message \"Too many items requested for\n the BatchGetItem call.\"

                                      \n
                                      \n

                                      For example, if you ask to retrieve 100 items, but each individual item is 300 KB in\n size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns\n an appropriate UnprocessedKeys value so you can get the next page of\n results. If desired, your application can include its own logic to assemble the pages of\n results into one dataset.

                                      \n

                                      If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchGetItem returns a\n ProvisionedThroughputExceededException. If at least\n one of the items is successfully processed, then\n BatchGetItem completes successfully, while returning the keys of the\n unread items in UnprocessedKeys.

                                      \n \n

                                      If DynamoDB returns any unprocessed items, you should retry the batch operation on those\n items. However, we strongly recommend that you use an exponential backoff algorithm.\n If you retry the batch operation immediately, the underlying read or write requests can\n still fail due to throttling on the individual tables. If you delay the batch operation\n using exponential backoff, the individual requests in the batch are much more likely to\n succeed.

                                      \n

                                      For more information, see Batch\n Operations and Error Handling in the Amazon DynamoDB Developer Guide.

                                      \n
                                      \n

                                      By default, BatchGetItem performs eventually consistent reads on every table in the\n request. If you want strongly consistent reads instead, you can set ConsistentRead to\n true for any or all tables.

                                      \n

                                      In order to minimize response latency, BatchGetItem retrieves items in parallel.

                                      \n

                                      When designing your application, keep in mind that DynamoDB does not return items in any\n particular order. To help parse the response by item, include the primary key values for the\n items in your request in the ProjectionExpression parameter.

                                      \n

                                      If a requested item does not exist, it is not returned in the result. Requests for\n nonexistent items consume the minimum read capacity units according to the type of read.\n For more information, see Working with Tables in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      The BatchGetItem operation returns the attributes of one or more items\n from one or more tables. You identify requested items by primary key.

                                      \n

                                      A single operation can retrieve up to 16 MB of data, which can contain as many as 100\n items. BatchGetItem returns a partial result if the response size limit is\n exceeded, the table's provisioned throughput is exceeded, or an internal processing\n failure occurs. If a partial result is returned, the operation returns a value for\n UnprocessedKeys. You can use this value to retry the operation starting\n with the next item to get.

                                      \n \n

                                      If you request more than 100 items, BatchGetItem returns a\n ValidationException with the message \"Too many items requested for\n the BatchGetItem call.\"

                                      \n
                                      \n

                                      For example, if you ask to retrieve 100 items, but each individual item is 300 KB in\n size, the system returns 52 items (so as not to exceed the 16 MB limit). It also returns\n an appropriate UnprocessedKeys value so you can get the next page of\n results. If desired, your application can include its own logic to assemble the pages of\n results into one dataset.

                                      \n

                                      If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchGetItem returns a\n ProvisionedThroughputExceededException. If at least\n one of the items is successfully processed, then\n BatchGetItem completes successfully, while returning the keys of the\n unread items in UnprocessedKeys.

                                      \n \n

                                      If DynamoDB returns any unprocessed items, you should retry the batch operation on\n those items. However, we strongly recommend that you use an exponential\n backoff algorithm. If you retry the batch operation immediately, the\n underlying read or write requests can still fail due to throttling on the individual\n tables. If you delay the batch operation using exponential backoff, the individual\n requests in the batch are much more likely to succeed.

                                      \n

                                      For more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.

                                      \n
                                      \n

                                      By default, BatchGetItem performs eventually consistent reads on every\n table in the request. If you want strongly consistent reads instead, you can set\n ConsistentRead to true for any or all tables.

                                      \n

                                      In order to minimize response latency, BatchGetItem retrieves items in\n parallel.

                                      \n

                                      When designing your application, keep in mind that DynamoDB does not return items in\n any particular order. To help parse the response by item, include the primary key values\n for the items in your request in the ProjectionExpression parameter.

                                      \n

                                      If a requested item does not exist, it is not returned in the result. Requests for\n nonexistent items consume the minimum read capacity units according to the type of read.\n For more information, see Working with Tables in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "com.amazonaws.dynamodb#BatchGetItemInput": { @@ -814,7 +814,7 @@ "RequestItems": { "target": "com.amazonaws.dynamodb#BatchGetRequestMap", "traits": { - "smithy.api#documentation": "

                                      A map of one or more table names and, for each table, a map that describes one or more items to retrieve from that table. Each table name can be used only once per BatchGetItem request.

                                      \n

                                      Each element in the map of items to retrieve consists of the following:

                                      \n
                                        \n
                                      • \n

                                        \n ConsistentRead - If true, a strongly consistent read is used; if\n false (the default), an eventually consistent read is used.

                                        \n
                                      • \n
                                      • \n

                                        \n ExpressionAttributeNames - One or more substitution tokens for attribute names in the ProjectionExpression parameter. The following are some use cases for using ExpressionAttributeNames:

                                        \n
                                          \n
                                        • \n

                                          To access an attribute whose name conflicts with a DynamoDB reserved word.

                                          \n
                                        • \n
                                        • \n

                                          To create a placeholder for repeating occurrences of an attribute name in an expression.

                                          \n
                                        • \n
                                        • \n

                                          To prevent special characters in an attribute name from being misinterpreted in an expression.

                                          \n
                                        • \n
                                        \n

                                        Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                        \n
                                          \n
                                        • \n

                                          \n Percentile\n

                                          \n
                                        • \n
                                        \n

                                        The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                        \n
                                          \n
                                        • \n

                                          \n {\"#P\":\"Percentile\"}\n

                                          \n
                                        • \n
                                        \n

                                        You could then use this substitution in an expression, as in this example:

                                        \n
                                          \n
                                        • \n

                                          \n #P = :val\n

                                          \n
                                        • \n
                                        \n \n

                                        Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                        \n
                                        \n

                                        For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB\n Developer Guide.

                                        \n
                                      • \n
                                      • \n

                                        \n Keys - An array of primary key attribute values that define specific items in the\n table. For each primary key, you must provide all of the key attributes. For\n example, with a simple primary key, you only need to provide the partition key value. For a\n composite key, you must provide both the partition key value and the sort key value.

                                        \n
                                      • \n
                                      • \n

                                        \n ProjectionExpression - A string that identifies one or more\n attributes to retrieve from the table. These attributes can include scalars,\n sets, or elements of a JSON document. The attributes in the expression must be\n separated by commas.

                                        \n

                                        If no attribute names are specified, then all attributes are returned. If any\n of the requested attributes are not found, they do not appear in the\n result.

                                        \n

                                        For more information, see\n Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                        \n
                                      • \n
                                      • \n

                                        \n AttributesToGet - This is a legacy parameter. Use ProjectionExpression instead. For more information, see\n AttributesToGet in the Amazon DynamoDB Developer Guide.\n\n

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

                                      A map of one or more table names and, for each table, a map that describes one or more\n items to retrieve from that table. Each table name can be used only once per\n BatchGetItem request.

                                      \n

                                      Each element in the map of items to retrieve consists of the following:

                                      \n
                                        \n
                                      • \n

                                        \n ConsistentRead - If true, a strongly consistent read\n is used; if false (the default), an eventually consistent read is\n used.

                                        \n
                                      • \n
                                      • \n

                                        \n ExpressionAttributeNames - One or more substitution tokens for\n attribute names in the ProjectionExpression parameter. The\n following are some use cases for using\n ExpressionAttributeNames:

                                        \n
                                          \n
                                        • \n

                                          To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                          \n
                                        • \n
                                        • \n

                                          To create a placeholder for repeating occurrences of an attribute name\n in an expression.

                                          \n
                                        • \n
                                        • \n

                                          To prevent special characters in an attribute name from being\n misinterpreted in an expression.

                                          \n
                                        • \n
                                        \n

                                        Use the # character in an expression to\n dereference an attribute name. For example, consider the following attribute\n name:

                                        \n
                                          \n
                                        • \n

                                          \n Percentile\n

                                          \n
                                        • \n
                                        \n

                                        The name of this attribute conflicts with a reserved word, so it cannot be\n used directly in an expression. (For the complete list of reserved words, see\n Reserved\n Words in the Amazon DynamoDB Developer Guide).\n To work around this, you could specify the following for\n ExpressionAttributeNames:

                                        \n
                                          \n
                                        • \n

                                          \n {\"#P\":\"Percentile\"}\n

                                          \n
                                        • \n
                                        \n

                                        You could then use this substitution in an expression, as in this\n example:

                                        \n
                                          \n
                                        • \n

                                          \n #P = :val\n

                                          \n
                                        • \n
                                        \n \n

                                        Tokens that begin with the : character\n are expression attribute values, which are placeholders\n for the actual value at runtime.

                                        \n
                                        \n

                                        For more information about expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB\n Developer Guide.

                                        \n
                                      • \n
                                      • \n

                                        \n Keys - An array of primary key attribute values that define\n specific items in the table. For each primary key, you must provide\n all of the key attributes. For example, with a simple\n primary key, you only need to provide the partition key value. For a composite\n key, you must provide both the partition key value and the\n sort key value.

                                        \n
                                      • \n
                                      • \n

                                        \n ProjectionExpression - A string that identifies one or more\n attributes to retrieve from the table. These attributes can include scalars,\n sets, or elements of a JSON document. The attributes in the expression must be\n separated by commas.

                                        \n

                                        If no attribute names are specified, then all attributes are returned. If any\n of the requested attributes are not found, they do not appear in the\n result.

                                        \n

                                        For more information, see Accessing Item Attributes in the Amazon DynamoDB\n Developer Guide.

                                        \n
                                      • \n
                                      • \n

                                        \n AttributesToGet - This is a legacy parameter. Use\n ProjectionExpression instead. For more information, see AttributesToGet in the Amazon DynamoDB Developer\n Guide.

                                        \n\n
                                      • \n
                                      ", "smithy.api#required": {} } }, @@ -832,19 +832,19 @@ "Responses": { "target": "com.amazonaws.dynamodb#BatchGetResponseMap", "traits": { - "smithy.api#documentation": "

                                      A map of table name to a list of items. Each object in Responses consists of a table\n name, along with a map of attribute data consisting of the data type and attribute value.

                                      " + "smithy.api#documentation": "

                                      A map of table name to a list of items. Each object in Responses consists\n of a table name, along with a map of attribute data consisting of the data type and\n attribute value.

                                      " } }, "UnprocessedKeys": { "target": "com.amazonaws.dynamodb#BatchGetRequestMap", "traits": { - "smithy.api#documentation": "

                                      A map of tables and their respective keys that were not processed with the current response.\n The UnprocessedKeys value is in the same form as RequestItems, so the value can\n be provided directly to a subsequent BatchGetItem operation. For more information, see\n RequestItems in the Request Parameters section.

                                      \n

                                      Each element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n Keys - An array of primary key attribute values that define specific items in the\n table.

                                        \n
                                      • \n
                                      • \n

                                        \n ProjectionExpression - One or more attributes to be\n retrieved from the table or index. By default, all attributes are returned. If a\n requested attribute is not found, it does not appear in the result.

                                        \n
                                      • \n
                                      • \n

                                        \n ConsistentRead - The consistency of a read operation. If set to true,\n then a strongly consistent read is used; otherwise, an eventually consistent read is\n used.

                                        \n
                                      • \n
                                      \n

                                      If there are no unprocessed keys remaining, the response contains an empty\n UnprocessedKeys map.

                                      " + "smithy.api#documentation": "

                                      A map of tables and their respective keys that were not processed with the current\n response. The UnprocessedKeys value is in the same form as\n RequestItems, so the value can be provided directly to a subsequent\n BatchGetItem operation. For more information, see\n RequestItems in the Request Parameters section.

                                      \n

                                      Each element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n Keys - An array of primary key attribute values that define\n specific items in the table.

                                        \n
                                      • \n
                                      • \n

                                        \n ProjectionExpression - One or more attributes to be retrieved from\n the table or index. By default, all attributes are returned. If a requested\n attribute is not found, it does not appear in the result.

                                        \n
                                      • \n
                                      • \n

                                        \n ConsistentRead - The consistency of a read operation. If set to\n true, then a strongly consistent read is used; otherwise, an\n eventually consistent read is used.

                                        \n
                                      • \n
                                      \n

                                      If there are no unprocessed keys remaining, the response contains an empty\n UnprocessedKeys map.

                                      " } }, "ConsumedCapacity": { "target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple", "traits": { - "smithy.api#documentation": "

                                      The read capacity units consumed by the entire BatchGetItem operation.

                                      \n

                                      Each element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n TableName - The table that consumed the provisioned throughput.

                                        \n
                                      • \n
                                      • \n

                                        \n CapacityUnits - The total number of capacity units consumed.

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

                                      The read capacity units consumed by the entire BatchGetItem\n operation.

                                      \n

                                      Each element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n TableName - The table that consumed the provisioned\n throughput.

                                        \n
                                      • \n
                                      • \n

                                        \n CapacityUnits - The total number of capacity units consumed.

                                        \n
                                      • \n
                                      " } } }, @@ -882,18 +882,18 @@ "Code": { "target": "com.amazonaws.dynamodb#BatchStatementErrorCodeEnum", "traits": { - "smithy.api#documentation": "

                                      \nThe error code associated with the failed PartiQL batch statement.\n

                                      " + "smithy.api#documentation": "

                                      The error code associated with the failed PartiQL batch statement.

                                      " } }, "Message": { "target": "com.amazonaws.dynamodb#String", "traits": { - "smithy.api#documentation": "

                                      \nThe error message associated with the PartiQL batch resposne.\n

                                      " + "smithy.api#documentation": "

                                      The error message associated with the PartiQL batch resposne.

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

                                      \nAn error associated with a statement in a PartiQL batch that was run.\n

                                      " + "smithy.api#documentation": "

                                      An error associated with a statement in a PartiQL batch that was run.

                                      " } }, "com.amazonaws.dynamodb#BatchStatementErrorCodeEnum": { @@ -953,25 +953,25 @@ "Statement": { "target": "com.amazonaws.dynamodb#PartiQLStatement", "traits": { - "smithy.api#documentation": "

                                      \nA valid PartiQL statement.\n

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

                                      A valid PartiQL statement.

                                      ", "smithy.api#required": {} } }, "Parameters": { "target": "com.amazonaws.dynamodb#PreparedStatementParameters", "traits": { - "smithy.api#documentation": "

                                      \nThe parameters associated with a PartiQL statement in the batch request.\n

                                      " + "smithy.api#documentation": "

                                      The parameters associated with a PartiQL statement in the batch request.

                                      " } }, "ConsistentRead": { "target": "com.amazonaws.dynamodb#ConsistentRead", "traits": { - "smithy.api#documentation": "

                                      \nThe read consistency of the PartiQL batch request. \n

                                      " + "smithy.api#documentation": "

                                      The read consistency of the PartiQL batch request.

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

                                      \nA PartiQL batch statement request. \n

                                      " + "smithy.api#documentation": "

                                      A PartiQL batch statement request.

                                      " } }, "com.amazonaws.dynamodb#BatchStatementResponse": { @@ -980,24 +980,24 @@ "Error": { "target": "com.amazonaws.dynamodb#BatchStatementError", "traits": { - "smithy.api#documentation": "

                                      \nThe error associated with a failed PartiQL batch statement.\n

                                      " + "smithy.api#documentation": "

                                      The error associated with a failed PartiQL batch statement.

                                      " } }, "TableName": { "target": "com.amazonaws.dynamodb#TableName", "traits": { - "smithy.api#documentation": "

                                      \nThe table name associated with a failed PartiQL batch statement.\n

                                      " + "smithy.api#documentation": "

                                      The table name associated with a failed PartiQL batch statement.

                                      " } }, "Item": { "target": "com.amazonaws.dynamodb#AttributeMap", "traits": { - "smithy.api#documentation": "

                                      \nA DynamoDB item associated with a BatchStatementResponse\n

                                      " + "smithy.api#documentation": "

                                      A DynamoDB item associated with a BatchStatementResponse

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

                                      \nA PartiQL batch statement response..\n

                                      " + "smithy.api#documentation": "

                                      A PartiQL batch statement response..

                                      " } }, "com.amazonaws.dynamodb#BatchWriteItem": { @@ -1032,7 +1032,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The BatchWriteItem operation puts or deletes multiple items in one or more\n tables. A single call to BatchWriteItem can write up to 16 MB of data,\n which can comprise as many as 25 put or delete requests. Individual items to be written\n can be as large as 400 KB.

                                      \n \n

                                      \n BatchWriteItem cannot update items. To update items, use the UpdateItem\n action.

                                      \n
                                      \n

                                      The individual PutItem and DeleteItem operations specified in\n BatchWriteItem are atomic; however BatchWriteItem as a whole is not. If any\n requested operations fail because the table's provisioned throughput is exceeded or an\n internal processing failure occurs, the failed operations are returned in the\n UnprocessedItems response parameter. You can investigate and optionally resend the\n requests. Typically, you would call BatchWriteItem in a loop. Each iteration would\n check for unprocessed items and submit a new BatchWriteItem request with those\n unprocessed items until all items have been processed.

                                      \n

                                      If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchWriteItem returns a\n ProvisionedThroughputExceededException.

                                      \n \n

                                      If DynamoDB returns any unprocessed items, you should retry the batch operation on those\n items. However, we strongly recommend that you use an exponential backoff algorithm.\n If you retry the batch operation immediately, the underlying read or write requests can\n still fail due to throttling on the individual tables. If you delay the batch operation\n using exponential backoff, the individual requests in the batch are much more likely to\n succeed.

                                      \n

                                      For more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.

                                      \n
                                      \n\n

                                      With BatchWriteItem, you can efficiently write or delete large amounts of\n data, such as from Amazon EMR, or copy data from another database into DynamoDB. In\n order to improve performance with these large-scale operations,\n BatchWriteItem does not behave in the same way as individual\n PutItem and DeleteItem calls would. For example, you\n cannot specify conditions on individual put and delete requests, and\n BatchWriteItem does not return deleted items in the response.

                                      \n

                                      If you use a programming language that supports concurrency, you can use\n threads to write items in parallel. Your application must include the necessary logic to\n manage the threads. With languages that don't support threading, you must update\n or delete the specified items one at a time. In both situations, BatchWriteItem\n performs the specified put and delete operations in\n parallel, giving you the power of the thread pool approach without having to introduce\n complexity into your application.

                                      \n

                                      Parallel processing reduces latency, but each specified put and delete request consumes the same number of write capacity units whether it is processed in parallel or not. Delete operations on nonexistent items consume one write capacity unit.

                                      \n

                                      If one or more of the following is true, DynamoDB rejects the entire batch write operation:

                                      \n
                                        \n
                                      • \n

                                        One or more tables specified in the BatchWriteItem request does not exist.

                                        \n
                                      • \n
                                      • \n

                                        Primary key attributes specified on an item in the request do not match those in the corresponding table's primary key schema.

                                        \n
                                      • \n
                                      • \n

                                        You try to perform multiple operations on the same item in the same BatchWriteItem\n request. For example, you cannot put and delete the same item in the same\n BatchWriteItem request.

                                        \n
                                      • \n
                                      • \n\t

                                        \n\t\tYour request contains at least two items with identical hash and range keys (which essentially is two put operations).\n\t

                                        \n \t
                                      • \n
                                      • \n

                                        There are more than 25 requests in the batch.

                                        \n
                                      • \n
                                      • \n

                                        Any individual item in a batch exceeds 400 KB.

                                        \n
                                      • \n
                                      • \n

                                        The total request size exceeds 16 MB.

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

                                      The BatchWriteItem operation puts or deletes multiple items in one or\n more tables. A single call to BatchWriteItem can write up to 16 MB of data,\n which can comprise as many as 25 put or delete requests. Individual items to be written\n can be as large as 400 KB.

                                      \n \n

                                      \n BatchWriteItem cannot update items. To update items, use the\n UpdateItem action.

                                      \n
                                      \n

                                      The individual PutItem and DeleteItem operations specified\n in BatchWriteItem are atomic; however BatchWriteItem as a\n whole is not. If any requested operations fail because the table's provisioned\n throughput is exceeded or an internal processing failure occurs, the failed operations\n are returned in the UnprocessedItems response parameter. You can\n investigate and optionally resend the requests. Typically, you would call\n BatchWriteItem in a loop. Each iteration would check for unprocessed\n items and submit a new BatchWriteItem request with those unprocessed items\n until all items have been processed.

                                      \n

                                      If none of the items can be processed due to insufficient\n provisioned throughput on all of the tables in the request, then\n BatchWriteItem returns a\n ProvisionedThroughputExceededException.

                                      \n \n

                                      If DynamoDB returns any unprocessed items, you should retry the batch operation on\n those items. However, we strongly recommend that you use an exponential\n backoff algorithm. If you retry the batch operation immediately, the\n underlying read or write requests can still fail due to throttling on the individual\n tables. If you delay the batch operation using exponential backoff, the individual\n requests in the batch are much more likely to succeed.

                                      \n

                                      For more information, see Batch Operations and Error Handling in the Amazon DynamoDB\n Developer Guide.

                                      \n
                                      \n\n

                                      With BatchWriteItem, you can efficiently write or delete large amounts of\n data, such as from Amazon EMR, or copy data from another database into DynamoDB. In\n order to improve performance with these large-scale operations,\n BatchWriteItem does not behave in the same way as individual\n PutItem and DeleteItem calls would. For example, you\n cannot specify conditions on individual put and delete requests, and\n BatchWriteItem does not return deleted items in the response.

                                      \n

                                      If you use a programming language that supports concurrency, you can use threads to\n write items in parallel. Your application must include the necessary logic to manage the\n threads. With languages that don't support threading, you must update or delete the\n specified items one at a time. In both situations, BatchWriteItem performs\n the specified put and delete operations in parallel, giving you the power of the thread\n pool approach without having to introduce complexity into your application.

                                      \n

                                      Parallel processing reduces latency, but each specified put and delete request\n consumes the same number of write capacity units whether it is processed in parallel or\n not. Delete operations on nonexistent items consume one write capacity unit.

                                      \n

                                      If one or more of the following is true, DynamoDB rejects the entire batch write\n operation:

                                      \n
                                        \n
                                      • \n

                                        One or more tables specified in the BatchWriteItem request does\n not exist.

                                        \n
                                      • \n
                                      • \n

                                        Primary key attributes specified on an item in the request do not match those\n in the corresponding table's primary key schema.

                                        \n
                                      • \n
                                      • \n

                                        You try to perform multiple operations on the same item in the same\n BatchWriteItem request. For example, you cannot put and delete\n the same item in the same BatchWriteItem request.

                                        \n
                                      • \n
                                      • \n

                                        Your request contains at least two items with identical hash and range keys\n (which essentially is two put operations).

                                        \n
                                      • \n
                                      • \n

                                        There are more than 25 requests in the batch.

                                        \n
                                      • \n
                                      • \n

                                        Any individual item in a batch exceeds 400 KB.

                                        \n
                                      • \n
                                      • \n

                                        The total request size exceeds 16 MB.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#BatchWriteItemInput": { @@ -1041,7 +1041,7 @@ "RequestItems": { "target": "com.amazonaws.dynamodb#BatchWriteItemRequestMap", "traits": { - "smithy.api#documentation": "

                                      A map of one or more table names and, for each table, a list of operations to be performed\n (DeleteRequest or PutRequest). Each element in the map consists of the\n following:

                                      \n
                                        \n
                                      • \n

                                        \n DeleteRequest - Perform a DeleteItem operation on the specified item. The\n item to be deleted is identified by a Key subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Key - A map of primary key attribute values that uniquely identify the item.\n Each entry in this map consists of an attribute name and an attribute value. For each\n primary key, you must provide all of the key attributes. For example, with a\n simple primary key, you only need to provide a value for the partition key. For a\n composite primary key, you must provide values for both the partition key and the sort key.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n PutRequest - Perform a PutItem operation on the specified item. The item to\n be put is identified by an Item subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Item - A map of attributes and their values. Each entry in\n this map consists of an attribute name and an attribute value. Attribute\n values must not be null; string and binary type attributes must have\n lengths greater than zero; and set type attributes must not be empty.\n Requests that contain empty values are rejected with a\n ValidationException exception.

                                          \n

                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

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

                                      A map of one or more table names and, for each table, a list of operations to be\n performed (DeleteRequest or PutRequest). Each element in the\n map consists of the following:

                                      \n
                                        \n
                                      • \n

                                        \n DeleteRequest - Perform a DeleteItem operation on the\n specified item. The item to be deleted is identified by a Key\n subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Key - A map of primary key attribute values that uniquely\n identify the item. Each entry in this map consists of an attribute name\n and an attribute value. For each primary key, you must provide\n all of the key attributes. For example, with a\n simple primary key, you only need to provide a value for the partition\n key. For a composite primary key, you must provide values for\n both the partition key and the sort key.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n PutRequest - Perform a PutItem operation on the\n specified item. The item to be put is identified by an Item\n subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Item - A map of attributes and their values. Each entry in\n this map consists of an attribute name and an attribute value. Attribute\n values must not be null; string and binary type attributes must have\n lengths greater than zero; and set type attributes must not be empty.\n Requests that contain empty values are rejected with a\n ValidationException exception.

                                          \n

                                          If you specify any attributes that are part of an index key, then the\n data types for those attributes must match those of the schema in the\n table's attribute definition.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      ", "smithy.api#required": {} } }, @@ -1051,7 +1051,7 @@ "ReturnItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                      " + "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE,\n the response includes statistics about item collections, if any, that were modified\n during the operation are returned in the response. If set to NONE (the\n default), no statistics are returned.

                                      " } } }, @@ -1065,19 +1065,19 @@ "UnprocessedItems": { "target": "com.amazonaws.dynamodb#BatchWriteItemRequestMap", "traits": { - "smithy.api#documentation": "

                                      A map of tables and requests against those tables that were not processed. The\n UnprocessedItems value is in the same form as RequestItems, so you can provide\n this value directly to a subsequent BatchGetItem operation. For more information, see\n RequestItems in the Request Parameters section.

                                      \n

                                      Each UnprocessedItems entry consists of a table name and, for that table, a list of\n operations to perform (DeleteRequest or PutRequest).

                                      \n
                                        \n
                                      • \n

                                        \n DeleteRequest - Perform a DeleteItem operation on the specified item. The\n item to be deleted is identified by a Key subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Key - A map of primary key attribute values that uniquely identify the item.\n Each entry in this map consists of an attribute name and an attribute value.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n PutRequest - Perform a PutItem operation on the specified item. The item to\n be put is identified by an Item subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Item - A map of attributes and their values. Each entry in this map consists\n of an attribute name and an attribute value. Attribute values must not be null; string\n and binary type attributes must have lengths greater than zero; and set type\n attributes must not be empty. Requests that contain empty values will be rejected with\n a ValidationException exception.

                                          \n

                                          If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      \n

                                      If there are no unprocessed items remaining, the response contains an empty\n UnprocessedItems map.

                                      " + "smithy.api#documentation": "

                                      A map of tables and requests against those tables that were not processed. The\n UnprocessedItems value is in the same form as\n RequestItems, so you can provide this value directly to a subsequent\n BatchGetItem operation. For more information, see\n RequestItems in the Request Parameters section.

                                      \n

                                      Each UnprocessedItems entry consists of a table name and, for that table,\n a list of operations to perform (DeleteRequest or\n PutRequest).

                                      \n
                                        \n
                                      • \n

                                        \n DeleteRequest - Perform a DeleteItem operation on the\n specified item. The item to be deleted is identified by a Key\n subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Key - A map of primary key attribute values that uniquely\n identify the item. Each entry in this map consists of an attribute name\n and an attribute value.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n PutRequest - Perform a PutItem operation on the\n specified item. The item to be put is identified by an Item\n subelement:

                                        \n
                                          \n
                                        • \n

                                          \n Item - A map of attributes and their values. Each entry in\n this map consists of an attribute name and an attribute value. Attribute\n values must not be null; string and binary type attributes must have\n lengths greater than zero; and set type attributes must not be empty.\n Requests that contain empty values will be rejected with a\n ValidationException exception.

                                          \n

                                          If you specify any attributes that are part of an index key, then the\n data types for those attributes must match those of the schema in the\n table's attribute definition.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      \n

                                      If there are no unprocessed items remaining, the response contains an empty\n UnprocessedItems map.

                                      " } }, "ItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ItemCollectionMetricsPerTable", "traits": { - "smithy.api#documentation": "

                                      A list of tables that were processed by BatchWriteItem and, for each table,\n information about any item collections that were affected by individual DeleteItem or\n PutItem operations.

                                      \n

                                      Each entry consists of the following subelements:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item collection. This is the same as\n the partition key value of the item.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size, expressed in GB. This is\n a two-element array containing a lower bound and an upper bound for the estimate. The\n estimate includes the size of all the items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on the table. Use this estimate to measure whether a\n local secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

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

                                      A list of tables that were processed by BatchWriteItem and, for each\n table, information about any item collections that were affected by individual\n DeleteItem or PutItem operations.

                                      \n

                                      Each entry consists of the following subelements:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item collection.\n This is the same as the partition key value of the item.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size,\n expressed in GB. This is a two-element array containing a lower bound and an\n upper bound for the estimate. The estimate includes the size of all the items in\n the table, plus the size of all attributes projected into all of the local\n secondary indexes on the table. Use this estimate to measure whether a local\n secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the\n precision or accuracy of the estimate.

                                        \n
                                      • \n
                                      " } }, "ConsumedCapacity": { "target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple", "traits": { - "smithy.api#documentation": "

                                      The capacity units consumed by the entire BatchWriteItem operation.

                                      \n

                                      Each element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n TableName - The table that consumed the provisioned throughput.

                                        \n
                                      • \n
                                      • \n

                                        \n CapacityUnits - The total number of capacity units consumed.

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

                                      The capacity units consumed by the entire BatchWriteItem\n operation.

                                      \n

                                      Each element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n TableName - The table that consumed the provisioned\n throughput.

                                        \n
                                      • \n
                                      • \n

                                        \n CapacityUnits - The total number of capacity units consumed.

                                        \n
                                      • \n
                                      " } } }, @@ -1130,13 +1130,13 @@ "BillingMode": { "target": "com.amazonaws.dynamodb#BillingMode", "traits": { - "smithy.api#documentation": "

                                      Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.\n

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

                                      Controls how you are charged for read and write throughput and how you manage\n capacity. This setting can be changed later.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - Sets the read/write capacity mode to\n PROVISIONED. We recommend using PROVISIONED for\n predictable workloads.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - Sets the read/write capacity mode to\n PAY_PER_REQUEST. We recommend using\n PAY_PER_REQUEST for unpredictable workloads.

                                        \n
                                      • \n
                                      " } }, "LastUpdateToPayPerRequestDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      Represents the time when PAY_PER_REQUEST was last set as the read/write capacity mode.

                                      " + "smithy.api#documentation": "

                                      Represents the time when PAY_PER_REQUEST was last set as the read/write\n capacity mode.

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

                                      An ordered list of errors for each item in the request which caused the transaction\n to get cancelled. The values of the list are ordered according to the ordering of the\n TransactWriteItems request parameter. If no error\n occurred for the associated item an error with a Null code and Null message will be present.\n

                                      " + "smithy.api#documentation": "

                                      An ordered list of errors for each item in the request which caused the transaction to\n get cancelled. The values of the list are ordered according to the ordering of the\n TransactWriteItems request parameter. If no error occurred for the\n associated item an error with a Null code and Null message will be present.

                                      " } }, "com.amazonaws.dynamodb#CancellationReasonList": { @@ -1226,7 +1226,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents the amount of provisioned throughput capacity consumed on a table or an index.

                                      " + "smithy.api#documentation": "

                                      Represents the amount of provisioned throughput capacity consumed on a table or an\n index.

                                      " } }, "com.amazonaws.dynamodb#ClientRequestToken": { @@ -1309,19 +1309,19 @@ "AttributeValueList": { "target": "com.amazonaws.dynamodb#AttributeValueList", "traits": { - "smithy.api#documentation": "

                                      One or more values to evaluate against the supplied attribute. The number of values in the\n list depends on the ComparisonOperator being used.

                                      \n

                                      For type Number, value comparisons are numeric.

                                      \n

                                      String value comparisons for greater than, equals, or less than are based on ASCII character\n code values. For example, a is greater than A, and a\n is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                      \n

                                      For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.

                                      " + "smithy.api#documentation": "

                                      One or more values to evaluate against the supplied attribute. The number of values in\n the list depends on the ComparisonOperator being used.

                                      \n

                                      For type Number, value comparisons are numeric.

                                      \n

                                      String value comparisons for greater than, equals, or less than are based on ASCII\n character code values. For example, a is greater than A, and\n a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                      \n

                                      For Binary, DynamoDB treats each byte of the binary data as unsigned when it\n compares binary values.

                                      " } }, "ComparisonOperator": { "target": "com.amazonaws.dynamodb#ComparisonOperator", "traits": { - "smithy.api#documentation": "

                                      A comparator for evaluating attributes. For example, equals, greater than, less than, etc.

                                      \n

                                      The following comparison operators are available:

                                      \n

                                      \n EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN\n

                                      \n

                                      The following are descriptions of each comparison operator.

                                      \n
                                        \n
                                      • \n

                                        \n EQ : Equal. EQ is supported for all data types, including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NE : Not equal. NE is supported for all data types, including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LE : Less than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LT : Less than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GE : Greater than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GT : Greater than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_NULL : The attribute exists. NOT_NULL is supported for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the existence of an attribute, not its data type. If the data type of attribute \"a\" is null, and you evaluate it using NOT_NULL, the result is a Boolean true. This result is because the attribute \"a\" exists; its data type is not relevant to the NOT_NULL comparison operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n NULL : The attribute does not exist. NULL is supported for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute \"a\" is null, and you evaluate it using NULL, the result is a Boolean false. This is because the attribute \"a\" exists; its data type is not relevant to the NULL comparison operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n CONTAINS : Checks for a subsequence, or value in a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then\n the operator checks for a substring match. If the target attribute of the comparison is\n of type Binary, then the operator looks for a subsequence of the target that matches the input.\n If the target attribute of the comparison is a set (\"SS\", \"NS\", or \"BS\"), then the\n operator evaluates to true if it finds an exact match with any member of the set.

                                        \n

                                        CONTAINS is supported for lists: When evaluating \"a CONTAINS b\", \"a\" can be a list; however, \"b\" cannot be a set, a map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_CONTAINS : Checks for absence of a subsequence, or absence of a value in\n a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If the target attribute of the comparison is a String, then\n the operator checks for the absence of a substring match. If the target attribute of the\n comparison is Binary, then the operator checks for the absence of a subsequence of the\n target that matches the input. If the target attribute of the comparison is a set (\"SS\",\n \"NS\", or \"BS\"), then the operator evaluates to true if it does not find an exact match with any member of the set.

                                        \n

                                        NOT_CONTAINS is supported for lists: When evaluating \"a NOT CONTAINS b\", \"a\" can be a list; however, \"b\" cannot be a set, a map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n BEGINS_WITH : Checks for a prefix.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue of type String or\n Binary (not a Number or a set type). The target attribute of the comparison must be of type String or\n Binary (not a Number or a set type).

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n IN : Checks for matching elements in a list.

                                        \n

                                        \n AttributeValueList can contain one or more AttributeValue\n elements of type String, Number, or Binary. These attributes are compared against an\n existing attribute of an item. If any elements of the input are equal to the item\n attribute, the expression evaluates to true.

                                        \n
                                      • \n
                                      • \n

                                        \n BETWEEN : Greater than or equal to the first value, and less than or equal\n to the second value.

                                        \n

                                        \n AttributeValueList must contain two AttributeValue elements of the same\n type, either String, Number, or Binary (not a set type). A target attribute matches if the\n target value is greater than, or equal to, the first element and less than, or equal to,\n the second element. If an item contains an AttributeValue element of a different type than\n the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not compare to {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}\n

                                        \n
                                      • \n
                                      \n

                                      For usage examples of AttributeValueList and ComparisonOperator, see\n Legacy Conditional Parameters\n in the Amazon DynamoDB Developer Guide.

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

                                      A comparator for evaluating attributes. For example, equals, greater than, less than,\n etc.

                                      \n

                                      The following comparison operators are available:

                                      \n

                                      \n EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS |\n BEGINS_WITH | IN | BETWEEN\n

                                      \n

                                      The following are descriptions of each comparison operator.

                                      \n
                                        \n
                                      • \n

                                        \n EQ : Equal. EQ is supported for all data types,\n including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, Binary, String Set, Number Set, or Binary Set.\n If an item contains an AttributeValue element of a different type\n than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\",\n \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NE : Not equal. NE is supported for all data types,\n including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n of type String, Number, Binary, String Set, Number Set, or Binary Set. If an\n item contains an AttributeValue of a different type than the one\n provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\",\n \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LE : Less than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If an item contains\n an AttributeValue element of a different type than the one provided\n in the request, the value does not match. For example, {\"S\":\"6\"}\n does not equal {\"N\":\"6\"}. Also, {\"N\":\"6\"} does not\n compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LT : Less than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n of type String, Number, or Binary (not a set type). If an item contains an\n AttributeValue element of a different type than the one\n provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\",\n \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GE : Greater than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If an item contains\n an AttributeValue element of a different type than the one provided\n in the request, the value does not match. For example, {\"S\":\"6\"}\n does not equal {\"N\":\"6\"}. Also, {\"N\":\"6\"} does not\n compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GT : Greater than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If an item contains\n an AttributeValue element of a different type than the one provided\n in the request, the value does not match. For example, {\"S\":\"6\"}\n does not equal {\"N\":\"6\"}. Also, {\"N\":\"6\"} does not\n compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_NULL : The attribute exists. NOT_NULL is supported\n for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the existence of an attribute, not its data type.\n If the data type of attribute \"a\" is null, and you evaluate it\n using NOT_NULL, the result is a Boolean true. This\n result is because the attribute \"a\" exists; its data type is\n not relevant to the NOT_NULL comparison operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n NULL : The attribute does not exist. NULL is supported\n for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the nonexistence of an attribute, not its data\n type. If the data type of attribute \"a\" is null, and you\n evaluate it using NULL, the result is a Boolean\n false. This is because the attribute \"a\"\n exists; its data type is not relevant to the NULL comparison\n operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n CONTAINS : Checks for a subsequence, or value in a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If the target\n attribute of the comparison is of type String, then the operator checks for a\n substring match. If the target attribute of the comparison is of type Binary,\n then the operator looks for a subsequence of the target that matches the input.\n If the target attribute of the comparison is a set (\"SS\",\n \"NS\", or \"BS\"), then the operator evaluates to\n true if it finds an exact match with any member of the set.

                                        \n

                                        CONTAINS is supported for lists: When evaluating \"a CONTAINS b\",\n \"a\" can be a list; however, \"b\" cannot be a set, a\n map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_CONTAINS : Checks for absence of a subsequence, or absence of a\n value in a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If the target\n attribute of the comparison is a String, then the operator checks for the\n absence of a substring match. If the target attribute of the comparison is\n Binary, then the operator checks for the absence of a subsequence of the target\n that matches the input. If the target attribute of the comparison is a set\n (\"SS\", \"NS\", or \"BS\"), then the\n operator evaluates to true if it does not find an exact\n match with any member of the set.

                                        \n

                                        NOT_CONTAINS is supported for lists: When evaluating \"a NOT CONTAINS\n b\", \"a\" can be a list; however, \"b\" cannot\n be a set, a map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n BEGINS_WITH : Checks for a prefix.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n of type String or Binary (not a Number or a set type). The target attribute of\n the comparison must be of type String or Binary (not a Number or a set\n type).

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n IN : Checks for matching elements in a list.

                                        \n

                                        \n AttributeValueList can contain one or more\n AttributeValue elements of type String, Number, or Binary.\n These attributes are compared against an existing attribute of an item. If any\n elements of the input are equal to the item attribute, the expression evaluates\n to true.

                                        \n
                                      • \n
                                      • \n

                                        \n BETWEEN : Greater than or equal to the first value, and less than\n or equal to the second value.

                                        \n

                                        \n AttributeValueList must contain two AttributeValue\n elements of the same type, either String, Number, or Binary (not a set type). A\n target attribute matches if the target value is greater than, or equal to, the\n first element and less than, or equal to, the second element. If an item\n contains an AttributeValue element of a different type than the one\n provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not compare to {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\",\n \"1\"]}\n

                                        \n
                                      • \n
                                      \n

                                      For usage examples of AttributeValueList and\n ComparisonOperator, see Legacy\n Conditional Parameters in the Amazon DynamoDB Developer\n Guide.

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

                                      Represents the selection criteria for a Query or Scan operation:

                                      \n
                                        \n
                                      • \n

                                        For a Query operation, Condition is used for specifying the\n KeyConditions to use when querying a table or an index. For KeyConditions,\n only the following comparison operators are supported:

                                        \n

                                        \n EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN\n

                                        \n

                                        \n Condition is also used in a QueryFilter, which evaluates the query results\n and returns only the desired values.

                                        \n
                                      • \n
                                      • \n

                                        For a Scan operation, Condition is used in a ScanFilter, which\n evaluates the scan results and returns only the desired values.

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

                                      Represents the selection criteria for a Query or Scan\n operation:

                                      \n
                                        \n
                                      • \n

                                        For a Query operation, Condition is used for\n specifying the KeyConditions to use when querying a table or an\n index. For KeyConditions, only the following comparison operators\n are supported:

                                        \n

                                        \n EQ | LE | LT | GE | GT | BEGINS_WITH | BETWEEN\n

                                        \n

                                        \n Condition is also used in a QueryFilter, which\n evaluates the query results and returns only the desired values.

                                        \n
                                      • \n
                                      • \n

                                        For a Scan operation, Condition is used in a\n ScanFilter, which evaluates the scan results and returns only\n the desired values.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#ConditionCheck": { @@ -1330,7 +1330,7 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the item to be checked. Each element consists of an\n attribute name and a value for that attribute.

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

                                      The primary key of the item to be checked. Each element consists of an attribute name\n and a value for that attribute.

                                      ", "smithy.api#required": {} } }, @@ -1344,7 +1344,7 @@ "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to succeed.

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

                                      A condition that must be satisfied in order for a conditional update to\n succeed.

                                      ", "smithy.api#required": {} } }, @@ -1363,12 +1363,12 @@ "ReturnValuesOnConditionCheckFailure": { "target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to\n get the item attributes if the ConditionCheck condition fails.\n For ReturnValuesOnConditionCheckFailure, the valid\n values are: NONE and ALL_OLD.

                                      " + "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to get the item attributes if the\n ConditionCheck condition fails. For\n ReturnValuesOnConditionCheckFailure, the valid values are: NONE and\n ALL_OLD.

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

                                      Represents a request to perform a check that an item exists or to check the condition of\n specific attributes of the item.

                                      " + "smithy.api#documentation": "

                                      Represents a request to perform a check that an item exists or to check the condition\n of specific attributes of the item.

                                      " } }, "com.amazonaws.dynamodb#ConditionExpression": { @@ -1446,18 +1446,18 @@ "LocalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#SecondaryIndexesCapacityMap", "traits": { - "smithy.api#documentation": "

                                      The amount of throughput consumed on each local index affected by the operation.

                                      " + "smithy.api#documentation": "

                                      The amount of throughput consumed on each local index affected by the\n operation.

                                      " } }, "GlobalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#SecondaryIndexesCapacityMap", "traits": { - "smithy.api#documentation": "

                                      The amount of throughput consumed on each global index affected by the operation.

                                      " + "smithy.api#documentation": "

                                      The amount of throughput consumed on each global index affected by the\n operation.

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

                                      The capacity units consumed by an operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes involved\n in the operation. ConsumedCapacity is only returned if the request asked for it.\n For more information, see Provisioned\n Throughput in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The capacity units consumed by an operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes\n involved in the operation. ConsumedCapacity is only returned if the request\n asked for it. For more information, see Provisioned Throughput in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "com.amazonaws.dynamodb#ConsumedCapacityMultiple": { @@ -1478,7 +1478,7 @@ "ContinuousBackupsStatus": { "target": "com.amazonaws.dynamodb#ContinuousBackupsStatus", "traits": { - "smithy.api#documentation": "

                                      \n ContinuousBackupsStatus can be one of the following states: ENABLED,\n DISABLED

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

                                      \n ContinuousBackupsStatus can be one of the following states: ENABLED,\n DISABLED

                                      ", "smithy.api#required": {} } }, @@ -1490,7 +1490,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents the continuous backups and point in time recovery settings on the table.

                                      " + "smithy.api#documentation": "

                                      Represents the continuous backups and point in time recovery settings on the\n table.

                                      " } }, "com.amazonaws.dynamodb#ContinuousBackupsStatus": { @@ -1598,7 +1598,7 @@ "ContributorInsightsStatus": { "target": "com.amazonaws.dynamodb#ContributorInsightsStatus", "traits": { - "smithy.api#documentation": "

                                      Describes the current status for contributor insights for the given table and index, if applicable.

                                      " + "smithy.api#documentation": "

                                      Describes the current status for contributor insights for the given table and index,\n if applicable.

                                      " } } }, @@ -1641,7 +1641,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Creates a backup for an existing table.

                                      \n

                                      Each time you create an on-demand backup, the entire table data is backed up. There\n is no limit to the number of on-demand backups that can be taken.

                                      \n

                                      When you create an on-demand backup, a time marker of the request is cataloged, and\n the backup is created asynchronously, by applying all changes until the time of the\n request to the last full table snapshot. Backup requests are processed instantaneously\n and become available for restore within minutes.

                                      \n

                                      You can call CreateBackup at a maximum rate of 50 times per second.

                                      \n

                                      All backups in DynamoDB work without consuming any provisioned throughput on the table.

                                      \n

                                      If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed\n to contain all data committed to the table up to 14:24:00, and data committed after\n 14:26:00 will not be. The backup might contain data modifications made between 14:24:00\n and 14:26:00. On-demand backup does not support causal consistency.

                                      \n

                                      \n Along with data, the following are also included on the backups:\n

                                      \n
                                        \n
                                      • \n

                                        Global secondary indexes (GSIs)

                                        \n
                                      • \n
                                      • \n

                                        Local secondary indexes (LSIs)

                                        \n
                                      • \n
                                      • \n

                                        Streams

                                        \n
                                      • \n
                                      • \n

                                        Provisioned read and write capacity

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

                                      Creates a backup for an existing table.

                                      \n

                                      Each time you create an on-demand backup, the entire table data is backed up. There\n is no limit to the number of on-demand backups that can be taken.

                                      \n

                                      When you create an on-demand backup, a time marker of the request is cataloged, and\n the backup is created asynchronously, by applying all changes until the time of the\n request to the last full table snapshot. Backup requests are processed instantaneously\n and become available for restore within minutes.

                                      \n

                                      You can call CreateBackup at a maximum rate of 50 times per\n second.

                                      \n

                                      All backups in DynamoDB work without consuming any provisioned throughput on the\n table.

                                      \n

                                      If you submit a backup request on 2018-12-14 at 14:25:00, the backup is guaranteed to\n contain all data committed to the table up to 14:24:00, and data committed after\n 14:26:00 will not be. The backup might contain data modifications made between 14:24:00\n and 14:26:00. On-demand backup does not support causal consistency.

                                      \n

                                      Along with data, the following are also included on the backups:

                                      \n
                                        \n
                                      • \n

                                        Global secondary indexes (GSIs)

                                        \n
                                      • \n
                                      • \n

                                        Local secondary indexes (LSIs)

                                        \n
                                      • \n
                                      • \n

                                        Streams

                                        \n
                                      • \n
                                      • \n

                                        Provisioned read and write capacity

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#CreateBackupInput": { @@ -1694,14 +1694,14 @@ "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into an index. These\n are in addition to the primary key attributes and index key attributes, which are\n automatically projected.

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

                                      Represents attributes that are copied (projected) from the table into an index. These\n are in addition to the primary key attributes and index key attributes, which are\n automatically projected.

                                      ", "smithy.api#required": {} } }, "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughput", "traits": { - "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary\n index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -1738,7 +1738,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Creates a global table from an existing table. A global table creates a replication\n relationship between two or more DynamoDB tables with the same table name in the\n provided Regions.

                                      \n \n

                                      This operation only applies to Version 2017.11.29 of global tables.

                                      \n
                                      \n\n

                                      If you want to add a new replica table to a global table, each of the following conditions\n must be true:

                                      \n
                                        \n
                                      • \n

                                        The table must have the same primary key as all of the other replicas.

                                        \n
                                      • \n
                                      • \n

                                        The table must have the same name as all of the other replicas.

                                        \n
                                      • \n
                                      • \n

                                        The table must have DynamoDB Streams enabled, with the stream containing both the new and the old\n images of the item.

                                        \n
                                      • \n
                                      • \n

                                        None of the replica tables in the global table can contain any data.

                                        \n
                                      • \n
                                      \n

                                      \n If global secondary indexes are specified, then the following conditions must also be met:\n

                                      \n
                                        \n
                                      • \n

                                        \n The global secondary indexes must have the same name.\n

                                        \n
                                      • \n
                                      • \n

                                        \n The global secondary indexes must have the same hash key and sort key (if present).\n

                                        \n
                                      • \n
                                      \n

                                      \n If local secondary indexes are specified, then the following conditions must also be met:\n

                                      \n
                                        \n
                                      • \n

                                        \n The local secondary indexes must have the same name.\n

                                        \n
                                      • \n
                                      • \n

                                        \n The local secondary indexes must have the same hash key and sort key (if present).\n

                                        \n
                                      • \n
                                      \n\n \n

                                      \n Write capacity settings should be set consistently across your replica tables and\n secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the write\n capacity settings for all of your global tables replicas and indexes.\n

                                      \n

                                      \n If you prefer to manage write capacity settings manually, you should provision equal\n replicated write capacity units to your replica tables. You should also provision\n equal replicated write capacity units to matching secondary indexes across\n your global table.\n

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

                                      Creates a global table from an existing table. A global table creates a replication\n relationship between two or more DynamoDB tables with the same table name in the\n provided Regions.

                                      \n \n

                                      This operation only applies to Version\n 2017.11.29 of global tables.

                                      \n
                                      \n\n

                                      If you want to add a new replica table to a global table, each of the following\n conditions must be true:

                                      \n
                                        \n
                                      • \n

                                        The table must have the same primary key as all of the other replicas.

                                        \n
                                      • \n
                                      • \n

                                        The table must have the same name as all of the other replicas.

                                        \n
                                      • \n
                                      • \n

                                        The table must have DynamoDB Streams enabled, with the stream containing both\n the new and the old images of the item.

                                        \n
                                      • \n
                                      • \n

                                        None of the replica tables in the global table can contain any data.

                                        \n
                                      • \n
                                      \n

                                      If global secondary indexes are specified, then the following conditions must also be\n met:

                                      \n
                                        \n
                                      • \n

                                        The global secondary indexes must have the same name.

                                        \n
                                      • \n
                                      • \n

                                        The global secondary indexes must have the same hash key and sort key (if\n present).

                                        \n
                                      • \n
                                      \n

                                      If local secondary indexes are specified, then the following conditions must also be\n met:

                                      \n
                                        \n
                                      • \n

                                        The local secondary indexes must have the same name.

                                        \n
                                      • \n
                                      • \n

                                        The local secondary indexes must have the same hash key and sort key (if\n present).

                                        \n
                                      • \n
                                      \n\n \n

                                      Write capacity settings should be set consistently across your replica tables and\n secondary indexes. DynamoDB strongly recommends enabling auto scaling to manage the\n write capacity settings for all of your global tables replicas and indexes.

                                      \n

                                      If you prefer to manage write capacity settings manually, you should provision\n equal replicated write capacity units to your replica tables. You should also\n provision equal replicated write capacity units to matching secondary indexes across\n your global table.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#CreateGlobalTableInput": { @@ -1799,13 +1799,13 @@ "KMSMasterKeyId": { "target": "com.amazonaws.dynamodb#KMSMasterKeyId", "traits": { - "smithy.api#documentation": "

                                      The AWS KMS customer master key (CMK) that should be used for AWS KMS encryption\n in the new replica. To specify a CMK, use its key ID, Amazon Resource Name (ARN),\n alias name, or alias ARN. Note that you should only provide this parameter if the\n key is different from the default DynamoDB KMS master key alias/aws/dynamodb.

                                      " + "smithy.api#documentation": "

                                      The KMS key that should be used for KMS encryption in\n the new replica. To specify a key, use its key ID, Amazon Resource Name (ARN), alias\n name, or alias ARN. Note that you should only provide this parameter if the key is\n different from the default DynamoDB KMS key\n alias/aws/dynamodb.

                                      " } }, "ProvisionedThroughputOverride": { "target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride", "traits": { - "smithy.api#documentation": "

                                      Replica-specific provisioned throughput. If not specified, uses the source table's\n provisioned throughput settings.

                                      " + "smithy.api#documentation": "

                                      Replica-specific provisioned throughput. If not specified, uses the source table's\n provisioned throughput settings.

                                      " } }, "GlobalSecondaryIndexes": { @@ -1845,7 +1845,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The CreateTable operation adds a new table to your account. In an AWS\n account, table names must be unique within each Region. That is, you can have two tables\n with same name if you create the tables in different Regions.

                                      \n

                                      \n CreateTable is an asynchronous operation. Upon receiving a CreateTable request,\n DynamoDB immediately returns a response with a TableStatus of CREATING. After\n the table is created, DynamoDB sets the TableStatus to ACTIVE. You can\n perform read and write operations only on an ACTIVE table.

                                      \n

                                      You can optionally define secondary indexes on the new table, as part of the CreateTable\n operation. If you want to create multiple tables with secondary indexes on them, you must create the\n tables sequentially. Only one table with secondary indexes can be in the CREATING state at\n any given time.

                                      \n

                                      You can use the DescribeTable action to check the table status.

                                      " + "smithy.api#documentation": "

                                      The CreateTable operation adds a new table to your account. In an Amazon Web Services account, table names must be unique within each Region. That is, you can\n have two tables with same name if you create the tables in different Regions.

                                      \n

                                      \n CreateTable is an asynchronous operation. Upon receiving a\n CreateTable request, DynamoDB immediately returns a response with a\n TableStatus of CREATING. After the table is created,\n DynamoDB sets the TableStatus to ACTIVE. You can perform read\n and write operations only on an ACTIVE table.

                                      \n

                                      You can optionally define secondary indexes on the new table, as part of the\n CreateTable operation. If you want to create multiple tables with\n secondary indexes on them, you must create the tables sequentially. Only one table with\n secondary indexes can be in the CREATING state at any given time.

                                      \n

                                      You can use the DescribeTable action to check the table status.

                                      " } }, "com.amazonaws.dynamodb#CreateTableInput": { @@ -1868,38 +1868,38 @@ "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      Specifies the attributes that make up the primary key for a table or an index. The attributes\n in KeySchema must also be defined in the AttributeDefinitions array. For more\n information, see Data Model in the\n Amazon DynamoDB Developer Guide.

                                      \n

                                      Each KeySchemaElement in the array is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n AttributeName - The name of this key attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n KeyType - The role that the key attribute will assume:

                                        \n
                                          \n
                                        • \n

                                          \n HASH - partition key

                                          \n
                                        • \n
                                        • \n

                                          \n RANGE - sort key

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from the DynamoDB usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

                                      \n
                                      \n\n

                                      For a simple primary key (partition key), you must provide\n exactly one element with a KeyType of HASH.

                                      \n

                                      For a composite primary key (partition key and sort key), you must provide exactly two\n elements, in this order: The first element must have a KeyType of HASH,\n and the second element must have a KeyType of RANGE.

                                      \n

                                      For more information, see Working with Tables in the Amazon DynamoDB Developer\n Guide.

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

                                      Specifies the attributes that make up the primary key for a table or an index. The\n attributes in KeySchema must also be defined in the\n AttributeDefinitions array. For more information, see Data\n Model in the Amazon DynamoDB Developer Guide.

                                      \n

                                      Each KeySchemaElement in the array is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n AttributeName - The name of this key attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n KeyType - The role that the key attribute will assume:

                                        \n
                                          \n
                                        • \n

                                          \n HASH - partition key

                                          \n
                                        • \n
                                        • \n

                                          \n RANGE - sort key

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from the DynamoDB usage\n of an internal hash function to evenly distribute data items across partitions,\n based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      \n\n

                                      For a simple primary key (partition key), you must provide exactly one element with a\n KeyType of HASH.

                                      \n

                                      For a composite primary key (partition key and sort key), you must provide exactly two\n elements, in this order: The first element must have a KeyType of\n HASH, and the second element must have a KeyType of\n RANGE.

                                      \n

                                      For more information, see Working with Tables in the Amazon DynamoDB Developer\n Guide.

                                      ", "smithy.api#required": {} } }, "LocalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#LocalSecondaryIndexList", "traits": { - "smithy.api#documentation": "

                                      One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained.

                                      \n

                                      Each local secondary index in the array includes the following:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName - The name of the local secondary index. Must be unique only for this table.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the key schema for the local secondary index. The key schema must begin with\n the same partition key as the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One\n of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are projected into the\n index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n NonKeyAttributes.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected into the\n index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key\n attribute names that are projected into the secondary index. The total\n count of attributes provided in NonKeyAttributes,\n summed across all of the secondary indexes, must not exceed 100. If you\n project the same attribute into two different indexes, this counts as\n two distinct attributes when determining the total.

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

                                      One or more local secondary indexes (the maximum is 5) to be created on the table.\n Each index is scoped to a given partition key value. There is a 10 GB size limit per\n partition key value; otherwise, the size of a local secondary index is\n unconstrained.

                                      \n

                                      Each local secondary index in the array includes the following:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName - The name of the local secondary index. Must be unique\n only for this table.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the key schema for the local secondary index.\n The key schema must begin with the same partition key as the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies attributes that are copied (projected) from\n the table into the index. These are in addition to the primary key attributes\n and index key attributes, which are automatically projected. Each attribute\n specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are\n projected into the index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n NonKeyAttributes.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected\n into the index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute\n names that are projected into the secondary index. The total count of\n attributes provided in NonKeyAttributes, summed across all\n of the secondary indexes, must not exceed 100. If you project the same\n attribute into two different indexes, this counts as two distinct\n attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      " } }, "GlobalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexList", "traits": { - "smithy.api#documentation": "

                                      One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName - The name of the global secondary index. Must be unique only for this table.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the key schema for the global secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One\n of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are projected into the\n index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n NonKeyAttributes.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected into the\n index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute names that are\n projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 100. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n ProvisionedThroughput - The provisioned throughput settings for the global secondary index,\n consisting of read and write capacity units.

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

                                      One or more global secondary indexes (the maximum is 20) to be created on the table.\n Each global secondary index in the array includes the following:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName - The name of the global secondary index. Must be unique\n only for this table.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the key schema for the global secondary\n index.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies attributes that are copied (projected) from\n the table into the index. These are in addition to the primary key attributes\n and index key attributes, which are automatically projected. Each attribute\n specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are\n projected into the index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n NonKeyAttributes.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected\n into the index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute\n names that are projected into the secondary index. The total count of\n attributes provided in NonKeyAttributes, summed across all\n of the secondary indexes, must not exceed 100. If you project the same\n attribute into two different indexes, this counts as two distinct\n attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n ProvisionedThroughput - The provisioned throughput settings for the\n global secondary index, consisting of read and write capacity units.

                                        \n
                                      • \n
                                      " } }, "BillingMode": { "target": "com.amazonaws.dynamodb#BillingMode", "traits": { - "smithy.api#documentation": "

                                      Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.\n

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

                                      Controls how you are charged for read and write throughput and how you manage\n capacity. This setting can be changed later.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - We recommend using PROVISIONED for\n predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST\n for unpredictable workloads. PAY_PER_REQUEST sets the billing mode\n to On-Demand Mode.

                                        \n
                                      • \n
                                      " } }, "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughput", "traits": { - "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for a specified table or index. The\n settings can be modified using the UpdateTable operation.

                                      \n\t\t

                                      If you set BillingMode as PROVISIONED, you must specify this property. If you\n set BillingMode as PAY_PER_REQUEST, you cannot specify this\n property.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for a specified table or index. The\n settings can be modified using the UpdateTable operation.

                                      \n

                                      If you set BillingMode as PROVISIONED, you must specify this property.\n If you set BillingMode as PAY_PER_REQUEST, you cannot specify this\n property.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "StreamSpecification": { "target": "com.amazonaws.dynamodb#StreamSpecification", "traits": { - "smithy.api#documentation": "

                                      The settings for DynamoDB Streams on the table. These settings consist of:

                                      \n
                                        \n
                                      • \n

                                        \n StreamEnabled - Indicates whether DynamoDB Streams is to be enabled\n (true) or disabled (false).

                                        \n
                                      • \n
                                      • \n

                                        \n StreamViewType - When an item in the table is modified, StreamViewType\n determines what information is written to the table's stream. Valid values for\n StreamViewType are:

                                        \n
                                          \n
                                        • \n

                                          \n KEYS_ONLY - Only the key attributes of the modified item are written to the\n stream.

                                          \n
                                        • \n
                                        • \n

                                          \n NEW_IMAGE - The entire item, as it appears after it was modified, is written\n to the stream.

                                          \n
                                        • \n
                                        • \n

                                          \n OLD_IMAGE - The entire item, as it appeared before it was modified, is\n written to the stream.

                                          \n
                                        • \n
                                        • \n

                                          \n NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are\n written to the stream.

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

                                      The settings for DynamoDB Streams on the table. These settings consist of:

                                      \n
                                        \n
                                      • \n

                                        \n StreamEnabled - Indicates whether DynamoDB Streams is to be enabled\n (true) or disabled (false).

                                        \n
                                      • \n
                                      • \n

                                        \n StreamViewType - When an item in the table is modified,\n StreamViewType determines what information is written to the\n table's stream. Valid values for StreamViewType are:

                                        \n
                                          \n
                                        • \n

                                          \n KEYS_ONLY - Only the key attributes of the modified item\n are written to the stream.

                                          \n
                                        • \n
                                        • \n

                                          \n NEW_IMAGE - The entire item, as it appears after it was\n modified, is written to the stream.

                                          \n
                                        • \n
                                        • \n

                                          \n OLD_IMAGE - The entire item, as it appeared before it was\n modified, is written to the stream.

                                          \n
                                        • \n
                                        • \n

                                          \n NEW_AND_OLD_IMAGES - Both the new and the old item images\n of the item are written to the stream.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      " } }, "SSESpecification": { @@ -1911,7 +1911,7 @@ "Tags": { "target": "com.amazonaws.dynamodb#TagList", "traits": { - "smithy.api#documentation": "

                                      A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB.

                                      " + "smithy.api#documentation": "

                                      A list of key-value pairs to label the table. For more information, see Tagging\n for DynamoDB.

                                      " } } }, @@ -1942,7 +1942,7 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the item to be deleted. Each element consists of an\n attribute name and a value for that attribute.

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

                                      The primary key of the item to be deleted. Each element consists of an attribute name\n and a value for that attribute.

                                      ", "smithy.api#required": {} } }, @@ -1956,7 +1956,7 @@ "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional delete to succeed.

                                      " + "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional delete to\n succeed.

                                      " } }, "ExpressionAttributeNames": { @@ -1974,7 +1974,7 @@ "ReturnValuesOnConditionCheckFailure": { "target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to\n get the item attributes if the Delete condition fails.\n For ReturnValuesOnConditionCheckFailure, the valid\n values are: NONE and ALL_OLD.

                                      " + "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to get the item attributes if the\n Delete condition fails. For\n ReturnValuesOnConditionCheckFailure, the valid values are: NONE and\n ALL_OLD.

                                      " } } }, @@ -2011,7 +2011,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Deletes an existing backup of a table.

                                      \n

                                      You can call DeleteBackup at a maximum rate of 10 times per second.

                                      " + "smithy.api#documentation": "

                                      Deletes an existing backup of a table.

                                      \n

                                      You can call DeleteBackup at a maximum rate of 10 times per\n second.

                                      " } }, "com.amazonaws.dynamodb#DeleteBackupInput": { @@ -2090,7 +2090,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Deletes a single item in a table by primary key. You can perform a conditional delete operation that deletes the item if it exists, or if it has an expected attribute value.

                                      \n

                                      In addition to deleting an item, you can also return the item's attribute values in the same\n operation, using the ReturnValues parameter.

                                      \n

                                      Unless you specify conditions, the DeleteItem is an idempotent operation; running it\n multiple times on the same item or attribute does not result in an error response.

                                      \n

                                      Conditional deletes are useful for deleting items only if specific conditions are met. If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not deleted.

                                      " + "smithy.api#documentation": "

                                      Deletes a single item in a table by primary key. You can perform a conditional delete\n operation that deletes the item if it exists, or if it has an expected attribute\n value.

                                      \n

                                      In addition to deleting an item, you can also return the item's attribute values in\n the same operation, using the ReturnValues parameter.

                                      \n

                                      Unless you specify conditions, the DeleteItem is an idempotent operation;\n running it multiple times on the same item or attribute does not\n result in an error response.

                                      \n

                                      Conditional deletes are useful for deleting items only if specific conditions are met.\n If those conditions are met, DynamoDB performs the delete. Otherwise, the item is not\n deleted.

                                      " } }, "com.amazonaws.dynamodb#DeleteItemInput": { @@ -2106,26 +2106,26 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects, representing the primary key of\n the item to delete.

                                      \n

                                      For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

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

                                      A map of attribute names to AttributeValue objects, representing the\n primary key of the item to delete.

                                      \n

                                      For the primary key, you must provide all of the attributes. For example, with a\n simple primary key, you only need to provide a value for the partition key. For a\n composite primary key, you must provide values for both the partition key and the sort\n key.

                                      ", "smithy.api#required": {} } }, "Expected": { "target": "com.amazonaws.dynamodb#ExpectedAttributeMap", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see\n Expected in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more\n information, see Expected in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConditionalOperator": { "target": "com.amazonaws.dynamodb#ConditionalOperator", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see\n ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more\n information, see ConditionalOperator in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ReturnValues": { "target": "com.amazonaws.dynamodb#ReturnValue", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValues if you want to get the item attributes as they appeared before they\n were deleted. For DeleteItem, the valid values are:

                                      \n
                                        \n
                                      • \n

                                        \n NONE - If ReturnValues is not specified, or if its value is\n NONE, then nothing is returned. (This setting is the default for\n ReturnValues.)

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_OLD - The content of the old item is returned.

                                        \n
                                      • \n
                                      \n \n

                                      The ReturnValues parameter is used by several DynamoDB operations; however,\n DeleteItem does not recognize any values other than NONE or\n ALL_OLD.

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

                                      Use ReturnValues if you want to get the item attributes as they appeared\n before they were deleted. For DeleteItem, the valid values are:

                                      \n
                                        \n
                                      • \n

                                        \n NONE - If ReturnValues is not specified, or if its\n value is NONE, then nothing is returned. (This setting is the\n default for ReturnValues.)

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_OLD - The content of the old item is returned.

                                        \n
                                      • \n
                                      \n \n

                                      The ReturnValues parameter is used by several DynamoDB operations;\n however, DeleteItem does not recognize any values other than\n NONE or ALL_OLD.

                                      \n
                                      " } }, "ReturnConsumedCapacity": { @@ -2134,25 +2134,25 @@ "ReturnItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                      " + "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE,\n the response includes statistics about item collections, if any, that were modified\n during the operation are returned in the response. If set to NONE (the\n default), no statistics are returned.

                                      " } }, "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional DeleteItem to\n succeed.

                                      \n

                                      An expression can contain any of the following:

                                      \n
                                        \n
                                      • \n

                                        Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size\n

                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Comparison operators: = | <> |\n < | > | <= | >= |\n BETWEEN | IN \n

                                        \n
                                      • \n
                                      • \n

                                        Logical operators: AND | OR | NOT\n

                                        \n
                                      • \n
                                      \n

                                      For more information about condition expressions, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional DeleteItem\n to succeed.

                                      \n

                                      An expression can contain any of the following:

                                      \n
                                        \n
                                      • \n

                                        Functions: attribute_exists | attribute_not_exists | attribute_type |\n contains | begins_with | size\n

                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Comparison operators: = | <> |\n < | > | <= | >= |\n BETWEEN | IN \n

                                        \n
                                      • \n
                                      • \n

                                        Logical operators: AND | OR | NOT\n

                                        \n
                                      • \n
                                      \n

                                      For more information about condition expressions, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeValues": { "target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap", "traits": { - "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as\n follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"},\n \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -2166,7 +2166,7 @@ "Attributes": { "target": "com.amazonaws.dynamodb#AttributeMap", "traits": { - "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects, representing the item as it\n appeared before the DeleteItem operation. This map appears in the response only if\n ReturnValues was specified as ALL_OLD in the request.

                                      " + "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects, representing the item\n as it appeared before the DeleteItem operation. This map appears in the\n response only if ReturnValues was specified as ALL_OLD in the\n request.

                                      " } }, "ConsumedCapacity": { @@ -2178,7 +2178,7 @@ "ItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Information about item collections, if any, that were affected by the\n DeleteItem operation.\n ItemCollectionMetrics is only returned if the\n ReturnItemCollectionMetrics parameter was specified. If the\n table does not have any local secondary indexes, this information is not returned in the\n response.

                                      \n

                                      Each ItemCollectionMetrics\n element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item\n collection. This is the same as the partition key value of the item itself.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size,\n in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the\n estimate. The estimate includes the size of all the\n items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on that\n table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

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

                                      Information about item collections, if any, that were affected by the\n DeleteItem operation. ItemCollectionMetrics is only\n returned if the ReturnItemCollectionMetrics parameter was specified. If the\n table does not have any local secondary indexes, this information is not returned in the\n response.

                                      \n

                                      Each ItemCollectionMetrics element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item collection.\n This is the same as the partition key value of the item itself.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size, in\n gigabytes. This value is a two-element array containing a lower bound and an\n upper bound for the estimate. The estimate includes the size of all the items in\n the table, plus the size of all attributes projected into all of the local\n secondary indexes on that table. Use this estimate to measure whether a local\n secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the\n precision or accuracy of the estimate.

                                        \n
                                      • \n
                                      " } } }, @@ -2222,7 +2222,7 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.

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

                                      A map of attribute name to attribute values, representing the primary key of the item\n to delete. All of the table's primary key attributes must be specified, and their data\n types must match those of the table's key schema.

                                      ", "smithy.api#required": {} } } @@ -2260,7 +2260,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The DeleteTable operation deletes a table and all of its items. After a\n DeleteTable request, the specified table is in the DELETING state until\n DynamoDB completes the deletion. If the table is in the ACTIVE state, you can delete\n it. If a table is in CREATING or UPDATING states, then DynamoDB returns\n a ResourceInUseException. If the specified table does not exist, DynamoDB returns a\n ResourceNotFoundException. If table is already in the DELETING state, no\n error is returned.

                                      \n \n

                                      DynamoDB might continue to accept data read and write operations, such as GetItem and\n PutItem, on a table in the DELETING state until the table deletion is\n complete.

                                      \n
                                      \n

                                      When you delete a table, any indexes on that table are also deleted.

                                      \n

                                      If you have DynamoDB Streams enabled on the table, then the corresponding stream on that table goes\n into the DISABLED state, and the stream is automatically deleted after 24 hours.

                                      \n\n

                                      Use the DescribeTable action to check the status of the table.

                                      " + "smithy.api#documentation": "

                                      The DeleteTable operation deletes a table and all of its items. After a\n DeleteTable request, the specified table is in the\n DELETING state until DynamoDB completes the deletion. If the table is\n in the ACTIVE state, you can delete it. If a table is in\n CREATING or UPDATING states, then DynamoDB returns a\n ResourceInUseException. If the specified table does not exist, DynamoDB\n returns a ResourceNotFoundException. If table is already in the\n DELETING state, no error is returned.

                                      \n \n

                                      DynamoDB might continue to accept data read and write operations, such as\n GetItem and PutItem, on a table in the\n DELETING state until the table deletion is complete.

                                      \n
                                      \n

                                      When you delete a table, any indexes on that table are also deleted.

                                      \n

                                      If you have DynamoDB Streams enabled on the table, then the corresponding stream on\n that table goes into the DISABLED state, and the stream is automatically\n deleted after 24 hours.

                                      \n\n

                                      Use the DescribeTable action to check the status of the table.

                                      " } }, "com.amazonaws.dynamodb#DeleteTableInput": { @@ -2315,7 +2315,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Describes an existing backup of a table.

                                      \n

                                      You can call DescribeBackup at a maximum rate of 10 times per second.

                                      " + "smithy.api#documentation": "

                                      Describes an existing backup of a table.

                                      \n

                                      You can call DescribeBackup at a maximum rate of 10 times per\n second.

                                      " } }, "com.amazonaws.dynamodb#DescribeBackupInput": { @@ -2364,7 +2364,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Checks the status of continuous backups and point in time recovery on the specified table.\n Continuous backups are ENABLED on all tables at table creation.\n If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                                      \n

                                      After continuous backups and point in time recovery are enabled, you can restore to any\n point in time within EarliestRestorableDateTime and\n LatestRestorableDateTime.

                                      \n

                                      \n LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point\n in time during the last 35 days.\n

                                      \n

                                      You can call DescribeContinuousBackups at a maximum rate of 10 times per second.

                                      " + "smithy.api#documentation": "

                                      Checks the status of continuous backups and point in time recovery on the specified\n table. Continuous backups are ENABLED on all tables at table creation. If\n point in time recovery is enabled, PointInTimeRecoveryStatus will be set to\n ENABLED.

                                      \n

                                      After continuous backups and point in time recovery are enabled, you can restore to\n any point in time within EarliestRestorableDateTime and\n LatestRestorableDateTime.

                                      \n

                                      \n LatestRestorableDateTime is typically 5 minutes before the current time.\n You can restore your table to any point in time during the last 35 days.

                                      \n

                                      You can call DescribeContinuousBackups at a maximum rate of 10 times per\n second.

                                      " } }, "com.amazonaws.dynamodb#DescribeContinuousBackupsInput": { @@ -2373,7 +2373,7 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableName", "traits": { - "smithy.api#documentation": "

                                      Name of the table for which the customer wants to check the continuous backups and point in time recovery settings.

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

                                      Name of the table for which the customer wants to check the continuous backups and\n point in time recovery settings.

                                      ", "smithy.api#required": {} } } @@ -2385,7 +2385,7 @@ "ContinuousBackupsDescription": { "target": "com.amazonaws.dynamodb#ContinuousBackupsDescription", "traits": { - "smithy.api#documentation": "

                                      Represents the continuous backups and point in time recovery settings on the table.

                                      " + "smithy.api#documentation": "

                                      Represents the continuous backups and point in time recovery settings on the\n table.

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

                                      Returns information about contributor insights, for a given table or global secondary index.

                                      " + "smithy.api#documentation": "

                                      Returns information about contributor insights, for a given table or global secondary\n index.

                                      " } }, "com.amazonaws.dynamodb#DescribeContributorInsightsInput": { @@ -2446,13 +2446,13 @@ "ContributorInsightsRuleList": { "target": "com.amazonaws.dynamodb#ContributorInsightsRuleList", "traits": { - "smithy.api#documentation": "

                                      List of names of the associated Alpine rules.

                                      " + "smithy.api#documentation": "

                                      List of names of the associated contributor insights rules.

                                      " } }, "ContributorInsightsStatus": { "target": "com.amazonaws.dynamodb#ContributorInsightsStatus", "traits": { - "smithy.api#documentation": "

                                      Current Status contributor insights.

                                      " + "smithy.api#documentation": "

                                      Current status of contributor insights.

                                      " } }, "LastUpdateDateTime": { @@ -2464,7 +2464,7 @@ "FailureException": { "target": "com.amazonaws.dynamodb#FailureException", "traits": { - "smithy.api#documentation": "

                                      Returns information about the last failure that encountered.

                                      \n

                                      The most common exceptions for a FAILED status are:

                                      \n
                                        \n
                                      • \n

                                        LimitExceededException - \tPer-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for\n other tables/indexes OR disable Contributor Insights rules before retrying.

                                        \n
                                      • \n
                                      • \n

                                        AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.

                                        \n
                                      • \n
                                      • \n

                                        AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.

                                        \n
                                      • \n
                                      • \n

                                        InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.

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

                                      Returns information about the last failure that was encountered.

                                      \n

                                      The most common exceptions for a FAILED status are:

                                      \n
                                        \n
                                      • \n

                                        LimitExceededException - Per-account Amazon CloudWatch Contributor Insights\n rule limit reached. Please disable Contributor Insights for other tables/indexes\n OR disable Contributor Insights rules before retrying.

                                        \n
                                      • \n
                                      • \n

                                        AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be\n modified due to insufficient permissions.

                                        \n
                                      • \n
                                      • \n

                                        AccessDeniedException - Failed to create service-linked role for Contributor\n Insights due to insufficient permissions.

                                        \n
                                      • \n
                                      • \n

                                        InternalServerError - Failed to create Amazon CloudWatch Contributor Insights\n rules. Please retry request.

                                        \n
                                      • \n
                                      " } } } @@ -2566,7 +2566,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Returns information about the specified global table.

                                      \n \n

                                      This operation only applies to Version 2017.11.29 of global tables.\n If you are using global tables Version 2019.11.21 you can use DescribeTable instead.

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

                                      Returns information about the specified global table.

                                      \n \n

                                      This operation only applies to Version\n 2017.11.29 of global tables. If you are using global tables Version\n 2019.11.21 you can use DescribeTable instead.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#DescribeGlobalTableInput": { @@ -2615,7 +2615,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Describes Region-specific settings for a global table.

                                      \n \n

                                      This operation only applies to Version 2017.11.29 of global tables.

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

                                      Describes Region-specific settings for a global table.

                                      \n \n

                                      This operation only applies to Version\n 2017.11.29 of global tables.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#DescribeGlobalTableSettingsInput": { @@ -2722,14 +2722,14 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Returns the current provisioned-capacity quotas for your AWS account in a Region, both\n for the Region as a whole and for any one DynamoDB table that you create there.

                                      \n

                                      When you establish an AWS account, the account has initial quotas on the maximum read\n capacity units and write capacity units that you can provision across all of your\n DynamoDB tables in a given Region. Also, there are per-table quotas that apply when you\n create a table there. For more information, see Service, Account, and Table\n Quotas page in the Amazon DynamoDB Developer\n Guide.

                                      \n\n

                                      Although you can increase these quotas by filing a case at AWS Support Center, obtaining the increase is not\n instantaneous. The DescribeLimits action lets you write code to compare the\n capacity you are currently using to those quotas imposed by your account so that you\n have enough time to apply for an increase before you hit a quota.

                                      \n\n

                                      For example, you could use one of the AWS SDKs to do the following:

                                      \n\n
                                        \n
                                      1. \n

                                        Call DescribeLimits for a particular Region to obtain your current\n account quotas on provisioned capacity there.

                                        \n
                                      2. \n
                                      3. \n

                                        Create a variable to hold the aggregate read capacity units provisioned for all\n your tables in that Region, and one to hold the aggregate write capacity units.\n Zero them both.

                                        \n
                                      4. \n
                                      5. \n

                                        Call ListTables to obtain a list of all your DynamoDB tables.

                                        \n
                                      6. \n
                                      7. \n

                                        For each table name listed by ListTables, do the following:

                                        \n
                                          \n
                                        • \n

                                          Call DescribeTable with the table name.

                                          \n
                                        • \n
                                        • \n

                                          Use the data returned by DescribeTable to add the read capacity units and write capacity\n units provisioned for the table itself to your variables.

                                          \n
                                        • \n
                                        • \n

                                          If the table has one or more global secondary indexes (GSIs), loop over these GSIs and add their provisioned capacity values to your variables as well.

                                          \n
                                        • \n
                                        \n
                                      8. \n
                                      9. \n

                                        Report the account quotas for that Region returned by DescribeLimits, along with\n the total current provisioned capacity levels you have calculated.

                                        \n
                                      10. \n
                                      \n\n

                                      This will let you see whether you are getting close to your account-level quotas.

                                      \n

                                      The per-table quotas apply only when you are creating a new table. They restrict the sum\n of the provisioned capacity of the new table itself and all its global secondary\n indexes.

                                      \n

                                      For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned\n capacity extremely rapidly, but the only quota that applies is that the aggregate\n provisioned capacity over all your tables and GSIs cannot exceed either of the\n per-account quotas.

                                      \n \n

                                      \n DescribeLimits should only be called periodically. You can expect throttling\n errors if you call it more than once in a minute.

                                      \n
                                      \n

                                      The DescribeLimits Request element has no content.

                                      " + "smithy.api#documentation": "

                                      Returns the current provisioned-capacity quotas for your Amazon Web Services account in\n a Region, both for the Region as a whole and for any one DynamoDB table that you create\n there.

                                      \n

                                      When you establish an Amazon Web Services account, the account has initial quotas on\n the maximum read capacity units and write capacity units that you can provision across\n all of your DynamoDB tables in a given Region. Also, there are per-table\n quotas that apply when you create a table there. For more information, see Service,\n Account, and Table Quotas page in the Amazon DynamoDB\n Developer Guide.

                                      \n\n

                                      Although you can increase these quotas by filing a case at Amazon Web Services Support Center, obtaining the\n increase is not instantaneous. The DescribeLimits action lets you write\n code to compare the capacity you are currently using to those quotas imposed by your\n account so that you have enough time to apply for an increase before you hit a\n quota.

                                      \n\n

                                      For example, you could use one of the Amazon Web Services SDKs to do the\n following:

                                      \n\n
                                        \n
                                      1. \n

                                        Call DescribeLimits for a particular Region to obtain your\n current account quotas on provisioned capacity there.

                                        \n
                                      2. \n
                                      3. \n

                                        Create a variable to hold the aggregate read capacity units provisioned for\n all your tables in that Region, and one to hold the aggregate write capacity\n units. Zero them both.

                                        \n
                                      4. \n
                                      5. \n

                                        Call ListTables to obtain a list of all your DynamoDB\n tables.

                                        \n
                                      6. \n
                                      7. \n

                                        For each table name listed by ListTables, do the\n following:

                                        \n
                                          \n
                                        • \n

                                          Call DescribeTable with the table name.

                                          \n
                                        • \n
                                        • \n

                                          Use the data returned by DescribeTable to add the read\n capacity units and write capacity units provisioned for the table itself\n to your variables.

                                          \n
                                        • \n
                                        • \n

                                          If the table has one or more global secondary indexes (GSIs), loop\n over these GSIs and add their provisioned capacity values to your\n variables as well.

                                          \n
                                        • \n
                                        \n
                                      8. \n
                                      9. \n

                                        Report the account quotas for that Region returned by\n DescribeLimits, along with the total current provisioned\n capacity levels you have calculated.

                                        \n
                                      10. \n
                                      \n\n

                                      This will let you see whether you are getting close to your account-level\n quotas.

                                      \n

                                      The per-table quotas apply only when you are creating a new table. They restrict the\n sum of the provisioned capacity of the new table itself and all its global secondary\n indexes.

                                      \n

                                      For existing tables and their GSIs, DynamoDB doesn't let you increase provisioned\n capacity extremely rapidly, but the only quota that applies is that the aggregate\n provisioned capacity over all your tables and GSIs cannot exceed either of the\n per-account quotas.

                                      \n \n

                                      \n DescribeLimits should only be called periodically. You can expect\n throttling errors if you call it more than once in a minute.

                                      \n
                                      \n

                                      The DescribeLimits Request element has no content.

                                      " } }, "com.amazonaws.dynamodb#DescribeLimitsInput": { "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                      Represents the input of a DescribeLimits operation. Has no content.

                                      " + "smithy.api#documentation": "

                                      Represents the input of a DescribeLimits operation. Has no\n content.

                                      " } }, "com.amazonaws.dynamodb#DescribeLimitsOutput": { @@ -2744,7 +2744,7 @@ "AccountMaxWriteCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum total write capacity units that your account allows you to provision across\n all of your tables in this Region.

                                      " + "smithy.api#documentation": "

                                      The maximum total write capacity units that your account allows you to provision\n across all of your tables in this Region.

                                      " } }, "TableMaxReadCapacityUnits": { @@ -2787,7 +2787,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Returns information about the table, including the current status of the table, when it was created, the primary key schema, and any indexes on the table.

                                      \n \n

                                      If you issue a DescribeTable request immediately after a CreateTable request, DynamoDB might\n return a ResourceNotFoundException. This is because DescribeTable uses an eventually\n consistent query, and the metadata for your table might not be available at that moment.\n Wait for a few seconds, and then try the DescribeTable request again.

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

                                      Returns information about the table, including the current status of the table, when\n it was created, the primary key schema, and any indexes on the table.

                                      \n \n

                                      If you issue a DescribeTable request immediately after a\n CreateTable request, DynamoDB might return a\n ResourceNotFoundException. This is because\n DescribeTable uses an eventually consistent query, and the metadata\n for your table might not be available at that moment. Wait for a few seconds, and\n then try the DescribeTable request again.

                                      \n
                                      ", "smithy.waiters#waitable": { "TableExists": { "acceptors": [ @@ -2870,7 +2870,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Describes auto scaling settings across replicas of the global table at once.

                                      \n \n

                                      This operation only applies to Version 2019.11.21 of global tables.

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

                                      Describes auto scaling settings across replicas of the global table at once.

                                      \n \n

                                      This operation only applies to Version\n 2019.11.21 of global tables.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#DescribeTableReplicaAutoScalingInput": { @@ -3018,12 +3018,34 @@ } }, "traits": { - "smithy.api#documentation": "

                                      \nThere was an attempt to insert an item with the same primary key as an item that already exists in the DynamoDB table.\n

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

                                      There was an attempt to insert an item with the same primary key as an item that\n already exists in the DynamoDB table.

                                      ", "smithy.api#error": "client" } }, "com.amazonaws.dynamodb#DynamoDB_20120810": { "type": "service", + "traits": { + "aws.api#clientEndpointDiscovery": { + "operation": "com.amazonaws.dynamodb#DescribeEndpoints", + "error": "com.amazonaws.dynamodb#InvalidEndpointException" + }, + "aws.api#service": { + "sdkId": "DynamoDB", + "arnNamespace": "dynamodb", + "cloudFormationName": "DynamoDB", + "cloudTrailEventSource": "dynamodb.amazonaws.com", + "endpointPrefix": "dynamodb" + }, + "aws.auth#sigv4": { + "name": "dynamodb" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon DynamoDB\n\n

                                      Amazon DynamoDB is a fully managed NoSQL database service that provides fast\n and predictable performance with seamless scalability. DynamoDB lets you\n offload the administrative burdens of operating and scaling a distributed database, so\n that you don't have to worry about hardware provisioning, setup and configuration,\n replication, software patching, or cluster scaling.

                                      \n\n

                                      With DynamoDB, you can create database tables that can store and retrieve\n any amount of data, and serve any level of request traffic. You can scale up or scale\n down your tables' throughput capacity without downtime or performance degradation, and\n use the Amazon Web Services Management Console to monitor resource utilization and performance\n metrics.

                                      \n\n

                                      DynamoDB automatically spreads the data and traffic for your tables over\n a sufficient number of servers to handle your throughput and storage requirements, while\n maintaining consistent and fast performance. All of your data is stored on solid state\n disks (SSDs) and automatically replicated across multiple Availability Zones in an\n Amazon Web Services Region, providing built-in high availability and data\n durability.

                                      ", + "smithy.api#title": "Amazon DynamoDB", + "smithy.api#xmlNamespace": { + "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" + } + }, "version": "2012-08-10", "operations": [ { @@ -3176,29 +3198,7 @@ { "target": "com.amazonaws.dynamodb#UpdateTimeToLive" } - ], - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.dynamodb#DescribeEndpoints", - "error": "com.amazonaws.dynamodb#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "DynamoDB", - "arnNamespace": "dynamodb", - "cloudFormationName": "DynamoDB", - "cloudTrailEventSource": "dynamodb.amazonaws.com", - "endpointPrefix": "dynamodb" - }, - "aws.auth#sigv4": { - "name": "dynamodb" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon DynamoDB\n\n\n

                                      Amazon DynamoDB is a fully managed NoSQL database service that provides fast and\n predictable performance with seamless scalability. DynamoDB lets you offload the\n administrative burdens of operating and scaling a distributed database, so that you don't have\n to worry about hardware provisioning, setup and configuration, replication, software patching,\n or cluster scaling.

                                      \n\n

                                      With DynamoDB, you can create database tables that can store and retrieve any amount of\n data, and serve any level of request traffic. You can scale up or scale down your tables'\n throughput capacity without downtime or performance degradation, and use the AWS Management\n Console to monitor resource utilization and performance metrics.

                                      \n\n

                                      DynamoDB automatically spreads the data and traffic for your tables over a sufficient\n number of servers to handle your throughput and storage requirements, while maintaining\n consistent and fast performance. All of your data is stored on solid state disks (SSDs) and\n automatically replicated across multiple Availability Zones in an AWS region, providing\n built-in high availability and data durability.

                                      ", - "smithy.api#title": "Amazon DynamoDB", - "smithy.api#xmlNamespace": { - "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" - } - } + ] }, "com.amazonaws.dynamodb#EnableKinesisStreamingDestination": { "type": "operation", @@ -3229,7 +3229,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Starts table data replication to the specified Kinesis data stream at a timestamp chosen\n during the enable workflow. If this operation doesn't return results immediately, use\n DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream is\n ACTIVE.

                                      " + "smithy.api#documentation": "

                                      Starts table data replication to the specified Kinesis data stream at a timestamp\n chosen during the enable workflow. If this operation doesn't return results immediately,\n use DescribeKinesisStreamingDestination to check if streaming to the Kinesis data stream\n is ACTIVE.

                                      " } }, "com.amazonaws.dynamodb#Endpoint": { @@ -3304,7 +3304,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      \nThis operation allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL.\n

                                      " + "smithy.api#documentation": "

                                      This operation allows you to perform reads and singleton writes on data stored in\n DynamoDB, using PartiQL.

                                      " } }, "com.amazonaws.dynamodb#ExecuteStatementInput": { @@ -3313,26 +3313,26 @@ "Statement": { "target": "com.amazonaws.dynamodb#PartiQLStatement", "traits": { - "smithy.api#documentation": "

                                      \nThe PartiQL statement representing the operation to run.\n

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

                                      The PartiQL statement representing the operation to run.

                                      ", "smithy.api#required": {} } }, "Parameters": { "target": "com.amazonaws.dynamodb#PreparedStatementParameters", "traits": { - "smithy.api#documentation": "

                                      \nThe parameters for the PartiQL statement, if any.\n

                                      " + "smithy.api#documentation": "

                                      The parameters for the PartiQL statement, if any.

                                      " } }, "ConsistentRead": { "target": "com.amazonaws.dynamodb#ConsistentRead", "traits": { - "smithy.api#documentation": "

                                      \nThe consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.\n

                                      " + "smithy.api#documentation": "

                                      The consistency of a read operation. If set to true, then a strongly\n consistent read is used; otherwise, an eventually consistent read is used.

                                      " } }, "NextToken": { "target": "com.amazonaws.dynamodb#PartiQLNextToken", "traits": { - "smithy.api#documentation": "

                                      \nSet this value to get remaining results, if NextToken was returned in the statement response.\n

                                      " + "smithy.api#documentation": "

                                      Set this value to get remaining results, if NextToken was returned in the\n statement response.

                                      " } } } @@ -3343,13 +3343,13 @@ "Items": { "target": "com.amazonaws.dynamodb#ItemList", "traits": { - "smithy.api#documentation": "

                                      \nIf a read operation was used, this property will contain the result of the reade operation; a map of attribute names and their values. For the write operations this value will be empty.\n

                                      " + "smithy.api#documentation": "

                                      If a read operation was used, this property will contain the result of the read\n operation; a map of attribute names and their values. For the write operations this\n value will be empty.

                                      " } }, "NextToken": { "target": "com.amazonaws.dynamodb#PartiQLNextToken", "traits": { - "smithy.api#documentation": "

                                      \nIf the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.\n

                                      " + "smithy.api#documentation": "

                                      If the response of a read request exceeds the response payload limit DynamoDB will set\n this value in the response. If set, you can use that this value in the subsequent\n request to get the remaining results.

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

                                      \nThis operation allows you to perform transactional reads or writes on data stored in DynamoDB, using PartiQL.\n

                                      " + "smithy.api#documentation": "

                                      This operation allows you to perform transactional reads or writes on data stored in\n DynamoDB, using PartiQL.

                                      \n \n

                                      The entire transaction must consist of either read statements or write statements,\n you cannot mix both in one transaction. The EXISTS function is an exception and can\n be used to check the condition of specific attributes of the item in a similar\n manner to ConditionCheck in the TransactWriteItems API.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#ExecuteTransactionInput": { @@ -3395,14 +3395,14 @@ "TransactStatements": { "target": "com.amazonaws.dynamodb#ParameterizedStatements", "traits": { - "smithy.api#documentation": "

                                      \nThe list of PartiQL statements representing the transaction to run.\n

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

                                      The list of PartiQL statements representing the transaction to run.

                                      ", "smithy.api#required": {} } }, "ClientRequestToken": { "target": "com.amazonaws.dynamodb#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                                      \nSet this value to get remaining results, if NextToken was returned in the statement response.\n

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

                                      Set this value to get remaining results, if NextToken was returned in the\n statement response.

                                      ", "smithy.api#idempotencyToken": {} } } @@ -3414,7 +3414,7 @@ "Responses": { "target": "com.amazonaws.dynamodb#ItemResponseList", "traits": { - "smithy.api#documentation": "

                                      \nThe response to a PartiQL transaction.\n

                                      " + "smithy.api#documentation": "

                                      The response to a PartiQL transaction.

                                      " } } } @@ -3434,30 +3434,30 @@ "Value": { "target": "com.amazonaws.dynamodb#AttributeValue", "traits": { - "smithy.api#documentation": "

                                      Represents the data for the expected attribute.

                                      \n

                                      Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself.

                                      \n

                                      For more information, see Data Types in the\n Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the data for the expected attribute.

                                      \n

                                      Each attribute value is described as a name-value pair. The name is the data type, and\n the value is the data itself.

                                      \n

                                      For more information, see Data Types in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "Exists": { "target": "com.amazonaws.dynamodb#BooleanObject", "traits": { - "smithy.api#documentation": "

                                      Causes DynamoDB to evaluate the value before attempting a conditional operation:

                                      \n
                                        \n
                                      • \n

                                        If Exists is true, DynamoDB will check to see if that attribute value\n already exists in the table. If it is found, then the operation succeeds. If it is not\n found, the operation fails with a ConditionCheckFailedException.

                                        \n
                                      • \n
                                      • \n

                                        If Exists is false, DynamoDB assumes that the attribute value does\n not exist in the table. If in fact the value does not exist, then the assumption\n is valid and the operation succeeds. If the value is found, despite the assumption that it\n does not exist, the operation fails with a ConditionCheckFailedException.

                                        \n
                                      • \n
                                      \n

                                      The default setting for Exists is true. If you supply a Value all\n by itself, DynamoDB assumes the attribute exists: You don't have to set Exists to\n true, because it is implied.

                                      \n

                                      DynamoDB returns a ValidationException if:

                                      \n
                                        \n
                                      • \n

                                        \n Exists is true but there is no Value to check. (You expect a\n value to exist, but don't specify what that value is.)

                                        \n
                                      • \n
                                      • \n

                                        \n Exists is false but you also provide a Value. (You cannot\n expect an attribute to have a value, while also expecting it not to exist.)

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

                                      Causes DynamoDB to evaluate the value before attempting a conditional\n operation:

                                      \n
                                        \n
                                      • \n

                                        If Exists is true, DynamoDB will check to\n see if that attribute value already exists in the table. If it is found, then\n the operation succeeds. If it is not found, the operation fails with a\n ConditionCheckFailedException.

                                        \n
                                      • \n
                                      • \n

                                        If Exists is false, DynamoDB assumes that\n the attribute value does not exist in the table. If in fact the value does not\n exist, then the assumption is valid and the operation succeeds. If the value is\n found, despite the assumption that it does not exist, the operation fails with a\n ConditionCheckFailedException.

                                        \n
                                      • \n
                                      \n

                                      The default setting for Exists is true. If you supply a\n Value all by itself, DynamoDB assumes the attribute exists:\n You don't have to set Exists to true, because it is\n implied.

                                      \n

                                      DynamoDB returns a ValidationException if:

                                      \n
                                        \n
                                      • \n

                                        \n Exists is true but there is no Value to\n check. (You expect a value to exist, but don't specify what that value\n is.)

                                        \n
                                      • \n
                                      • \n

                                        \n Exists is false but you also provide a\n Value. (You cannot expect an attribute to have a value, while\n also expecting it not to exist.)

                                        \n
                                      • \n
                                      " } }, "ComparisonOperator": { "target": "com.amazonaws.dynamodb#ComparisonOperator", "traits": { - "smithy.api#documentation": "

                                      A comparator for evaluating attributes in the AttributeValueList. For example, equals,\n greater than, less than, etc.

                                      \n

                                      The following comparison operators are available:

                                      \n

                                      \n EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS | BEGINS_WITH | IN | BETWEEN\n

                                      \n

                                      The following are descriptions of each comparison operator.

                                      \n
                                        \n
                                      • \n

                                        \n EQ : Equal. EQ is supported for all data types, including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NE : Not equal. NE is supported for all data types, including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue of type String,\n Number, Binary, String Set, Number Set, or Binary Set. If an item contains an AttributeValue of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LE : Less than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LT : Less than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GE : Greater than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GT : Greater than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If an item contains an AttributeValue element of a different\n type than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_NULL : The attribute exists. NOT_NULL is supported for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the existence of an attribute, not its data type. If the data type of attribute \"a\" is null, and you evaluate it using NOT_NULL, the result is a Boolean true. This result is because the attribute \"a\" exists; its data type is not relevant to the NOT_NULL comparison operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n NULL : The attribute does not exist. NULL is supported for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the nonexistence of an attribute, not its data type. If the data type of attribute \"a\" is null, and you evaluate it using NULL, the result is a Boolean false. This is because the attribute \"a\" exists; its data type is not relevant to the NULL comparison operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n CONTAINS : Checks for a subsequence, or value in a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If the target attribute of the comparison is of type String, then\n the operator checks for a substring match. If the target attribute of the comparison is\n of type Binary, then the operator looks for a subsequence of the target that matches the input.\n If the target attribute of the comparison is a set (\"SS\", \"NS\", or \"BS\"), then the\n operator evaluates to true if it finds an exact match with any member of the set.

                                        \n

                                        CONTAINS is supported for lists: When evaluating \"a CONTAINS b\", \"a\" can be a list; however, \"b\" cannot be a set, a map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_CONTAINS : Checks for absence of a subsequence, or absence of a value in\n a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue element of type String,\n Number, or Binary (not a set type). If the target attribute of the comparison is a String, then\n the operator checks for the absence of a substring match. If the target attribute of the\n comparison is Binary, then the operator checks for the absence of a subsequence of the\n target that matches the input. If the target attribute of the comparison is a set (\"SS\",\n \"NS\", or \"BS\"), then the operator evaluates to true if it does not find an exact match with any member of the set.

                                        \n

                                        NOT_CONTAINS is supported for lists: When evaluating \"a NOT CONTAINS b\", \"a\" can be a list; however, \"b\" cannot be a set, a map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n BEGINS_WITH : Checks for a prefix.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue of type String or\n Binary (not a Number or a set type). The target attribute of the comparison must be of type String or\n Binary (not a Number or a set type).

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n IN : Checks for matching elements in a list.

                                        \n

                                        \n AttributeValueList can contain one or more AttributeValue\n elements of type String, Number, or Binary. These attributes are compared against an\n existing attribute of an item. If any elements of the input are equal to the item\n attribute, the expression evaluates to true.

                                        \n
                                      • \n
                                      • \n

                                        \n BETWEEN : Greater than or equal to the first value, and less than or equal\n to the second value.

                                        \n

                                        \n AttributeValueList must contain two AttributeValue elements of the same\n type, either String, Number, or Binary (not a set type). A target attribute matches if the\n target value is greater than, or equal to, the first element and less than, or equal to,\n the second element. If an item contains an AttributeValue element of a different type than\n the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not compare to {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\", \"1\"]}\n

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

                                      A comparator for evaluating attributes in the AttributeValueList. For\n example, equals, greater than, less than, etc.

                                      \n

                                      The following comparison operators are available:

                                      \n

                                      \n EQ | NE | LE | LT | GE | GT | NOT_NULL | NULL | CONTAINS | NOT_CONTAINS |\n BEGINS_WITH | IN | BETWEEN\n

                                      \n

                                      The following are descriptions of each comparison operator.

                                      \n
                                        \n
                                      • \n

                                        \n EQ : Equal. EQ is supported for all data types,\n including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, Binary, String Set, Number Set, or Binary Set.\n If an item contains an AttributeValue element of a different type\n than the one provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\",\n \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NE : Not equal. NE is supported for all data types,\n including lists and maps.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n of type String, Number, Binary, String Set, Number Set, or Binary Set. If an\n item contains an AttributeValue of a different type than the one\n provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not equal {\"NS\":[\"6\", \"2\",\n \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LE : Less than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If an item contains\n an AttributeValue element of a different type than the one provided\n in the request, the value does not match. For example, {\"S\":\"6\"}\n does not equal {\"N\":\"6\"}. Also, {\"N\":\"6\"} does not\n compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n LT : Less than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n of type String, Number, or Binary (not a set type). If an item contains an\n AttributeValue element of a different type than the one\n provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not equal {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\",\n \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GE : Greater than or equal.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If an item contains\n an AttributeValue element of a different type than the one provided\n in the request, the value does not match. For example, {\"S\":\"6\"}\n does not equal {\"N\":\"6\"}. Also, {\"N\":\"6\"} does not\n compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n GT : Greater than.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If an item contains\n an AttributeValue element of a different type than the one provided\n in the request, the value does not match. For example, {\"S\":\"6\"}\n does not equal {\"N\":\"6\"}. Also, {\"N\":\"6\"} does not\n compare to {\"NS\":[\"6\", \"2\", \"1\"]}.

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_NULL : The attribute exists. NOT_NULL is supported\n for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the existence of an attribute, not its data type.\n If the data type of attribute \"a\" is null, and you evaluate it\n using NOT_NULL, the result is a Boolean true. This\n result is because the attribute \"a\" exists; its data type is\n not relevant to the NOT_NULL comparison operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n NULL : The attribute does not exist. NULL is supported\n for all data types, including lists and maps.

                                        \n \n

                                        This operator tests for the nonexistence of an attribute, not its data\n type. If the data type of attribute \"a\" is null, and you\n evaluate it using NULL, the result is a Boolean\n false. This is because the attribute \"a\"\n exists; its data type is not relevant to the NULL comparison\n operator.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n CONTAINS : Checks for a subsequence, or value in a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If the target\n attribute of the comparison is of type String, then the operator checks for a\n substring match. If the target attribute of the comparison is of type Binary,\n then the operator looks for a subsequence of the target that matches the input.\n If the target attribute of the comparison is a set (\"SS\",\n \"NS\", or \"BS\"), then the operator evaluates to\n true if it finds an exact match with any member of the set.

                                        \n

                                        CONTAINS is supported for lists: When evaluating \"a CONTAINS b\",\n \"a\" can be a list; however, \"b\" cannot be a set, a\n map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n NOT_CONTAINS : Checks for absence of a subsequence, or absence of a\n value in a set.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n element of type String, Number, or Binary (not a set type). If the target\n attribute of the comparison is a String, then the operator checks for the\n absence of a substring match. If the target attribute of the comparison is\n Binary, then the operator checks for the absence of a subsequence of the target\n that matches the input. If the target attribute of the comparison is a set\n (\"SS\", \"NS\", or \"BS\"), then the\n operator evaluates to true if it does not find an exact\n match with any member of the set.

                                        \n

                                        NOT_CONTAINS is supported for lists: When evaluating \"a NOT CONTAINS\n b\", \"a\" can be a list; however, \"b\" cannot\n be a set, a map, or a list.

                                        \n
                                      • \n
                                      • \n

                                        \n BEGINS_WITH : Checks for a prefix.

                                        \n

                                        \n AttributeValueList can contain only one AttributeValue\n of type String or Binary (not a Number or a set type). The target attribute of\n the comparison must be of type String or Binary (not a Number or a set\n type).

                                        \n

                                        \n
                                      • \n
                                      • \n

                                        \n IN : Checks for matching elements in a list.

                                        \n

                                        \n AttributeValueList can contain one or more\n AttributeValue elements of type String, Number, or Binary.\n These attributes are compared against an existing attribute of an item. If any\n elements of the input are equal to the item attribute, the expression evaluates\n to true.

                                        \n
                                      • \n
                                      • \n

                                        \n BETWEEN : Greater than or equal to the first value, and less than\n or equal to the second value.

                                        \n

                                        \n AttributeValueList must contain two AttributeValue\n elements of the same type, either String, Number, or Binary (not a set type). A\n target attribute matches if the target value is greater than, or equal to, the\n first element and less than, or equal to, the second element. If an item\n contains an AttributeValue element of a different type than the one\n provided in the request, the value does not match. For example,\n {\"S\":\"6\"} does not compare to {\"N\":\"6\"}. Also,\n {\"N\":\"6\"} does not compare to {\"NS\":[\"6\", \"2\",\n \"1\"]}\n

                                        \n
                                      • \n
                                      " } }, "AttributeValueList": { "target": "com.amazonaws.dynamodb#AttributeValueList", "traits": { - "smithy.api#documentation": "

                                      One or more values to evaluate against the supplied attribute. The number of values in the\n list depends on the ComparisonOperator being used.

                                      \n

                                      For type Number, value comparisons are numeric.

                                      \n

                                      String value comparisons for greater than, equals, or less than are based on ASCII character\n code values. For example, a is greater than A, and a\n is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                      \n

                                      For Binary, DynamoDB treats each byte of the binary data as unsigned when it compares binary values.

                                      \n

                                      For information on specifying data types in JSON, see JSON Data Format in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      One or more values to evaluate against the supplied attribute. The number of values in\n the list depends on the ComparisonOperator being used.

                                      \n

                                      For type Number, value comparisons are numeric.

                                      \n

                                      String value comparisons for greater than, equals, or less than are based on ASCII\n character code values. For example, a is greater than A, and\n a is greater than B. For a list of code values, see http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters.

                                      \n

                                      For Binary, DynamoDB treats each byte of the binary data as unsigned when it\n compares binary values.

                                      \n

                                      For information on specifying data types in JSON, see JSON Data Format\n in the Amazon DynamoDB Developer Guide.

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

                                      Represents a condition to be compared with an attribute value. This condition can be\n used with DeleteItem, PutItem, or UpdateItem\n operations; if the comparison evaluates to true, the operation succeeds; if not, the\n operation fails. You can use ExpectedAttributeValue in one of two different\n ways:

                                      \n
                                        \n
                                      • \n

                                        Use AttributeValueList to specify one or more values to compare against an\n attribute. Use ComparisonOperator to specify how you want to perform the\n comparison. If the comparison evaluates to true, then the conditional operation\n succeeds.

                                        \n
                                      • \n
                                      • \n

                                        Use Value to specify a value that DynamoDB will compare against an attribute. If the\n values match, then ExpectedAttributeValue evaluates to true and the conditional\n operation succeeds. Optionally, you can also set Exists to false, indicating that\n you do not expect to find the attribute value in the table. In this case, the\n conditional operation succeeds only if the comparison evaluates to false.

                                        \n
                                      • \n
                                      \n

                                      \n Value and Exists are incompatible with AttributeValueList and\n ComparisonOperator. Note that if you use both sets of parameters at once, DynamoDB will\n return a ValidationException exception.

                                      " + "smithy.api#documentation": "

                                      Represents a condition to be compared with an attribute value. This condition can be\n used with DeleteItem, PutItem, or UpdateItem\n operations; if the comparison evaluates to true, the operation succeeds; if not, the\n operation fails. You can use ExpectedAttributeValue in one of two different\n ways:

                                      \n
                                        \n
                                      • \n

                                        Use AttributeValueList to specify one or more values to compare\n against an attribute. Use ComparisonOperator to specify how you\n want to perform the comparison. If the comparison evaluates to true, then the\n conditional operation succeeds.

                                        \n
                                      • \n
                                      • \n

                                        Use Value to specify a value that DynamoDB will compare against\n an attribute. If the values match, then ExpectedAttributeValue\n evaluates to true and the conditional operation succeeds. Optionally, you can\n also set Exists to false, indicating that you do\n not expect to find the attribute value in the table. In this\n case, the conditional operation succeeds only if the comparison evaluates to\n false.

                                        \n
                                      • \n
                                      \n

                                      \n Value and Exists are incompatible with\n AttributeValueList and ComparisonOperator. Note that if\n you use both sets of parameters at once, DynamoDB will return a\n ValidationException exception.

                                      " } }, "com.amazonaws.dynamodb#ExportArn": { @@ -3493,7 +3493,7 @@ "ExportStatus": { "target": "com.amazonaws.dynamodb#ExportStatus", "traits": { - "smithy.api#documentation": "

                                      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

                                      " + "smithy.api#documentation": "

                                      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or\n FAILED.

                                      " } }, "StartTime": { @@ -3547,7 +3547,7 @@ "S3BucketOwner": { "target": "com.amazonaws.dynamodb#S3BucketOwner", "traits": { - "smithy.api#documentation": "

                                      The ID of the AWS account that owns the bucket containing the export.

                                      " + "smithy.api#documentation": "

                                      The ID of the Amazon Web Services account that owns the bucket containing the\n export.

                                      " } }, "S3Prefix": { @@ -3559,13 +3559,13 @@ "S3SseAlgorithm": { "target": "com.amazonaws.dynamodb#S3SseAlgorithm", "traits": { - "smithy.api#documentation": "

                                      Type of encryption used on the bucket where export data is stored. Valid values\n for S3SseAlgorithm are:

                                      \n
                                        \n
                                      • \n

                                        \n AES256 - server-side encryption with Amazon S3 managed keys

                                        \n
                                      • \n
                                      • \n

                                        \n KMS - server-side encryption with AWS KMS managed keys

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

                                      Type of encryption used on the bucket where export data is stored. Valid values for\n S3SseAlgorithm are:

                                      \n
                                        \n
                                      • \n

                                        \n AES256 - server-side encryption with Amazon S3 managed\n keys

                                        \n
                                      • \n
                                      • \n

                                        \n KMS - server-side encryption with KMS managed\n keys

                                        \n
                                      • \n
                                      " } }, "S3SseKmsKeyId": { "target": "com.amazonaws.dynamodb#S3SseKmsKeyId", "traits": { - "smithy.api#documentation": "

                                      The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data is\n stored (if applicable).

                                      " + "smithy.api#documentation": "

                                      The ID of the KMS managed key used to encrypt the S3 bucket where\n export data is stored (if applicable).

                                      " } }, "FailureCode": { @@ -3583,7 +3583,7 @@ "ExportFormat": { "target": "com.amazonaws.dynamodb#ExportFormat", "traits": { - "smithy.api#documentation": "

                                      The format of the exported data. Valid values for ExportFormat are\n DYNAMODB_JSON or ION.

                                      " + "smithy.api#documentation": "

                                      The format of the exported data. Valid values for ExportFormat are\n DYNAMODB_JSON or ION.

                                      " } }, "BilledSizeBytes": { @@ -3679,7 +3679,7 @@ "ExportStatus": { "target": "com.amazonaws.dynamodb#ExportStatus", "traits": { - "smithy.api#documentation": "

                                      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or FAILED.

                                      " + "smithy.api#documentation": "

                                      Export can be in one of the following states: IN_PROGRESS, COMPLETED, or\n FAILED.

                                      " } } }, @@ -3738,7 +3738,7 @@ "ClientToken": { "target": "com.amazonaws.dynamodb#ClientToken", "traits": { - "smithy.api#documentation": "

                                      Providing a ClientToken makes the call to\n ExportTableToPointInTimeInput idempotent, meaning that multiple\n identical calls have the same effect as one single call.

                                      \n

                                      A client token is valid for 8 hours after the first request that uses it is\n completed. After 8 hours, any request with the same client token is treated as a new\n request. Do not resubmit the same request with the same client token for more than 8\n hours, or the result might not be idempotent.

                                      \n

                                      If you submit a request with the same client token but a change in other parameters\n within the 8-hour idempotency window, DynamoDB returns an\n IdempotentParameterMismatch exception.

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

                                      Providing a ClientToken makes the call to\n ExportTableToPointInTimeInput idempotent, meaning that multiple\n identical calls have the same effect as one single call.

                                      \n

                                      A client token is valid for 8 hours after the first request that uses it is completed.\n After 8 hours, any request with the same client token is treated as a new request. Do\n not resubmit the same request with the same client token for more than 8 hours, or the\n result might not be idempotent.

                                      \n

                                      If you submit a request with the same client token but a change in other parameters\n within the 8-hour idempotency window, DynamoDB returns an\n IdempotentParameterMismatch exception.

                                      ", "smithy.api#idempotencyToken": {} } }, @@ -3752,7 +3752,7 @@ "S3BucketOwner": { "target": "com.amazonaws.dynamodb#S3BucketOwner", "traits": { - "smithy.api#documentation": "

                                      The ID of the AWS account that owns the bucket the export will be stored in.

                                      " + "smithy.api#documentation": "

                                      The ID of the Amazon Web Services account that owns the bucket the export will be\n stored in.

                                      " } }, "S3Prefix": { @@ -3764,13 +3764,13 @@ "S3SseAlgorithm": { "target": "com.amazonaws.dynamodb#S3SseAlgorithm", "traits": { - "smithy.api#documentation": "

                                      Type of encryption used on the bucket where export data will be stored. Valid values\n for S3SseAlgorithm are:

                                      \n
                                        \n
                                      • \n

                                        \n AES256 - server-side encryption with Amazon S3 managed keys

                                        \n
                                      • \n
                                      • \n

                                        \n KMS - server-side encryption with AWS KMS managed keys

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

                                      Type of encryption used on the bucket where export data will be stored. Valid values\n for S3SseAlgorithm are:

                                      \n
                                        \n
                                      • \n

                                        \n AES256 - server-side encryption with Amazon S3 managed\n keys

                                        \n
                                      • \n
                                      • \n

                                        \n KMS - server-side encryption with KMS managed\n keys

                                        \n
                                      • \n
                                      " } }, "S3SseKmsKeyId": { "target": "com.amazonaws.dynamodb#S3SseKmsKeyId", "traits": { - "smithy.api#documentation": "

                                      The ID of the AWS KMS managed key used to encrypt the S3 bucket where export data will\n be stored (if applicable).

                                      " + "smithy.api#documentation": "

                                      The ID of the KMS managed key used to encrypt the S3 bucket where\n export data will be stored (if applicable).

                                      " } }, "ExportFormat": { @@ -3860,7 +3860,7 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects that\n specifies the primary key of the item to retrieve.

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

                                      A map of attribute names to AttributeValue objects that specifies the\n primary key of the item to retrieve.

                                      ", "smithy.api#required": {} } }, @@ -3874,18 +3874,18 @@ "ProjectionExpression": { "target": "com.amazonaws.dynamodb#ProjectionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that identifies one or more attributes of the specified item\n to retrieve from the table. The attributes in the expression must be\n separated by commas. If no attribute names are specified, then all\n attributes of the specified item are returned. If any of the requested\n attributes are not found, they do not appear in the result.

                                      " + "smithy.api#documentation": "

                                      A string that identifies one or more attributes of the specified item to retrieve from\n the table. The attributes in the expression must be separated by commas. If no attribute\n names are specified, then all attributes of the specified item are returned. If any of\n the requested attributes are not found, they do not appear in the result.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in the\n ProjectionExpression parameter.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in the ProjectionExpression\n parameter.

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

                                      Specifies an item and related attribute values to retrieve in a\n TransactGetItem object.

                                      " + "smithy.api#documentation": "

                                      Specifies an item and related attribute values to retrieve in a\n TransactGetItem object.

                                      " } }, "com.amazonaws.dynamodb#GetItem": { @@ -3917,7 +3917,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The GetItem operation returns a set of attributes for the item with the given primary\n key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.

                                      \n

                                      \n GetItem provides an eventually consistent read by default. If your application\n requires a strongly consistent read, set ConsistentRead to true. Although\n a strongly consistent read might take more time than an eventually consistent read, it always\n returns the last updated value.

                                      " + "smithy.api#documentation": "

                                      The GetItem operation returns a set of attributes for the item with the\n given primary key. If there is no matching item, GetItem does not return\n any data and there will be no Item element in the response.

                                      \n

                                      \n GetItem provides an eventually consistent read by default. If your\n application requires a strongly consistent read, set ConsistentRead to\n true. Although a strongly consistent read might take more time than an\n eventually consistent read, it always returns the last updated value.

                                      " } }, "com.amazonaws.dynamodb#GetItemInput": { @@ -3933,20 +3933,20 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects, representing the primary key of\n the item to retrieve.

                                      \n

                                      For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

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

                                      A map of attribute names to AttributeValue objects, representing the\n primary key of the item to retrieve.

                                      \n

                                      For the primary key, you must provide all of the attributes. For example, with a\n simple primary key, you only need to provide a value for the partition key. For a\n composite primary key, you must provide values for both the partition key and the sort\n key.

                                      ", "smithy.api#required": {} } }, "AttributesToGet": { "target": "com.amazonaws.dynamodb#AttributeNameList", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more information, see\n AttributesToGet in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more\n information, see AttributesToGet in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConsistentRead": { "target": "com.amazonaws.dynamodb#ConsistentRead", "traits": { - "smithy.api#documentation": "

                                      Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.

                                      " + "smithy.api#documentation": "

                                      Determines the read consistency model: If set to true, then the operation\n uses strongly consistent reads; otherwise, the operation uses eventually consistent\n reads.

                                      " } }, "ReturnConsumedCapacity": { @@ -3955,13 +3955,13 @@ "ProjectionExpression": { "target": "com.amazonaws.dynamodb#ProjectionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes are returned. If any of the\n requested attributes are not found, they do not appear in the result.

                                      \n

                                      For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the table. These\n attributes can include scalars, sets, or elements of a JSON document. The attributes in\n the expression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes are returned. If any of the\n requested attributes are not found, they do not appear in the result.

                                      \n

                                      For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -3975,7 +3975,7 @@ "Item": { "target": "com.amazonaws.dynamodb#AttributeMap", "traits": { - "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects, as specified\n by ProjectionExpression.

                                      " + "smithy.api#documentation": "

                                      A map of attribute names to AttributeValue objects, as specified by\n ProjectionExpression.

                                      " } }, "ConsumedCapacity": { @@ -3995,28 +3995,28 @@ "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of the global secondary index. The name must be unique among all other indexes on this table.

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

                                      The name of the global secondary index. The name must be unique among all other\n indexes on this table.

                                      ", "smithy.api#required": {} } }, "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The complete key schema for a global secondary index, which consists of one or more\n pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      ", "smithy.api#required": {} } }, "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

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

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      ", "smithy.api#required": {} } }, "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughput", "traits": { - "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary\n index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

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

                                      Represents the auto scaling settings of a global secondary index for a global table\n that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings of a global secondary index for a global table\n that will be modified.

                                      " } }, "com.amazonaws.dynamodb#GlobalSecondaryIndexAutoScalingUpdateList": { @@ -4064,43 +4064,43 @@ "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The complete key schema for a global secondary index, which consists of one or more\n pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across\n partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with\n the same partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      " } }, "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      " + "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      " } }, "IndexStatus": { "target": "com.amazonaws.dynamodb#IndexStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the global secondary index:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The index is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The index is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The index is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The index is ready for use.

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

                                      The current state of the global secondary index:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The index is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The index is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The index is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The index is ready for use.

                                        \n
                                      • \n
                                      " } }, "Backfilling": { "target": "com.amazonaws.dynamodb#Backfilling", "traits": { - "smithy.api#documentation": "

                                      Indicates whether the index is currently backfilling. Backfilling is the process of reading items from \n the table and determining whether they can be added to the index. (Not all items will qualify: For example, a partition key \n cannot have any duplicate values.) If an item can be added to the index, DynamoDB will do so. After all items have been processed, \n the backfilling operation is complete and Backfilling is false.

                                      \n

                                      You can delete an index that is being created during the Backfilling phase\n when IndexStatus is set to CREATING and Backfilling is true. You\n can't delete the index that is being created when IndexStatus is set to\n CREATING and Backfilling is false.

                                      \n \n

                                      For indexes that were created during a CreateTable operation, the Backfilling attribute does not appear in the DescribeTable output.

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

                                      Indicates whether the index is currently backfilling. Backfilling\n is the process of reading items from the table and determining whether they can be added\n to the index. (Not all items will qualify: For example, a partition key cannot have any\n duplicate values.) If an item can be added to the index, DynamoDB will do so. After all\n items have been processed, the backfilling operation is complete and\n Backfilling is false.

                                      \n

                                      You can delete an index that is being created during the Backfilling\n phase when IndexStatus is set to CREATING and Backfilling is\n true. You can't delete the index that is being created when IndexStatus is\n set to CREATING and Backfilling is false.

                                      \n \n

                                      For indexes that were created during a CreateTable operation, the\n Backfilling attribute does not appear in the\n DescribeTable output.

                                      \n
                                      " } }, "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughputDescription", "traits": { - "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary\n index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "IndexSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { - "smithy.api#documentation": "

                                      The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                      " + "smithy.api#documentation": "

                                      The total size of the specified index, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

                                      " } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { - "smithy.api#documentation": "

                                      The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                      " + "smithy.api#documentation": "

                                      The number of items in the specified index. DynamoDB updates this value approximately\n every six hours. Recent changes might not be reflected in this value.

                                      " } }, "IndexArn": { @@ -4132,24 +4132,24 @@ "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The complete key schema for a global secondary index, which consists of one or more pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The complete key schema for a global secondary index, which consists of one or more\n pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across\n partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with\n the same partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      " } }, "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into\n the global secondary index. These are in addition to the primary\n key attributes and index key attributes, which are automatically\n projected.

                                      " + "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      " } }, "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughput", "traits": { - "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary index.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary\n index.

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

                                      Represents the properties of a global secondary index for the table\n when the backup was created.

                                      " + "smithy.api#documentation": "

                                      Represents the properties of a global secondary index for the table when the backup\n was created.

                                      " } }, "com.amazonaws.dynamodb#GlobalSecondaryIndexList": { @@ -4164,13 +4164,13 @@ "Update": { "target": "com.amazonaws.dynamodb#UpdateGlobalSecondaryIndexAction", "traits": { - "smithy.api#documentation": "

                                      The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.

                                      " + "smithy.api#documentation": "

                                      The name of an existing global secondary index, along with new provisioned throughput\n settings to be applied to that index.

                                      " } }, "Create": { "target": "com.amazonaws.dynamodb#CreateGlobalSecondaryIndexAction", "traits": { - "smithy.api#documentation": "

                                      The parameters required for creating a global secondary index on an existing table:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName \n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema \n

                                        \n
                                      • \n
                                      • \n

                                        \n AttributeDefinitions \n

                                        \n
                                      • \n
                                      • \n

                                        \n Projection \n

                                        \n
                                      • \n
                                      • \n

                                        \n ProvisionedThroughput \n

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

                                      The parameters required for creating a global secondary index on an existing\n table:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName \n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema \n

                                        \n
                                      • \n
                                      • \n

                                        \n AttributeDefinitions \n

                                        \n
                                      • \n
                                      • \n

                                        \n Projection \n

                                        \n
                                      • \n
                                      • \n

                                        \n ProvisionedThroughput \n

                                        \n
                                      • \n
                                      " } }, "Delete": { @@ -4181,7 +4181,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents one of the following:

                                      \n
                                        \n
                                      • \n

                                        A new global secondary index to be added to an existing table.

                                        \n
                                      • \n
                                      • \n

                                        New provisioned throughput parameters for an existing global secondary index.

                                        \n
                                      • \n
                                      • \n

                                        An existing global secondary index to be removed from an existing table.

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

                                      Represents one of the following:

                                      \n
                                        \n
                                      • \n

                                        A new global secondary index to be added to an existing table.

                                        \n
                                      • \n
                                      • \n

                                        New provisioned throughput parameters for an existing global secondary\n index.

                                        \n
                                      • \n
                                      • \n

                                        An existing global secondary index to be removed from an existing\n table.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#GlobalSecondaryIndexUpdateList": { @@ -4255,7 +4255,7 @@ "GlobalTableStatus": { "target": "com.amazonaws.dynamodb#GlobalTableStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the global table:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The global table is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The global table is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The global table is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The global table is ready for use.

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

                                      The current state of the global table:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The global table is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The global table is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The global table is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The global table is ready for use.

                                        \n
                                      • \n
                                      " } }, "GlobalTableName": { @@ -4275,25 +4275,25 @@ "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of the global secondary index. The name must be unique among all other indexes on this table.

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

                                      The name of the global secondary index. The name must be unique among all other\n indexes on this table.

                                      ", "smithy.api#required": {} } }, "ProvisionedWriteCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.\n

                                      " + "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.\n

                                      " } }, "ProvisionedWriteCapacityAutoScalingSettingsUpdate": { "target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate", "traits": { - "smithy.api#documentation": "

                                      Auto scaling settings for managing a global secondary index's write capacity\n units.

                                      " + "smithy.api#documentation": "

                                      Auto scaling settings for managing a global secondary index's write capacity\n units.

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

                                      Represents the settings of a global secondary index for a global table that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the settings of a global secondary index for a global table that will be\n modified.

                                      " } }, "com.amazonaws.dynamodb#GlobalTableGlobalSecondaryIndexSettingsUpdateList": { @@ -4357,7 +4357,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      DynamoDB rejected the request because you retried a request with a different payload but\n with an idempotent token that was already used.

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

                                      DynamoDB rejected the request because you retried a request with a\n different payload but with an idempotent token that was already used.

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

                                      An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime and LatestRestorableDateTime.

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

                                      An invalid restore time was specified. RestoreDateTime must be between\n EarliestRestorableDateTime and LatestRestorableDateTime.

                                      ", "smithy.api#error": "client" } }, @@ -4481,18 +4481,18 @@ "ItemCollectionKey": { "target": "com.amazonaws.dynamodb#ItemCollectionKeyAttributeMap", "traits": { - "smithy.api#documentation": "

                                      The partition key value of the item collection. This value is the same as the partition key value of the item.

                                      " + "smithy.api#documentation": "

                                      The partition key value of the item collection. This value is the same as the\n partition key value of the item.

                                      " } }, "SizeEstimateRangeGB": { "target": "com.amazonaws.dynamodb#ItemCollectionSizeEstimateRange", "traits": { - "smithy.api#documentation": "

                                      An estimate of item collection size, in gigabytes. This value is a two-element array containing a lower bound and an upper bound for the estimate. The estimate includes the size of all the items in the table, plus the size of all attributes projected into all of the local secondary indexes on that table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                      \n

                                      The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

                                      " + "smithy.api#documentation": "

                                      An estimate of item collection size, in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the estimate. The estimate includes the\n size of all the items in the table, plus the size of all attributes projected into all\n of the local secondary indexes on that table. Use this estimate to measure whether a\n local secondary index is approaching its size limit.

                                      \n

                                      The estimate is subject to change over time; therefore, do not rely on the precision\n or accuracy of the estimate.

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

                                      Information about item collections, if any, that were affected by the operation.\n ItemCollectionMetrics is only returned if the request asked for it. If the\n table does not have any local secondary indexes, this information is not returned in the response.

                                      " + "smithy.api#documentation": "

                                      Information about item collections, if any, that were affected by the operation.\n ItemCollectionMetrics is only returned if the request asked for it. If\n the table does not have any local secondary indexes, this information is not returned in\n the response.

                                      " } }, "com.amazonaws.dynamodb#ItemCollectionMetricsMultiple": { @@ -4528,12 +4528,12 @@ "message": { "target": "com.amazonaws.dynamodb#ErrorMessage", "traits": { - "smithy.api#documentation": "

                                      The total size of an item collection has exceeded the maximum limit of 10 gigabytes.

                                      " + "smithy.api#documentation": "

                                      The total size of an item collection has exceeded the maximum limit of 10\n gigabytes.

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

                                      An item collection is too large. This exception is only returned for tables that have one or more local secondary indexes.

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

                                      An item collection is too large. This exception is only returned for tables that\n have one or more local secondary indexes.

                                      ", "smithy.api#error": "client" } }, @@ -4651,13 +4651,13 @@ "KeyType": { "target": "com.amazonaws.dynamodb#KeyType", "traits": { - "smithy.api#documentation": "

                                      The role that this key attribute will assume:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The role that this key attribute will assume:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to evenly distribute data items across\n partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with\n the same partition key physically close together, in sorted order by the sort key\n value.

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

                                      Represents a single element of a key schema. A key schema specifies the attributes\n that make up the primary key of a table, or the key attributes of an index.

                                      \n

                                      A KeySchemaElement represents exactly one attribute of the primary key. For example, a\n simple primary key would be represented by one KeySchemaElement (for the partition key). A composite\n primary key would require one KeySchemaElement for the partition key, and another\n KeySchemaElement for the sort key.

                                      \n

                                      A KeySchemaElement must be a scalar, top-level attribute (not a nested attribute). The data type must be one of String, Number, or Binary. The attribute cannot be nested within a List or a Map.

                                      " + "smithy.api#documentation": "

                                      Represents a single element of a key schema. A key schema\n specifies the attributes that make up the primary key of a table, or the key attributes\n of an index.

                                      \n

                                      A KeySchemaElement represents exactly one attribute of the primary key.\n For example, a simple primary key would be represented by one\n KeySchemaElement (for the partition key). A composite primary key would\n require one KeySchemaElement for the partition key, and another\n KeySchemaElement for the sort key.

                                      \n

                                      A KeySchemaElement must be a scalar, top-level attribute (not a nested\n attribute). The data type must be one of String, Number, or Binary. The attribute cannot\n be nested within a List or a Map.

                                      " } }, "com.amazonaws.dynamodb#KeyType": { @@ -4681,37 +4681,37 @@ "Keys": { "target": "com.amazonaws.dynamodb#KeyList", "traits": { - "smithy.api#documentation": "

                                      The primary key attribute values that define the items and the attributes associated with the items.

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

                                      The primary key attribute values that define the items and the attributes associated\n with the items.

                                      ", "smithy.api#required": {} } }, "AttributesToGet": { "target": "com.amazonaws.dynamodb#AttributeNameList", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more information, see\n Legacy Conditional Parameters in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more\n information, see Legacy\n Conditional Parameters in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConsistentRead": { "target": "com.amazonaws.dynamodb#ConsistentRead", "traits": { - "smithy.api#documentation": "

                                      The consistency of a read operation. If set to true, then a strongly consistent\n read is used; otherwise, an eventually consistent read is used.

                                      " + "smithy.api#documentation": "

                                      The consistency of a read operation. If set to true, then a strongly\n consistent read is used; otherwise, an eventually consistent read is used.

                                      " } }, "ProjectionExpression": { "target": "com.amazonaws.dynamodb#ProjectionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars,\n sets, or elements of a JSON document. The attributes in the ProjectionExpression must be separated by\n commas.

                                      \n

                                      If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

                                      \n

                                      For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the table. These\n attributes can include scalars, sets, or elements of a JSON document. The attributes in\n the ProjectionExpression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes will be returned. If any of\n the requested attributes are not found, they will not appear in the result.

                                      \n

                                      For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Accessing Item Attributes in the Amazon DynamoDB Developer\n Guide.

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

                                      Represents a set of primary keys and, for each key, the attributes to retrieve from the table.

                                      \n

                                      For each primary key, you must provide all of the key attributes. For example, with a\n simple primary key, you only need to provide the partition key. For a composite\n primary key, you must provide both the partition key and the sort key.

                                      " + "smithy.api#documentation": "

                                      Represents a set of primary keys and, for each key, the attributes to retrieve from\n the table.

                                      \n

                                      For each primary key, you must provide all of the key attributes.\n For example, with a simple primary key, you only need to provide the partition key. For\n a composite primary key, you must provide both the partition key\n and the sort key.

                                      " } }, "com.amazonaws.dynamodb#KinesisDataStreamDestination": { @@ -4802,7 +4802,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      There is no limit to the number of daily on-demand backups that can be taken.

                                      \n

                                      Up to 50 simultaneous table operations are allowed per account. These operations\n include CreateTable, UpdateTable,\n DeleteTable,UpdateTimeToLive,\n RestoreTableFromBackup, and RestoreTableToPointInTime.

                                      \n

                                      The only exception is when you are creating a table with one or more secondary indexes. You can have up to \n 25 such requests running at a time; however, if the table or index specifications are complex, DynamoDB might temporarily \n reduce the number of concurrent operations.

                                      \n

                                      There is a soft account quota of 256 tables.

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

                                      There is no limit to the number of daily on-demand backups that can be taken.

                                      \n

                                      Up to 50 simultaneous table operations are allowed per account. These operations\n include CreateTable, UpdateTable,\n DeleteTable,UpdateTimeToLive,\n RestoreTableFromBackup, and RestoreTableToPointInTime.

                                      \n

                                      The only exception is when you are creating a table with one or more secondary\n indexes. You can have up to 25 such requests running at a time; however, if the table or\n index specifications are complex, DynamoDB might temporarily reduce the number\n of concurrent operations.

                                      \n

                                      There is a soft account quota of 256 tables.

                                      ", "smithy.api#error": "client" } }, @@ -4832,7 +4832,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      List backups associated with an AWS account. To list backups for a given table, specify\n TableName. ListBackups returns a paginated list of results\n with at most 1 MB worth of items in a page. You can also specify a maximum number of\n entries to be returned in a page.

                                      \n

                                      In the request, start time is inclusive, but end time is exclusive. Note that these\n boundaries are for the time at which the original backup was requested.

                                      \n

                                      You can call ListBackups a maximum of five times per second.

                                      " + "smithy.api#documentation": "

                                      List backups associated with an Amazon Web Services account. To list backups for a\n given table, specify TableName. ListBackups returns a\n paginated list of results with at most 1 MB worth of items in a page. You can also\n specify a maximum number of entries to be returned in a page.

                                      \n

                                      In the request, start time is inclusive, but end time is exclusive. Note that these\n boundaries are for the time at which the original backup was requested.

                                      \n

                                      You can call ListBackups a maximum of five times per second.

                                      " } }, "com.amazonaws.dynamodb#ListBackupsInput": { @@ -4853,25 +4853,25 @@ "TimeRangeLowerBound": { "target": "com.amazonaws.dynamodb#TimeRangeLowerBound", "traits": { - "smithy.api#documentation": "

                                      Only backups created after this time are listed. TimeRangeLowerBound is inclusive.

                                      " + "smithy.api#documentation": "

                                      Only backups created after this time are listed. TimeRangeLowerBound is\n inclusive.

                                      " } }, "TimeRangeUpperBound": { "target": "com.amazonaws.dynamodb#TimeRangeUpperBound", "traits": { - "smithy.api#documentation": "

                                      Only backups created before this time are listed. TimeRangeUpperBound is exclusive.

                                      " + "smithy.api#documentation": "

                                      Only backups created before this time are listed. TimeRangeUpperBound is\n exclusive.

                                      " } }, "ExclusiveStartBackupArn": { "target": "com.amazonaws.dynamodb#BackupArn", "traits": { - "smithy.api#documentation": "

                                      \n LastEvaluatedBackupArn is the Amazon Resource Name (ARN) of the backup last\n evaluated when the current page of results was returned, inclusive of the current page\n of results. This value may be specified as the ExclusiveStartBackupArn of a\n new ListBackups operation in order to fetch the next page of results.

                                      " + "smithy.api#documentation": "

                                      \n LastEvaluatedBackupArn is the Amazon Resource Name (ARN) of the backup last\n evaluated when the current page of results was returned, inclusive of the current page\n of results. This value may be specified as the ExclusiveStartBackupArn of a\n new ListBackups operation in order to fetch the next page of results.\n

                                      " } }, "BackupType": { "target": "com.amazonaws.dynamodb#BackupTypeFilter", "traits": { - "smithy.api#documentation": "

                                      The backups from the table specified by BackupType are listed.

                                      \n

                                      Where BackupType can be:

                                      \n
                                        \n
                                      • \n

                                        \n USER - On-demand backup created by you.

                                        \n
                                      • \n
                                      • \n

                                        \n SYSTEM - On-demand backup automatically created by\n DynamoDB.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL - All types of on-demand backups (USER and SYSTEM).

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

                                      The backups from the table specified by BackupType are listed.

                                      \n

                                      Where BackupType can be:

                                      \n
                                        \n
                                      • \n

                                        \n USER - On-demand backup created by you.

                                        \n
                                      • \n
                                      • \n

                                        \n SYSTEM - On-demand backup automatically created by DynamoDB.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL - All types of on-demand backups (USER and SYSTEM).

                                        \n
                                      • \n
                                      " } } } @@ -4888,7 +4888,7 @@ "LastEvaluatedBackupArn": { "target": "com.amazonaws.dynamodb#BackupArn", "traits": { - "smithy.api#documentation": "

                                      \n The ARN of the backup last evaluated when the current page of results was returned,\n inclusive of the current page of results. This value may be specified as the\n ExclusiveStartBackupArn of a new ListBackups operation in order to fetch the next page of results.\n

                                      \n

                                      \n If LastEvaluatedBackupArn is empty, then the last page of results has been processed and there are no\n more results to be retrieved.\n

                                      \n

                                      If LastEvaluatedBackupArn is not empty, this may or may not indicate that\n there is more data to be returned. All results are guaranteed to have been returned if\n and only if no value for LastEvaluatedBackupArn is returned.

                                      " + "smithy.api#documentation": "

                                      The ARN of the backup last evaluated when the current page of results was returned,\n inclusive of the current page of results. This value may be specified as the\n ExclusiveStartBackupArn of a new ListBackups operation in\n order to fetch the next page of results.

                                      \n

                                      If LastEvaluatedBackupArn is empty, then the last page of results has\n been processed and there are no more results to be retrieved.

                                      \n

                                      If LastEvaluatedBackupArn is not empty, this may or may not indicate\n that there is more data to be returned. All results are guaranteed to have been returned\n if and only if no value for LastEvaluatedBackupArn is returned.

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

                                      Returns a list of ContributorInsightsSummary for a table and all its global secondary indexes.

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

                                      Returns a list of ContributorInsightsSummary for a table and all its global secondary\n indexes.

                                      ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -5061,7 +5061,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Lists all global tables that have a replica in the specified Region.

                                      \n \n

                                      This operation only applies to Version 2017.11.29 of global tables.

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

                                      Lists all global tables that have a replica in the specified Region.

                                      \n \n

                                      This operation only applies to Version\n 2017.11.29 of global tables.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#ListGlobalTablesInput": { @@ -5076,7 +5076,7 @@ "Limit": { "target": "com.amazonaws.dynamodb#PositiveIntegerObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of table names to return, if the parameter is not specified DynamoDB defaults to 100.

                                      \n

                                      If the number of global tables DynamoDB finds reaches this limit, it stops the operation and returns the table names collected up to that point,\n with a table name in the LastEvaluatedGlobalTableName to apply in a subsequent operation to the ExclusiveStartGlobalTableName parameter.

                                      " + "smithy.api#documentation": "

                                      The maximum number of table names to return, if the parameter is not specified\n DynamoDB defaults to 100.

                                      \n

                                      If the number of global tables DynamoDB finds reaches this limit, it stops the\n operation and returns the table names collected up to that point, with a table name in\n the LastEvaluatedGlobalTableName to apply in a subsequent operation to the\n ExclusiveStartGlobalTableName parameter.

                                      " } }, "RegionName": { @@ -5124,7 +5124,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Returns an array of table names associated with the current account and endpoint. The output\n from ListTables is paginated, with each page returning a maximum of 100 table\n names.

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

                                      Returns an array of table names associated with the current account and endpoint. The\n output from ListTables is paginated, with each page returning a maximum of\n 100 table names.

                                      ", "smithy.api#paginated": { "inputToken": "ExclusiveStartTableName", "outputToken": "LastEvaluatedTableName", @@ -5139,13 +5139,13 @@ "ExclusiveStartTableName": { "target": "com.amazonaws.dynamodb#TableName", "traits": { - "smithy.api#documentation": "

                                      The first table name that this operation will evaluate. Use the value that was returned for\n LastEvaluatedTableName in a previous operation, so that you can obtain the next page\n of results.

                                      " + "smithy.api#documentation": "

                                      The first table name that this operation will evaluate. Use the value that was\n returned for LastEvaluatedTableName in a previous operation, so that you\n can obtain the next page of results.

                                      " } }, "Limit": { "target": "com.amazonaws.dynamodb#ListTablesInputLimit", "traits": { - "smithy.api#documentation": "

                                      A maximum number of table names to return. If this parameter is not specified, the limit is 100.

                                      " + "smithy.api#documentation": "

                                      A maximum number of table names to return. If this parameter is not specified, the\n limit is 100.

                                      " } } }, @@ -5169,13 +5169,13 @@ "TableNames": { "target": "com.amazonaws.dynamodb#TableNameList", "traits": { - "smithy.api#documentation": "

                                      The names of the tables associated with the current account at the current endpoint. The maximum size of this array is 100.

                                      \n

                                      If LastEvaluatedTableName also appears in the output, you can use this value as the\n ExclusiveStartTableName parameter in a subsequent ListTables request and\n obtain the next page of results.

                                      " + "smithy.api#documentation": "

                                      The names of the tables associated with the current account at the current endpoint.\n The maximum size of this array is 100.

                                      \n

                                      If LastEvaluatedTableName also appears in the output, you can use this\n value as the ExclusiveStartTableName parameter in a subsequent\n ListTables request and obtain the next page of results.

                                      " } }, "LastEvaluatedTableName": { "target": "com.amazonaws.dynamodb#TableName", "traits": { - "smithy.api#documentation": "

                                      The name of the last table in the current page of results. Use this value as the\n ExclusiveStartTableName in a new request to obtain the next page of results, until\n all the table names are returned.

                                      \n

                                      If you do not receive a LastEvaluatedTableName value in the response, this means that\n there are no more table names to be retrieved.

                                      " + "smithy.api#documentation": "

                                      The name of the last table in the current page of results. Use this value as the\n ExclusiveStartTableName in a new request to obtain the next page of\n results, until all the table names are returned.

                                      \n

                                      If you do not receive a LastEvaluatedTableName value in the response,\n this means that there are no more table names to be retrieved.

                                      " } } }, @@ -5206,7 +5206,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.

                                      \n

                                      For an overview on tagging DynamoDB resources, see\n Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10\n times per second, per account.

                                      \n

                                      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " } }, "com.amazonaws.dynamodb#ListTagsOfResourceInput": { @@ -5215,14 +5215,14 @@ "ResourceArn": { "target": "com.amazonaws.dynamodb#ResourceArnString", "traits": { - "smithy.api#documentation": "

                                      The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource Name (ARN).

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

                                      The Amazon DynamoDB resource with tags to be listed. This value is an Amazon Resource\n Name (ARN).

                                      ", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.dynamodb#NextTokenString", "traits": { - "smithy.api#documentation": "

                                      An optional string that, if supplied, must be copied from the output of a previous\n call to ListTagOfResource. When provided in this manner, this API fetches the next page of results.

                                      " + "smithy.api#documentation": "

                                      An optional string that, if supplied, must be copied from the output of a previous\n call to ListTagOfResource. When provided in this manner, this API fetches the next page\n of results.

                                      " } } } @@ -5239,7 +5239,7 @@ "NextToken": { "target": "com.amazonaws.dynamodb#NextTokenString", "traits": { - "smithy.api#documentation": "

                                      If this value is returned, there are additional results to be displayed. To retrieve them,\n call ListTagsOfResource again, with NextToken set to this value.

                                      " + "smithy.api#documentation": "

                                      If this value is returned, there are additional results to be displayed. To retrieve\n them, call ListTagsOfResource again, with NextToken set to this value.

                                      " } } } @@ -5250,21 +5250,21 @@ "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of the local secondary index. The name must be unique among all other indexes on this table.

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

                                      The name of the local secondary index. The name must be unique among all other indexes\n on this table.

                                      ", "smithy.api#required": {} } }, "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The complete key schema for the local secondary index, consisting of one or more pairs\n of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      ", "smithy.api#required": {} } }, "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the local\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

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

                                      Represents attributes that are copied (projected) from the table into the local\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      ", "smithy.api#required": {} } } @@ -5285,25 +5285,25 @@ "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The complete key schema for the local secondary index, consisting of one or more pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The complete key schema for the local secondary index, consisting of one or more pairs\n of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      " } }, "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      " + "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

                                      " } }, "IndexSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { - "smithy.api#documentation": "

                                      The total size of the specified index, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                      " + "smithy.api#documentation": "

                                      The total size of the specified index, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

                                      " } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { - "smithy.api#documentation": "

                                      The number of items in the specified index. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                      " + "smithy.api#documentation": "

                                      The number of items in the specified index. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

                                      " } }, "IndexArn": { @@ -5335,18 +5335,18 @@ "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The complete key schema for a local secondary index, which consists of one or more pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

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

                                      The complete key schema for a local secondary index, which consists of one or more\n pairs of attribute names and key types:

                                      \n
                                        \n
                                      • \n

                                        \n HASH - partition key

                                        \n
                                      • \n
                                      • \n

                                        \n RANGE - sort key

                                        \n
                                      • \n
                                      \n \n

                                      The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's usage of\n an internal hash function to evenly distribute data items across partitions, based\n on their partition key values.

                                      \n

                                      The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key\n value.

                                      \n
                                      " } }, "Projection": { "target": "com.amazonaws.dynamodb#Projection", "traits": { - "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global secondary index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

                                      " + "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into the global\n secondary index. These are in addition to the primary key attributes and index key\n attributes, which are automatically projected.

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

                                      Represents the properties of a local secondary index for the table\n when the backup was created.

                                      " + "smithy.api#documentation": "

                                      Represents the properties of a local secondary index for the table when the backup was\n created.

                                      " } }, "com.amazonaws.dynamodb#LocalSecondaryIndexList": { @@ -5427,19 +5427,19 @@ "Statement": { "target": "com.amazonaws.dynamodb#PartiQLStatement", "traits": { - "smithy.api#documentation": "

                                      \nA PartiQL statment that uses parameters.\n

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

                                      A PartiQL statment that uses parameters.

                                      ", "smithy.api#required": {} } }, "Parameters": { "target": "com.amazonaws.dynamodb#PreparedStatementParameters", "traits": { - "smithy.api#documentation": "

                                      \nThe parameter values.\n

                                      " + "smithy.api#documentation": "

                                      The parameter values.

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

                                      \nRepresents a PartiQL statment that uses parameters.\n

                                      " + "smithy.api#documentation": "

                                      Represents a PartiQL statment that uses parameters.

                                      " } }, "com.amazonaws.dynamodb#ParameterizedStatements": { @@ -5496,19 +5496,19 @@ "PointInTimeRecoveryStatus": { "target": "com.amazonaws.dynamodb#PointInTimeRecoveryStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of point in time recovery:

                                      \n
                                        \n
                                      • \n

                                        \n ENABLING - Point in time recovery is being enabled.

                                        \n
                                      • \n
                                      • \n

                                        \n ENABLED - Point in time recovery is enabled.

                                        \n
                                      • \n
                                      • \n

                                        \n DISABLED - Point in time recovery is disabled.

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

                                      The current state of point in time recovery:

                                      \n
                                        \n
                                      • \n

                                        \n ENABLING - Point in time recovery is being enabled.

                                        \n
                                      • \n
                                      • \n

                                        \n ENABLED - Point in time recovery is enabled.

                                        \n
                                      • \n
                                      • \n

                                        \n DISABLED - Point in time recovery is disabled.

                                        \n
                                      • \n
                                      " } }, "EarliestRestorableDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      Specifies the earliest point in time you can restore your table to. You can restore your\n table to any point in time during the last 35 days.

                                      " + "smithy.api#documentation": "

                                      Specifies the earliest point in time you can restore your table to. You can restore\n your table to any point in time during the last 35 days.

                                      " } }, "LatestRestorableDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      \n LatestRestorableDateTime is typically 5 minutes before the current time.\n

                                      " + "smithy.api#documentation": "

                                      \n LatestRestorableDateTime is typically 5 minutes before the current time.\n

                                      " } } }, @@ -5522,7 +5522,7 @@ "PointInTimeRecoveryEnabled": { "target": "com.amazonaws.dynamodb#BooleanObject", "traits": { - "smithy.api#documentation": "

                                      Indicates whether point in time recovery is enabled (true) or disabled (false) on the table.

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

                                      Indicates whether point in time recovery is enabled (true) or disabled (false) on the\n table.

                                      ", "smithy.api#required": {} } } @@ -5593,18 +5593,18 @@ "ProjectionType": { "target": "com.amazonaws.dynamodb#ProjectionType", "traits": { - "smithy.api#documentation": "

                                      The set of attributes that are projected into the index:

                                      \n
                                        \n
                                      • \n

                                        \n KEYS_ONLY - Only the index and primary keys are projected into the\n index.

                                        \n
                                      • \n
                                      • \n

                                        \n INCLUDE - In addition to the attributes described in KEYS_ONLY, the secondary index will include other non-key attributes that you specify.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL - All of the table attributes are projected into the index.

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

                                      The set of attributes that are projected into the index:

                                      \n
                                        \n
                                      • \n

                                        \n KEYS_ONLY - Only the index and primary keys are projected into the\n index.

                                        \n
                                      • \n
                                      • \n

                                        \n INCLUDE - In addition to the attributes described in\n KEYS_ONLY, the secondary index will include other non-key\n attributes that you specify.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL - All of the table attributes are projected into the\n index.

                                        \n
                                      • \n
                                      " } }, "NonKeyAttributes": { "target": "com.amazonaws.dynamodb#NonKeyAttributeNameList", "traits": { - "smithy.api#documentation": "

                                      Represents the non-key attribute names which will be projected into the index.

                                      \n

                                      For local secondary indexes, the total count of NonKeyAttributes summed across all of the local secondary indexes,\n must not exceed 20. If you project the same attribute into two\n different indexes, this counts as two distinct attributes when determining the total.

                                      " + "smithy.api#documentation": "

                                      Represents the non-key attribute names which will be projected into the index.

                                      \n

                                      For local secondary indexes, the total count of NonKeyAttributes summed\n across all of the local secondary indexes, must not exceed 20. If you project the same\n attribute into two different indexes, this counts as two distinct attributes when\n determining the total.

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

                                      Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.

                                      " + "smithy.api#documentation": "

                                      Represents attributes that are copied (projected) from the table into an index. These\n are in addition to the primary key attributes and index key attributes, which are\n automatically projected.

                                      " } }, "com.amazonaws.dynamodb#ProjectionExpression": { @@ -5635,20 +5635,20 @@ "ReadCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a\n ThrottlingException. For more information, see Specifying Read and Write\n Requirements in the Amazon DynamoDB Developer Guide.

                                      \n

                                      If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

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

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

                                      \n

                                      If read/write capacity mode is PAY_PER_REQUEST the value is set to\n 0.

                                      ", "smithy.api#required": {} } }, "WriteCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException. For more information, see Specifying Read and Write\n Requirements in the Amazon DynamoDB Developer Guide.

                                      \n

                                      If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

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

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

                                      \n

                                      If read/write capacity mode is PAY_PER_REQUEST the value is set to\n 0.

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

                                      Represents the provisioned throughput settings for a specified table or index. The settings\n can be modified using the UpdateTable operation.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for a specified table or index. The\n settings can be modified using the UpdateTable operation.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "com.amazonaws.dynamodb#ProvisionedThroughputDescription": { @@ -5669,24 +5669,24 @@ "NumberOfDecreasesToday": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The number of provisioned throughput decreases for this table during this UTC calendar day.\n For current maximums on provisioned throughput decreases, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The number of provisioned throughput decreases for this table during this UTC calendar\n day. For current maximums on provisioned throughput decreases, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ReadCapacityUnits": { "target": "com.amazonaws.dynamodb#NonNegativeLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a\n ThrottlingException. Eventually consistent reads require less effort than strongly\n consistent reads, so a setting of 50 ReadCapacityUnits per second provides 100\n eventually consistent ReadCapacityUnits per second.

                                      " + "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException. Eventually consistent reads require less\n effort than strongly consistent reads, so a setting of 50 ReadCapacityUnits\n per second provides 100 eventually consistent ReadCapacityUnits per\n second.

                                      " } }, "WriteCapacityUnits": { "target": "com.amazonaws.dynamodb#NonNegativeLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.

                                      " + "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.

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

                                      Represents the provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.

                                      " + "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the table, consisting of read and\n write capacity units, along with data about increases and decreases.

                                      " } }, "com.amazonaws.dynamodb#ProvisionedThroughputExceededException": { @@ -5700,7 +5700,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Your request rate is too high. The AWS SDKs for DynamoDB automatically retry requests that\n receive this exception. Your request is eventually successful, unless your retry queue is too\n large to finish. Reduce the frequency of requests and use exponential backoff. For more\n information, go to Error Retries and Exponential\n Backoff in the Amazon DynamoDB Developer Guide.

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

                                      Your request rate is too high. The Amazon Web Services SDKs for DynamoDB\n automatically retry requests that receive this exception. Your request is eventually\n successful, unless your retry queue is too large to finish. Reduce the frequency of\n requests and use exponential backoff. For more information, go to Error Retries and Exponential Backoff in the Amazon DynamoDB Developer Guide.

                                      ", "smithy.api#error": "client" } }, @@ -5710,12 +5710,12 @@ "ReadCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      Replica-specific read capacity units. If not specified, uses the source table's\n read capacity settings.

                                      " + "smithy.api#documentation": "

                                      Replica-specific read capacity units. If not specified, uses the source table's read\n capacity settings.

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

                                      Replica-specific provisioned throughput settings. If not specified, uses the\n source table's provisioned throughput settings.

                                      " + "smithy.api#documentation": "

                                      Replica-specific provisioned throughput settings. If not specified, uses the source\n table's provisioned throughput settings.

                                      " } }, "com.amazonaws.dynamodb#Put": { @@ -5724,7 +5724,7 @@ "Item": { "target": "com.amazonaws.dynamodb#PutItemInputAttributeMap", "traits": { - "smithy.api#documentation": "

                                      A map of attribute name to attribute values, representing the primary key\n of the item to be written by PutItem. All of the table's primary key\n attributes must be specified, and their data types must match those of the table's\n key schema. If any attributes are present in the item that are part of an index\n key schema for the table, their types must match the index key schema.

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

                                      A map of attribute name to attribute values, representing the primary key of the item\n to be written by PutItem. All of the table's primary key attributes must be\n specified, and their data types must match those of the table's key schema. If any\n attributes are present in the item that are part of an index key schema for the table,\n their types must match the index key schema.

                                      ", "smithy.api#required": {} } }, @@ -5738,7 +5738,7 @@ "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to succeed.

                                      " + "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to\n succeed.

                                      " } }, "ExpressionAttributeNames": { @@ -5756,7 +5756,7 @@ "ReturnValuesOnConditionCheckFailure": { "target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to\n get the item attributes if the Put condition fails.\n For ReturnValuesOnConditionCheckFailure, the valid\n values are: NONE and ALL_OLD.

                                      " + "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to get the item attributes if the\n Put condition fails. For\n ReturnValuesOnConditionCheckFailure, the valid values are: NONE and\n ALL_OLD.

                                      " } } }, @@ -5802,7 +5802,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the ReturnValues parameter.

                                      \n \n

                                      This topic provides general information about the PutItem API.

                                      \n

                                      For information on how to call the PutItem API using the AWS SDK in specific languages, see the following:

                                      \n \n
                                      \n\n

                                      When you add an item, the primary key attributes are the only required attributes.\n Attribute values cannot be null.

                                      \n

                                      Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.\n Set type attributes cannot be empty.

                                      \n

                                      Invalid Requests with empty values will\n be rejected with a ValidationException exception.

                                      \n \n

                                      To prevent a new item from replacing an existing item, use a conditional expression\n that contains the attribute_not_exists function with the name of the\n attribute being used as the partition key for the table. Since every record must contain\n that attribute, the attribute_not_exists function will only succeed if\n no matching item exists.

                                      \n
                                      \n

                                      For more information about PutItem, see Working with Items in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Creates a new item, or replaces an old item with a new item. If an item that has the\n same primary key as the new item already exists in the specified table, the new item\n completely replaces the existing item. You can perform a conditional put operation (add\n a new item if one with the specified primary key doesn't exist), or replace an existing\n item if it has certain attribute values. You can return the item's attribute values in\n the same operation, using the ReturnValues parameter.

                                      \n \n

                                      This topic provides general information about the PutItem API.

                                      \n

                                      For information on how to call the PutItem API using the Amazon Web Services SDK in specific languages, see the following:

                                      \n \n
                                      \n\n

                                      When you add an item, the primary key attributes are the only required attributes.\n Attribute values cannot be null.

                                      \n

                                      Empty String and Binary attribute values are allowed. Attribute values of type String\n and Binary must have a length greater than zero if the attribute is used as a key\n attribute for a table or index. Set type attributes cannot be empty.

                                      \n

                                      Invalid Requests with empty values will be rejected with a\n ValidationException exception.

                                      \n \n

                                      To prevent a new item from replacing an existing item, use a conditional\n expression that contains the attribute_not_exists function with the\n name of the attribute being used as the partition key for the table. Since every\n record must contain that attribute, the attribute_not_exists function\n will only succeed if no matching item exists.

                                      \n
                                      \n

                                      For more information about PutItem, see Working with\n Items in the Amazon DynamoDB Developer Guide.

                                      " } }, "com.amazonaws.dynamodb#PutItemInput": { @@ -5818,20 +5818,20 @@ "Item": { "target": "com.amazonaws.dynamodb#PutItemInputAttributeMap", "traits": { - "smithy.api#documentation": "

                                      A map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.

                                      \n

                                      You must provide all of the attributes for the primary key. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide both values for both the partition key and the sort key.

                                      \n

                                      If you specify any attributes that are part of an index key, then the data types for those attributes must match those of the schema in the table's attribute definition.

                                      \n

                                      Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.

                                      \n \n

                                      For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer\n Guide.

                                      \n

                                      Each element in the Item map is an AttributeValue object.

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

                                      A map of attribute name/value pairs, one for each attribute. Only the primary key\n attributes are required; you can optionally provide other attribute name-value pairs for\n the item.

                                      \n

                                      You must provide all of the attributes for the primary key. For example, with a simple\n primary key, you only need to provide a value for the partition key. For a composite\n primary key, you must provide both values for both the partition key and the sort\n key.

                                      \n

                                      If you specify any attributes that are part of an index key, then the data types for\n those attributes must match those of the schema in the table's attribute\n definition.

                                      \n

                                      Empty String and Binary attribute values are allowed. Attribute values of type String\n and Binary must have a length greater than zero if the attribute is used as a key\n attribute for a table or index.

                                      \n\n

                                      For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer\n Guide.

                                      \n

                                      Each element in the Item map is an AttributeValue\n object.

                                      ", "smithy.api#required": {} } }, "Expected": { "target": "com.amazonaws.dynamodb#ExpectedAttributeMap", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see\n Expected in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more\n information, see Expected in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ReturnValues": { "target": "com.amazonaws.dynamodb#ReturnValue", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValues if you want to get the item attributes as they appeared before they\n were updated with the PutItem request. For PutItem, the valid values are:

                                      \n
                                        \n
                                      • \n

                                        \n NONE - If ReturnValues is not specified, or if its value is\n NONE, then nothing is returned. (This setting is the default for\n ReturnValues.)

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_OLD - If PutItem overwrote an attribute name-value pair, then the\n content of the old item is returned.

                                        \n
                                      • \n
                                      \n \n

                                      The ReturnValues parameter is used by several DynamoDB operations; however,\n PutItem does not recognize any values other than NONE or\n ALL_OLD.

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

                                      Use ReturnValues if you want to get the item attributes as they appeared\n before they were updated with the PutItem request. For\n PutItem, the valid values are:

                                      \n
                                        \n
                                      • \n

                                        \n NONE - If ReturnValues is not specified, or if its\n value is NONE, then nothing is returned. (This setting is the\n default for ReturnValues.)

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_OLD - If PutItem overwrote an attribute name-value\n pair, then the content of the old item is returned.

                                        \n
                                      • \n
                                      \n

                                      The values returned are strongly consistent.

                                      \n \n

                                      The ReturnValues parameter is used by several DynamoDB operations;\n however, PutItem does not recognize any values other than\n NONE or ALL_OLD.

                                      \n
                                      " } }, "ReturnConsumedCapacity": { @@ -5840,31 +5840,31 @@ "ReturnItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                      " + "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE,\n the response includes statistics about item collections, if any, that were modified\n during the operation are returned in the response. If set to NONE (the\n default), no statistics are returned.

                                      " } }, "ConditionalOperator": { "target": "com.amazonaws.dynamodb#ConditionalOperator", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see\n ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more\n information, see ConditionalOperator in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional PutItem operation to\n succeed.

                                      \n

                                      An expression can contain any of the following:

                                      \n
                                        \n
                                      • \n

                                        Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size\n

                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Comparison operators: = | <> |\n < | > | <= | >= |\n BETWEEN | IN \n

                                        \n
                                      • \n
                                      • \n

                                        Logical operators: AND | OR | NOT\n

                                        \n
                                      • \n
                                      \n

                                      For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional PutItem\n operation to succeed.

                                      \n

                                      An expression can contain any of the following:

                                      \n
                                        \n
                                      • \n

                                        Functions: attribute_exists | attribute_not_exists | attribute_type |\n contains | begins_with | size\n

                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Comparison operators: = | <> |\n < | > | <= | >= |\n BETWEEN | IN \n

                                        \n
                                      • \n
                                      • \n

                                        Logical operators: AND | OR | NOT\n

                                        \n
                                      • \n
                                      \n

                                      For more information on condition expressions, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeValues": { "target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap", "traits": { - "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as\n follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"},\n \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -5887,7 +5887,7 @@ "Attributes": { "target": "com.amazonaws.dynamodb#AttributeMap", "traits": { - "smithy.api#documentation": "

                                      The attribute values as they appeared before the PutItem operation, but only if\n ReturnValues is specified as ALL_OLD in the request. Each element\n consists of an attribute name and an attribute value.

                                      " + "smithy.api#documentation": "

                                      The attribute values as they appeared before the PutItem operation, but\n only if ReturnValues is specified as ALL_OLD in the request.\n Each element consists of an attribute name and an attribute value.

                                      " } }, "ConsumedCapacity": { @@ -5899,7 +5899,7 @@ "ItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Information about item collections, if any, that were affected by the\n PutItem operation. ItemCollectionMetrics\n is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table does not have any local\n secondary indexes, this information is not returned in the response.

                                      \n

                                      Each ItemCollectionMetrics\n element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item\n collection. This is the same as the partition key value of the item itself.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size,\n in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the\n estimate. The estimate includes the size of all the\n items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on that\n table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

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

                                      Information about item collections, if any, that were affected by the\n PutItem operation. ItemCollectionMetrics is only returned\n if the ReturnItemCollectionMetrics parameter was specified. If the table\n does not have any local secondary indexes, this information is not returned in the\n response.

                                      \n

                                      Each ItemCollectionMetrics element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item collection.\n This is the same as the partition key value of the item itself.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size, in\n gigabytes. This value is a two-element array containing a lower bound and an\n upper bound for the estimate. The estimate includes the size of all the items in\n the table, plus the size of all attributes projected into all of the local\n secondary indexes on that table. Use this estimate to measure whether a local\n secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the\n precision or accuracy of the estimate.

                                        \n
                                      • \n
                                      " } } }, @@ -5913,7 +5913,7 @@ "Item": { "target": "com.amazonaws.dynamodb#PutItemInputAttributeMap", "traits": { - "smithy.api#documentation": "

                                      A map of attribute name to attribute values, representing the primary key of an item to\n be processed by PutItem. All of the table's primary key attributes must be\n specified, and their data types must match those of the table's key schema. If any\n attributes are present in the item that are part of an index key schema for the table,\n their types must match the index key schema.

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

                                      A map of attribute name to attribute values, representing the primary key of an item\n to be processed by PutItem. All of the table's primary key attributes must\n be specified, and their data types must match those of the table's key schema. If any\n attributes are present in the item that are part of an index key schema for the table,\n their types must match the index key schema.

                                      ", "smithy.api#required": {} } } @@ -5951,7 +5951,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The Query operation finds items based on primary key values.\n You can query any table or secondary index that has a composite primary key (a partition\n key and a sort key).\n

                                      \n

                                      Use the KeyConditionExpression parameter to provide a specific value\n for the partition key. The Query operation will return all of the items\n from the table or index with that partition key value. You can optionally narrow the\n scope of the Query operation by specifying a sort key value and a\n comparison operator in KeyConditionExpression. To further refine the Query results,\n you can optionally provide a FilterExpression. A FilterExpression determines which items\n within the results should be returned to you. All of the other results are discarded.\n

                                      \n

                                      \n A Query operation always returns a result set. If no matching items are found,\n the result set will be empty. Queries that do not return results consume the minimum number of\n read capacity units for that type of read operation.\n

                                      \n \n

                                      \n DynamoDB calculates the number of read capacity units consumed based on item size,\n not on the amount of data that is returned to an application. The number of capacity\n units consumed will be the same whether you request all of the attributes (the default behavior)\n or just some of them (using a projection expression). The number will also be the same\n whether or not you use a FilterExpression.\n

                                      \n
                                      \n

                                      \n Query results are always sorted by the sort key value. If the data type of the sort key is Number,\n the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes.\n By default, the sort order is ascending. To reverse the order, set the ScanIndexForward parameter\n to false.\n

                                      \n

                                      A single Query operation will read up to the maximum number of items\n set (if using the Limit parameter) or a maximum of 1 MB of data and then\n apply any filtering to the results using FilterExpression. If\n LastEvaluatedKey is present in the response, you will need to paginate\n the result set. For more information, see Paginating\n the Results in the Amazon DynamoDB Developer Guide.

                                      \n

                                      \n FilterExpression is applied after a Query finishes, but before\n the results are returned.\n A FilterExpression cannot contain partition key or sort key attributes.\n You need to specify those attributes in the KeyConditionExpression.\n

                                      \n \n

                                      \n A Query operation can return an empty result set and a LastEvaluatedKey\n if all the items read for the page of results are filtered out.\n

                                      \n
                                      \n

                                      You can query a table, a local secondary index, or a global secondary index. For a\n query on a table or on a local secondary index, you can set the\n ConsistentRead parameter to true and obtain a\n strongly consistent result. Global secondary indexes support eventually consistent reads\n only, so do not specify ConsistentRead when querying a global\n secondary index.

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

                                      You must provide the name of the partition key attribute and a single value for that\n attribute. Query returns all items with that partition key value.\n Optionally, you can provide a sort key attribute and use a comparison operator to refine\n the search results.

                                      \n\n

                                      Use the KeyConditionExpression parameter to provide a specific value for\n the partition key. The Query operation will return all of the items from\n the table or index with that partition key value. You can optionally narrow the scope of\n the Query operation by specifying a sort key value and a comparison\n operator in KeyConditionExpression. To further refine the\n Query results, you can optionally provide a\n FilterExpression. A FilterExpression determines which\n items within the results should be returned to you. All of the other results are\n discarded.

                                      \n

                                      A Query operation always returns a result set. If no matching items are\n found, the result set will be empty. Queries that do not return results consume the\n minimum number of read capacity units for that type of read operation.

                                      \n \n

                                      DynamoDB calculates the number of read capacity units consumed based on item\n size, not on the amount of data that is returned to an application. The number of\n capacity units consumed will be the same whether you request all of the attributes\n (the default behavior) or just some of them (using a projection expression). The\n number will also be the same whether or not you use a FilterExpression.\n

                                      \n
                                      \n

                                      \n Query results are always sorted by the sort key value. If the data type of\n the sort key is Number, the results are returned in numeric order; otherwise, the\n results are returned in order of UTF-8 bytes. By default, the sort order is ascending.\n To reverse the order, set the ScanIndexForward parameter to false.

                                      \n

                                      A single Query operation will read up to the maximum number of items set\n (if using the Limit parameter) or a maximum of 1 MB of data and then apply\n any filtering to the results using FilterExpression. If\n LastEvaluatedKey is present in the response, you will need to paginate\n the result set. For more information, see Paginating\n the Results in the Amazon DynamoDB Developer Guide.

                                      \n

                                      \n FilterExpression is applied after a Query finishes, but before\n the results are returned. A FilterExpression cannot contain partition key\n or sort key attributes. You need to specify those attributes in the\n KeyConditionExpression.

                                      \n \n

                                      A Query operation can return an empty result set and a\n LastEvaluatedKey if all the items read for the page of results are\n filtered out.

                                      \n
                                      \n

                                      You can query a table, a local secondary index, or a global secondary index. For a\n query on a table or on a local secondary index, you can set the\n ConsistentRead parameter to true and obtain a strongly\n consistent result. Global secondary indexes support eventually consistent reads only, so\n do not specify ConsistentRead when querying a global secondary\n index.

                                      ", "smithy.api#paginated": { "inputToken": "ExclusiveStartKey", "outputToken": "LastEvaluatedKey", @@ -5974,61 +5974,61 @@ "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of an index to query. This index can be any local secondary index or global secondary index on the table. Note that\n if you use the IndexName parameter, you must also provide TableName.\n

                                      " + "smithy.api#documentation": "

                                      The name of an index to query. This index can be any local secondary index or global\n secondary index on the table. Note that if you use the IndexName parameter,\n you must also provide TableName.\n

                                      " } }, "Select": { "target": "com.amazonaws.dynamodb#Select", "traits": { - "smithy.api#documentation": "

                                      The attributes to be returned in the\n result. You can retrieve all item attributes, specific item attributes, the count of\n matching items, or in the case of an index, some or all of the attributes projected into\n the index.

                                      \n
                                        \n
                                      • \n

                                        \n ALL_ATTRIBUTES - Returns all of the item attributes from the\n specified table or index. If you query a local secondary index, then for each\n matching item in the index, DynamoDB fetches the entire item from the parent\n table. If the index is configured to project all item attributes, then all of\n the data can be obtained from the local secondary index, and no fetching is\n required.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index.\n Retrieves all attributes that have been projected into the index. If the\n index is configured to project all attributes, this return value is\n equivalent to specifying ALL_ATTRIBUTES.

                                        \n
                                      • \n
                                      • \n

                                        \n COUNT - Returns the number of matching items, rather than the\n matching items themselves.

                                        \n
                                      • \n
                                      • \n

                                        \n SPECIFIC_ATTRIBUTES - Returns only the attributes listed in\n AttributesToGet. This return value is equivalent to\n specifying AttributesToGet without specifying any value\n for Select.

                                        \n

                                        If you query or scan a local secondary index and request only attributes that\n are projected into that index, the operation will read only the index and not\n the table. If any of the requested attributes are not projected into the local\n secondary index, DynamoDB fetches each of these attributes from the parent\n table. This extra fetching incurs additional throughput cost and latency.

                                        \n

                                        If you query or scan a global secondary index, you can only request\n attributes that are projected into the index. Global secondary index queries\n cannot fetch attributes from the parent table.

                                        \n
                                      • \n
                                      \n

                                      If neither Select nor AttributesToGet\n are specified, DynamoDB defaults to ALL_ATTRIBUTES when accessing a\n table, and ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot\n use both Select and AttributesToGet\n together in a single request, unless the value for Select is\n SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying\n AttributesToGet without any value for\n Select.)

                                      \n \n

                                      If you use the ProjectionExpression parameter, then\n the value for Select can only be\n SPECIFIC_ATTRIBUTES. Any other value for\n Select will return an error.

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

                                      The attributes to be returned in the result. You can retrieve all item attributes,\n specific item attributes, the count of matching items, or in the case of an index, some\n or all of the attributes projected into the index.

                                      \n
                                        \n
                                      • \n

                                        \n ALL_ATTRIBUTES - Returns all of the item attributes from the\n specified table or index. If you query a local secondary index, then for each\n matching item in the index, DynamoDB fetches the entire item from the parent\n table. If the index is configured to project all item attributes, then all of\n the data can be obtained from the local secondary index, and no fetching is\n required.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index.\n Retrieves all attributes that have been projected into the index. If the index\n is configured to project all attributes, this return value is equivalent to\n specifying ALL_ATTRIBUTES.

                                        \n
                                      • \n
                                      • \n

                                        \n COUNT - Returns the number of matching items, rather than the\n matching items themselves.

                                        \n
                                      • \n
                                      • \n

                                        \n SPECIFIC_ATTRIBUTES - Returns only the attributes listed in\n AttributesToGet. This return value is equivalent to specifying\n AttributesToGet without specifying any value for\n Select.

                                        \n

                                        If you query or scan a local secondary index and request only attributes that\n are projected into that index, the operation will read only the index and not\n the table. If any of the requested attributes are not projected into the local\n secondary index, DynamoDB fetches each of these attributes from the parent\n table. This extra fetching incurs additional throughput cost and latency.

                                        \n

                                        If you query or scan a global secondary index, you can only request attributes\n that are projected into the index. Global secondary index queries cannot fetch\n attributes from the parent table.

                                        \n
                                      • \n
                                      \n

                                      If neither Select nor AttributesToGet are specified,\n DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and\n ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both\n Select and AttributesToGet together in a single request,\n unless the value for Select is SPECIFIC_ATTRIBUTES. (This\n usage is equivalent to specifying AttributesToGet without any value for\n Select.)

                                      \n \n

                                      If you use the ProjectionExpression parameter, then the value for\n Select can only be SPECIFIC_ATTRIBUTES. Any other\n value for Select will return an error.

                                      \n
                                      " } }, "AttributesToGet": { "target": "com.amazonaws.dynamodb#AttributeNameList", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more information, see\n AttributesToGet in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more\n information, see AttributesToGet in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "Limit": { "target": "com.amazonaws.dynamodb#PositiveIntegerObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of items to evaluate (not necessarily the number of matching items).\n If DynamoDB processes the number of items up to the limit while processing the results,\n it stops the operation and returns the matching values up to that point, and a key in\n LastEvaluatedKey to apply in a subsequent operation, so that you can\n pick up where you left off. Also, if the processed dataset size exceeds 1 MB before\n DynamoDB reaches this limit, it stops the operation and returns the matching values up\n to the limit, and a key in LastEvaluatedKey to apply in a subsequent\n operation to continue the operation. For more information, see Query and Scan in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      The maximum number of items to evaluate (not necessarily the number of matching\n items). If DynamoDB processes the number of items up to the limit while processing the\n results, it stops the operation and returns the matching values up to that point, and a\n key in LastEvaluatedKey to apply in a subsequent operation, so that you can\n pick up where you left off. Also, if the processed dataset size exceeds 1 MB before\n DynamoDB reaches this limit, it stops the operation and returns the matching values up\n to the limit, and a key in LastEvaluatedKey to apply in a subsequent\n operation to continue the operation. For more information, see Query and Scan in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConsistentRead": { "target": "com.amazonaws.dynamodb#ConsistentRead", "traits": { - "smithy.api#documentation": "

                                      Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.

                                      \n

                                      Strongly consistent reads\n are not supported on global secondary indexes. If you query a global secondary index with ConsistentRead set to\n true, you will receive a ValidationException.

                                      " + "smithy.api#documentation": "

                                      Determines the read consistency model: If set to true, then the operation\n uses strongly consistent reads; otherwise, the operation uses eventually consistent\n reads.

                                      \n

                                      Strongly consistent reads are not supported on global secondary indexes. If you query\n a global secondary index with ConsistentRead set to true, you\n will receive a ValidationException.

                                      " } }, "KeyConditions": { "target": "com.amazonaws.dynamodb#KeyConditions", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use KeyConditionExpression instead. For more information, see\n KeyConditions in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use KeyConditionExpression instead. For more\n information, see KeyConditions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "QueryFilter": { "target": "com.amazonaws.dynamodb#FilterConditionMap", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more information, see\n QueryFilter in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more\n information, see QueryFilter in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConditionalOperator": { "target": "com.amazonaws.dynamodb#ConditionalOperator", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more information, see\n ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more\n information, see ConditionalOperator in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ScanIndexForward": { "target": "com.amazonaws.dynamodb#BooleanObject", "traits": { - "smithy.api#documentation": "

                                      Specifies the order for index traversal: If true (default), the traversal is performed in ascending order; if false, the traversal is performed in descending order.

                                      \n

                                      Items with the same partition key value are stored in sorted order by sort key. If the sort key data type is Number, the results are stored in numeric order. For type String, the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each byte of the binary data as unsigned.

                                      \n

                                      If ScanIndexForward is true, DynamoDB returns the results in the order in which they are stored (by sort key value). This is the default behavior. If ScanIndexForward is false, DynamoDB reads the results in reverse order by sort key value, and then returns the results to the client.

                                      " + "smithy.api#documentation": "

                                      Specifies the order for index traversal: If true (default), the traversal\n is performed in ascending order; if false, the traversal is performed in\n descending order.

                                      \n

                                      Items with the same partition key value are stored in sorted order by sort key. If the\n sort key data type is Number, the results are stored in numeric order. For type String,\n the results are stored in order of UTF-8 bytes. For type Binary, DynamoDB treats each\n byte of the binary data as unsigned.

                                      \n

                                      If ScanIndexForward is true, DynamoDB returns the results in\n the order in which they are stored (by sort key value). This is the default behavior. If\n ScanIndexForward is false, DynamoDB reads the results in\n reverse order by sort key value, and then returns the results to the client.

                                      " } }, "ExclusiveStartKey": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedKey in the previous operation.

                                      \n

                                      The data type for ExclusiveStartKey must be String, Number, or Binary. No\n set data types are allowed.

                                      " + "smithy.api#documentation": "

                                      The primary key of the first item that this operation will evaluate. Use the value\n that was returned for LastEvaluatedKey in the previous operation.

                                      \n

                                      The data type for ExclusiveStartKey must be String, Number, or Binary. No\n set data types are allowed.

                                      " } }, "ReturnConsumedCapacity": { @@ -6037,31 +6037,31 @@ "ProjectionExpression": { "target": "com.amazonaws.dynamodb#ProjectionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the table. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

                                      \n

                                      For more information, see\n Accessing Item Attributes in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the table. These\n attributes can include scalars, sets, or elements of a JSON document. The attributes in\n the expression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes will be returned. If any of\n the requested attributes are not found, they will not appear in the result.

                                      \n

                                      For more information, see Accessing Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "FilterExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that contains conditions that DynamoDB applies after the Query operation, but\n before the data is returned to you. Items that do not satisfy the FilterExpression\n criteria are not returned.

                                      \n

                                      A FilterExpression does not allow key attributes. You cannot define a filter expression based on a partition key or a sort key.

                                      \n \n

                                      A FilterExpression is applied after the items have already been read; the process of\n filtering does not consume any additional read capacity units.

                                      \n
                                      \n

                                      For more information, see Filter\n Expressions in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      A string that contains conditions that DynamoDB applies after the Query\n operation, but before the data is returned to you. Items that do not satisfy the\n FilterExpression criteria are not returned.

                                      \n

                                      A FilterExpression does not allow key attributes. You cannot define a\n filter expression based on a partition key or a sort key.

                                      \n \n

                                      A FilterExpression is applied after the items have already been read;\n the process of filtering does not consume any additional read capacity units.

                                      \n
                                      \n

                                      For more information, see Filter\n Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "KeyConditionExpression": { "target": "com.amazonaws.dynamodb#KeyExpression", "traits": { - "smithy.api#documentation": "

                                      The condition that specifies the key values for items to be retrieved by the\n Query action.

                                      \n\n

                                      The condition must perform an equality test on a single partition key value.

                                      \n

                                      The condition can optionally perform one of several comparison tests on a single\n sort key value. This allows Query to retrieve one item with a given\n partition key value and sort key value, or several items that have the same partition\n key value but different sort key values.

                                      \n\n

                                      The partition key equality test is required, and must be specified in the following format:

                                      \n\n

                                      \n partitionKeyName\n =\n :partitionkeyval\n

                                      \n\n

                                      If you also want to provide a condition for the sort key, it must be combined using AND with the condition\n for the sort key. Following is an example, using the = comparison operator for the sort key:

                                      \n\n

                                      \n partitionKeyName\n =\n :partitionkeyval\n AND\n sortKeyName\n =\n :sortkeyval\n

                                      \n

                                      Valid comparisons for the sort key condition are as follows:

                                      \n
                                        \n
                                      • \n

                                        \n sortKeyName\n =\n :sortkeyval - true if the sort key value is equal to :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n <\n :sortkeyval - true if the sort key value is less than :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n <=\n :sortkeyval - true if the sort key value is less than or equal to\n :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n >\n :sortkeyval - true if the sort key value is greater than :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n >= \n :sortkeyval - true if the sort key value is greater than\n or equal to :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n BETWEEN\n :sortkeyval1\n AND\n :sortkeyval2 - true if the sort key value is greater than or equal to\n :sortkeyval1, and less than or equal to :sortkeyval2.

                                        \n
                                      • \n
                                      • \n

                                        \n begins_with (\n sortKeyName, :sortkeyval\n ) -\n true if the sort key value begins with a particular operand. (You cannot use this function with a sort key that is of type Number.) Note that the function name\n begins_with is case-sensitive.

                                        \n\n
                                      • \n
                                      \n\n

                                      Use the ExpressionAttributeValues parameter to replace tokens such as\n :partitionval and :sortval with actual values at runtime.

                                      \n\n

                                      You can optionally use the ExpressionAttributeNames parameter to replace the names of\n the partition key and sort key with placeholder tokens. This option might be necessary if an attribute\n name conflicts with a DynamoDB reserved word. For example, the following\n KeyConditionExpression parameter causes an error because Size is a reserved\n word:

                                      \n
                                        \n
                                      • \n

                                        \n Size = :myval\n

                                        \n
                                      • \n
                                      \n

                                      To work around this, define a placeholder (such a #S) to represent the attribute\n name Size. KeyConditionExpression then is as follows:

                                      \n
                                        \n
                                      • \n

                                        \n #S = :myval\n

                                        \n
                                      • \n
                                      \n

                                      For a list of reserved words, see Reserved\n Words in the Amazon DynamoDB Developer Guide.

                                      \n\n

                                      For more information on ExpressionAttributeNames and ExpressionAttributeValues,\n see Using Placeholders for Attribute\n Names and Values in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The condition that specifies the key values for items to be retrieved by the\n Query action.

                                      \n\n

                                      The condition must perform an equality test on a single partition key value.

                                      \n

                                      The condition can optionally perform one of several comparison tests on a single sort\n key value. This allows Query to retrieve one item with a given partition\n key value and sort key value, or several items that have the same partition key value\n but different sort key values.

                                      \n\n

                                      The partition key equality test is required, and must be specified in the following\n format:

                                      \n\n

                                      \n partitionKeyName\n =\n :partitionkeyval\n

                                      \n\n

                                      If you also want to provide a condition for the sort key, it must be combined using\n AND with the condition for the sort key. Following is an example, using\n the = comparison operator for the sort key:

                                      \n\n

                                      \n partitionKeyName\n =\n :partitionkeyval\n AND\n sortKeyName\n =\n :sortkeyval\n

                                      \n

                                      Valid comparisons for the sort key condition are as follows:

                                      \n
                                        \n
                                      • \n

                                        \n sortKeyName\n =\n :sortkeyval - true if the sort key value is equal to\n :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n <\n :sortkeyval - true if the sort key value is less than\n :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n <=\n :sortkeyval - true if the sort key value is less than or equal to\n :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n >\n :sortkeyval - true if the sort key value is greater than\n :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n >= \n :sortkeyval - true if the sort key value is greater than or equal\n to :sortkeyval.

                                        \n
                                      • \n
                                      • \n

                                        \n sortKeyName\n BETWEEN\n :sortkeyval1\n AND\n :sortkeyval2 - true if the sort key value is greater than or equal\n to :sortkeyval1, and less than or equal to\n :sortkeyval2.

                                        \n
                                      • \n
                                      • \n

                                        \n begins_with (\n sortKeyName, :sortkeyval\n ) - true if the sort key value begins with a particular operand.\n (You cannot use this function with a sort key that is of type Number.) Note that\n the function name begins_with is case-sensitive.

                                        \n\n
                                      • \n
                                      \n\n

                                      Use the ExpressionAttributeValues parameter to replace tokens such as\n :partitionval and :sortval with actual values at\n runtime.

                                      \n\n

                                      You can optionally use the ExpressionAttributeNames parameter to replace\n the names of the partition key and sort key with placeholder tokens. This option might\n be necessary if an attribute name conflicts with a DynamoDB reserved word. For example,\n the following KeyConditionExpression parameter causes an error because\n Size is a reserved word:

                                      \n
                                        \n
                                      • \n

                                        \n Size = :myval\n

                                        \n
                                      • \n
                                      \n

                                      To work around this, define a placeholder (such a #S) to represent the\n attribute name Size. KeyConditionExpression then is as\n follows:

                                      \n
                                        \n
                                      • \n

                                        \n #S = :myval\n

                                        \n
                                      • \n
                                      \n

                                      For a list of reserved words, see Reserved Words\n in the Amazon DynamoDB Developer Guide.

                                      \n\n

                                      For more information on ExpressionAttributeNames and\n ExpressionAttributeValues, see Using\n Placeholders for Attribute Names and Values in the Amazon DynamoDB\n Developer Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeValues": { "target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap", "traits": { - "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to dereference an attribute value. For example, suppose that you wanted to check whether the value of the\n ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as\n follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"},\n \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Specifying Conditions in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -6075,25 +6075,25 @@ "Items": { "target": "com.amazonaws.dynamodb#ItemList", "traits": { - "smithy.api#documentation": "

                                      An array of item attributes that match the query criteria. Each element in this array consists of an attribute name and the value for that attribute.

                                      " + "smithy.api#documentation": "

                                      An array of item attributes that match the query criteria. Each element in this array\n consists of an attribute name and the value for that attribute.

                                      " } }, "Count": { "target": "com.amazonaws.dynamodb#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of items in the response.

                                      \n

                                      If you used a QueryFilter in the request, then Count is the number of items\n returned after the filter was applied, and ScannedCount is the number of\n matching items before the filter was applied.

                                      \n

                                      If you did not use a filter in the request, then Count and ScannedCount are the\n same.

                                      " + "smithy.api#documentation": "

                                      The number of items in the response.

                                      \n

                                      If you used a QueryFilter in the request, then Count is the\n number of items returned after the filter was applied, and ScannedCount is\n the number of matching items before the filter was applied.

                                      \n

                                      If you did not use a filter in the request, then Count and\n ScannedCount are the same.

                                      " } }, "ScannedCount": { "target": "com.amazonaws.dynamodb#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of items evaluated, before any QueryFilter is applied. A high\n ScannedCount value with few, or no, Count results indicates an inefficient\n Query operation. For more information, see Count and ScannedCount in the\n Amazon DynamoDB Developer Guide.

                                      \n

                                      If you did not use a filter in the request, then ScannedCount is the same as\n Count.

                                      " + "smithy.api#documentation": "

                                      The number of items evaluated, before any QueryFilter is applied. A high\n ScannedCount value with few, or no, Count results\n indicates an inefficient Query operation. For more information, see Count and\n ScannedCount in the Amazon DynamoDB Developer\n Guide.

                                      \n

                                      If you did not use a filter in the request, then ScannedCount is the same\n as Count.

                                      " } }, "LastEvaluatedKey": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

                                      \n

                                      If LastEvaluatedKey is empty, then the \"last page\" of results has been processed and there is no more data to be retrieved.

                                      \n

                                      If LastEvaluatedKey is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey is empty.

                                      " + "smithy.api#documentation": "

                                      The primary key of the item where the operation stopped, inclusive of the previous\n result set. Use this value to start a new operation, excluding this value in the new\n request.

                                      \n

                                      If LastEvaluatedKey is empty, then the \"last page\" of results has been\n processed and there is no more data to be retrieved.

                                      \n

                                      If LastEvaluatedKey is not empty, it does not necessarily mean that there\n is more data in the result set. The only way to know when you have reached the end of\n the result set is when LastEvaluatedKey is empty.

                                      " } }, "ConsumedCapacity": { @@ -6160,7 +6160,7 @@ "ReplicaStatus": { "target": "com.amazonaws.dynamodb#ReplicaStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the replica:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The replica is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The replica is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The replica is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The replica is ready for use.

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

                                      The current state of the replica:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The replica is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The replica is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The replica is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The replica is ready for use.

                                        \n
                                      • \n
                                      " } } }, @@ -6187,7 +6187,7 @@ "ReplicaGlobalSecondaryIndexUpdates": { "target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingUpdateList", "traits": { - "smithy.api#documentation": "

                                      Represents the auto scaling settings of global secondary indexes that will\n be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings of global secondary indexes that will be\n modified.

                                      " } }, "ReplicaProvisionedReadCapacityAutoScalingUpdate": { @@ -6221,7 +6221,7 @@ "ReplicaStatus": { "target": "com.amazonaws.dynamodb#ReplicaStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the replica:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The replica is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The replica is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The replica is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The replica is ready for use.

                                        \n
                                      • \n
                                      • \n

                                        \n REGION_DISABLED - The replica is inaccessible because the AWS Region has been disabled.

                                        \n \n

                                        If the AWS Region remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n INACCESSIBLE_ENCRYPTION_CREDENTIALS - The AWS KMS key used to encrypt the table is inaccessible.

                                        \n \n

                                        If the AWS KMS key remains inaccessible for more than 20 hours, DynamoDB will remove this replica from the replication group. The replica will not be deleted and replication will stop from and to this region.

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

                                      The current state of the replica:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The replica is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The replica is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The replica is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The replica is ready for use.

                                        \n
                                      • \n
                                      • \n

                                        \n REGION_DISABLED - The replica is inaccessible because the Amazon Web Services Region has been disabled.

                                        \n \n

                                        If the Amazon Web Services Region remains inaccessible for more than 20\n hours, DynamoDB will remove this replica from the replication\n group. The replica will not be deleted and replication will stop from and to\n this region.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n INACCESSIBLE_ENCRYPTION_CREDENTIALS - The KMS key\n used to encrypt the table is inaccessible.

                                        \n \n

                                        If the KMS key remains inaccessible for more than 20 hours,\n DynamoDB will remove this replica from the replication group.\n The replica will not be deleted and replication will stop from and to this\n region.

                                        \n
                                        \n
                                      • \n
                                      " } }, "ReplicaStatusDescription": { @@ -6233,19 +6233,19 @@ "ReplicaStatusPercentProgress": { "target": "com.amazonaws.dynamodb#ReplicaStatusPercentProgress", "traits": { - "smithy.api#documentation": "

                                      Specifies the progress of a Create, Update, or Delete action on the replica\n as a percentage.

                                      " + "smithy.api#documentation": "

                                      Specifies the progress of a Create, Update, or Delete action on the replica as a\n percentage.

                                      " } }, "KMSMasterKeyId": { "target": "com.amazonaws.dynamodb#KMSMasterKeyId", "traits": { - "smithy.api#documentation": "

                                      The AWS KMS customer master key (CMK) of the replica that will be used for AWS KMS\n encryption.

                                      " + "smithy.api#documentation": "

                                      The KMS key of the replica that will be used for\n KMS encryption.

                                      " } }, "ProvisionedThroughputOverride": { "target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride", "traits": { - "smithy.api#documentation": "

                                      Replica-specific provisioned throughput. If not described, uses the source table's\n provisioned throughput settings.

                                      " + "smithy.api#documentation": "

                                      Replica-specific provisioned throughput. If not described, uses the source table's\n provisioned throughput settings.

                                      " } }, "GlobalSecondaryIndexes": { @@ -6257,7 +6257,7 @@ "ReplicaInaccessibleDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      The time at which the replica was first detected as inaccessible. To determine cause of inaccessibility check the ReplicaStatus property.

                                      " + "smithy.api#documentation": "

                                      The time at which the replica was first detected as inaccessible. To determine cause\n of inaccessibility check the ReplicaStatus property.

                                      " } } }, @@ -6284,7 +6284,7 @@ "ProvisionedThroughputOverride": { "target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride", "traits": { - "smithy.api#documentation": "

                                      Replica table GSI-specific provisioned throughput. If not specified, uses the\n source table GSI's read capacity settings.

                                      " + "smithy.api#documentation": "

                                      Replica table GSI-specific provisioned throughput. If not specified, uses the source\n table GSI's read capacity settings.

                                      " } } }, @@ -6304,7 +6304,7 @@ "IndexStatus": { "target": "com.amazonaws.dynamodb#IndexStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the replica global secondary index:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The index is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The index is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The index is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The index is ready for use.

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

                                      The current state of the replica global secondary index:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The index is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The index is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The index is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The index is ready for use.

                                        \n
                                      • \n
                                      " } }, "ProvisionedReadCapacityAutoScalingSettings": { @@ -6338,7 +6338,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents the auto scaling settings of a global secondary index for a replica\n that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings of a global secondary index for a replica that\n will be modified.

                                      " } }, "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexAutoScalingUpdateList": { @@ -6390,38 +6390,38 @@ "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of the global secondary index. The name must be unique among all other indexes on this table.

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

                                      The name of the global secondary index. The name must be unique among all other\n indexes on this table.

                                      ", "smithy.api#required": {} } }, "IndexStatus": { "target": "com.amazonaws.dynamodb#IndexStatus", "traits": { - "smithy.api#documentation": "

                                      \n The current status of the global secondary index:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The global secondary index is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The global secondary index is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The global secondary index is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The global secondary index is ready for use.

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

                                      The current status of the global secondary index:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The global secondary index is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The global secondary index is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The global secondary index is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The global secondary index is ready for use.

                                        \n
                                      • \n
                                      " } }, "ProvisionedReadCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.

                                      " + "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException.

                                      " } }, "ProvisionedReadCapacityAutoScalingSettings": { "target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription", "traits": { - "smithy.api#documentation": "

                                      Auto scaling settings for a global secondary index replica's read capacity units.

                                      " + "smithy.api#documentation": "

                                      Auto scaling settings for a global secondary index replica's read capacity\n units.

                                      " } }, "ProvisionedWriteCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

                                      " + "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.

                                      " } }, "ProvisionedWriteCapacityAutoScalingSettings": { "target": "com.amazonaws.dynamodb#AutoScalingSettingsDescription", "traits": { - "smithy.api#documentation": "

                                      Auto scaling settings for a global secondary index replica's write capacity\n units.

                                      " + "smithy.api#documentation": "

                                      Auto scaling settings for a global secondary index replica's write capacity\n units.

                                      " } } }, @@ -6441,25 +6441,25 @@ "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of the global secondary index. The name must be unique among all other indexes on this table.

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

                                      The name of the global secondary index. The name must be unique among all other\n indexes on this table.

                                      ", "smithy.api#required": {} } }, "ProvisionedReadCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.

                                      " + "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException.

                                      " } }, "ProvisionedReadCapacityAutoScalingSettingsUpdate": { "target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate", "traits": { - "smithy.api#documentation": "

                                      Auto scaling settings for managing a global secondary index replica's read capacity\n units.

                                      " + "smithy.api#documentation": "

                                      Auto scaling settings for managing a global secondary index replica's read capacity\n units.

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

                                      Represents the settings of a global secondary index for a global table that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the settings of a global secondary index for a global table that will be\n modified.

                                      " } }, "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsUpdateList": { @@ -6505,7 +6505,7 @@ "ReplicaStatus": { "target": "com.amazonaws.dynamodb#ReplicaStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the Region:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The Region is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The Region is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The Region is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The Region is ready for use.

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

                                      The current state of the Region:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The Region is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The Region is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The Region is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The Region is ready for use.

                                        \n
                                      • \n
                                      " } }, "ReplicaBillingModeSummary": { @@ -6517,7 +6517,7 @@ "ReplicaProvisionedReadCapacityUnits": { "target": "com.amazonaws.dynamodb#NonNegativeLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.\n For more information, see Specifying Read and Write\n Requirements in the Amazon DynamoDB Developer Guide.\n

                                      " + "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

                                      " } }, "ReplicaProvisionedReadCapacityAutoScalingSettings": { @@ -6529,7 +6529,7 @@ "ReplicaProvisionedWriteCapacityUnits": { "target": "com.amazonaws.dynamodb#NonNegativeLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.\n For more information, see Specifying Read and Write\n Requirements in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

                                      " } }, "ReplicaProvisionedWriteCapacityAutoScalingSettings": { @@ -6568,19 +6568,19 @@ "ReplicaProvisionedReadCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.\n For more information, see Specifying Read and Write\n Requirements in the Amazon DynamoDB Developer Guide.\n

                                      " + "smithy.api#documentation": "

                                      The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

                                      " } }, "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate": { "target": "com.amazonaws.dynamodb#AutoScalingSettingsUpdate", "traits": { - "smithy.api#documentation": "

                                      Auto scaling settings for managing a global table replica's read capacity units.

                                      " + "smithy.api#documentation": "

                                      Auto scaling settings for managing a global table replica's read capacity\n units.

                                      " } }, "ReplicaGlobalSecondaryIndexSettingsUpdate": { "target": "com.amazonaws.dynamodb#ReplicaGlobalSecondaryIndexSettingsUpdateList", "traits": { - "smithy.api#documentation": "

                                      Represents the settings of a global secondary index for a global table that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the settings of a global secondary index for a global table that will be\n modified.

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

                                      Represents one of the following:

                                      \n
                                        \n
                                      • \n

                                        A new replica to be added to an existing global table.

                                        \n
                                      • \n
                                      • \n

                                        New parameters for an existing replica.

                                        \n
                                      • \n
                                      • \n

                                        An existing replica to be removed from an existing global table.

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

                                      Represents one of the following:

                                      \n
                                        \n
                                      • \n

                                        A new replica to be added to an existing global table.

                                        \n
                                      • \n
                                      • \n

                                        New parameters for an existing replica.

                                        \n
                                      • \n
                                      • \n

                                        An existing replica to be removed from an existing global table.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#ReplicaUpdateList": { @@ -6690,7 +6690,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents one of the following:

                                      \n
                                        \n
                                      • \n

                                        A new replica to be added to an existing regional table or global table. This\n request invokes the CreateTableReplica action in the destination\n Region.

                                        \n
                                      • \n
                                      • \n

                                        New parameters for an existing replica. This request invokes the\n UpdateTable action in the destination Region.

                                        \n
                                      • \n
                                      • \n

                                        An existing replica to be deleted. The request invokes the \n DeleteTableReplica action in the destination Region, deleting the\n replica and all if its items in the destination Region.

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

                                      Represents one of the following:

                                      \n
                                        \n
                                      • \n

                                        A new replica to be added to an existing regional table or global table. This\n request invokes the CreateTableReplica action in the destination\n Region.

                                        \n
                                      • \n
                                      • \n

                                        New parameters for an existing replica. This request invokes the\n UpdateTable action in the destination Region.

                                        \n
                                      • \n
                                      • \n

                                        An existing replica to be deleted. The request invokes the\n DeleteTableReplica action in the destination Region, deleting\n the replica and all if its items in the destination Region.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#ReplicationGroupUpdateList": { @@ -6712,7 +6712,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Throughput exceeds the current throughput quota for your account. Please contact AWS Support at AWS Support to request a quota increase.

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

                                      Throughput exceeds the current throughput quota for your account. Please contact\n Amazon Web Services Support to request a\n quota increase.

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

                                      The operation conflicts with the resource's availability. For example, you attempted to\n recreate an existing table, or tried to delete a table currently in the CREATING\n state.

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

                                      The operation conflicts with the resource's availability. For example, you\n attempted to recreate an existing table, or tried to delete a table currently in the\n CREATING state.

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

                                      The operation tried to access a nonexistent table or index. The resource might not be specified\n correctly, or its status might not be ACTIVE.

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

                                      The operation tried to access a nonexistent table or index. The resource might not\n be specified correctly, or its status might not be ACTIVE.

                                      ", "smithy.api#error": "client" } }, @@ -6830,7 +6830,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores\n (any type of restore) in a given account.\n

                                      \n

                                      You can call RestoreTableFromBackup at a maximum rate of 10 times per second.

                                      \n

                                      You must manually set up the following on the restored table:

                                      \n
                                        \n
                                      • \n

                                        Auto scaling policies

                                        \n
                                      • \n
                                      • \n

                                        IAM policies

                                        \n
                                      • \n
                                      • \n

                                        Amazon CloudWatch metrics and alarms

                                        \n
                                      • \n
                                      • \n

                                        Tags

                                        \n
                                      • \n
                                      • \n

                                        Stream settings

                                        \n
                                      • \n
                                      • \n

                                        Time to Live (TTL) settings

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

                                      Creates a new table from an existing backup. Any number of users can execute up to 4\n concurrent restores (any type of restore) in a given account.

                                      \n

                                      You can call RestoreTableFromBackup at a maximum rate of 10 times per\n second.

                                      \n

                                      You must manually set up the following on the restored table:

                                      \n
                                        \n
                                      • \n

                                        Auto scaling policies

                                        \n
                                      • \n
                                      • \n

                                        IAM policies

                                        \n
                                      • \n
                                      • \n

                                        Amazon CloudWatch metrics and alarms

                                        \n
                                      • \n
                                      • \n

                                        Tags

                                        \n
                                      • \n
                                      • \n

                                        Stream settings

                                        \n
                                      • \n
                                      • \n

                                        Time to Live (TTL) settings

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#RestoreTableFromBackupInput": { @@ -6859,13 +6859,13 @@ "GlobalSecondaryIndexOverride": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexList", "traits": { - "smithy.api#documentation": "

                                      List of global secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.

                                      " + "smithy.api#documentation": "

                                      List of global secondary indexes for the restored table. The indexes provided should\n match existing secondary indexes. You can choose to exclude some or all of the indexes\n at the time of restore.

                                      " } }, "LocalSecondaryIndexOverride": { "target": "com.amazonaws.dynamodb#LocalSecondaryIndexList", "traits": { - "smithy.api#documentation": "

                                      List of local secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.

                                      " + "smithy.api#documentation": "

                                      List of local secondary indexes for the restored table. The indexes provided should\n match existing secondary indexes. You can choose to exclude some or all of the indexes\n at the time of restore.

                                      " } }, "ProvisionedThroughputOverride": { @@ -6931,7 +6931,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Restores the specified table to the specified point in time within\n EarliestRestorableDateTime and LatestRestorableDateTime.\n You can restore your table to any point in time during the last 35 days.\n Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.\n

                                      \n

                                      \n When you restore using point in time recovery, DynamoDB restores your table data to the state based on\n the selected date and time (day:hour:minute:second) to a new table.\n

                                      \n

                                      \n Along with data, the following are also included on the new restored table using point in time recovery:\n

                                      \n
                                        \n
                                      • \n

                                        Global secondary indexes (GSIs)

                                        \n
                                      • \n
                                      • \n

                                        Local secondary indexes (LSIs)

                                        \n
                                      • \n
                                      • \n

                                        Provisioned read and write capacity

                                        \n
                                      • \n
                                      • \n

                                        Encryption settings

                                        \n \n

                                        \n All these settings come from the current settings of the source table at the time of restore.\n

                                        \n
                                        \n
                                      • \n
                                      \n\n

                                      You must manually set up the following on the restored table:

                                      \n
                                        \n
                                      • \n

                                        Auto scaling policies

                                        \n
                                      • \n
                                      • \n

                                        IAM policies

                                        \n
                                      • \n
                                      • \n

                                        Amazon CloudWatch metrics and alarms

                                        \n
                                      • \n
                                      • \n

                                        Tags

                                        \n
                                      • \n
                                      • \n

                                        Stream settings

                                        \n
                                      • \n
                                      • \n

                                        Time to Live (TTL) settings

                                        \n
                                      • \n
                                      • \n

                                        Point in time recovery settings

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

                                      Restores the specified table to the specified point in time within\n EarliestRestorableDateTime and LatestRestorableDateTime.\n You can restore your table to any point in time during the last 35 days. Any number of\n users can execute up to 4 concurrent restores (any type of restore) in a given account.

                                      \n

                                      When you restore using point in time recovery, DynamoDB restores your table data to\n the state based on the selected date and time (day:hour:minute:second) to a new table.

                                      \n

                                      Along with data, the following are also included on the new restored table using\n point in time recovery:

                                      \n
                                        \n
                                      • \n

                                        Global secondary indexes (GSIs)

                                        \n
                                      • \n
                                      • \n

                                        Local secondary indexes (LSIs)

                                        \n
                                      • \n
                                      • \n

                                        Provisioned read and write capacity

                                        \n
                                      • \n
                                      • \n

                                        Encryption settings

                                        \n \n

                                        All these settings come from the current settings of the source table at\n the time of restore.

                                        \n
                                        \n
                                      • \n
                                      \n\n

                                      You must manually set up the following on the restored table:

                                      \n
                                        \n
                                      • \n

                                        Auto scaling policies

                                        \n
                                      • \n
                                      • \n

                                        IAM policies

                                        \n
                                      • \n
                                      • \n

                                        Amazon CloudWatch metrics and alarms

                                        \n
                                      • \n
                                      • \n

                                        Tags

                                        \n
                                      • \n
                                      • \n

                                        Stream settings

                                        \n
                                      • \n
                                      • \n

                                        Time to Live (TTL) settings

                                        \n
                                      • \n
                                      • \n

                                        Point in time recovery settings

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#RestoreTableToPointInTimeInput": { @@ -6940,7 +6940,7 @@ "SourceTableArn": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

                                      The DynamoDB table that will be restored. This value is an Amazon\n Resource Name (ARN).

                                      " + "smithy.api#documentation": "

                                      The DynamoDB table that will be restored. This value is an Amazon Resource Name\n (ARN).

                                      " } }, "SourceTableName": { @@ -6959,7 +6959,7 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.dynamodb#BooleanObject", "traits": { - "smithy.api#documentation": "

                                      Restore the table to the latest possible time. LatestRestorableDateTime\n is typically 5 minutes before the current time.

                                      " + "smithy.api#documentation": "

                                      Restore the table to the latest possible time. LatestRestorableDateTime\n is typically 5 minutes before the current time.

                                      " } }, "RestoreDateTime": { @@ -6977,13 +6977,13 @@ "GlobalSecondaryIndexOverride": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexList", "traits": { - "smithy.api#documentation": "

                                      List of global secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.

                                      " + "smithy.api#documentation": "

                                      List of global secondary indexes for the restored table. The indexes provided should\n match existing secondary indexes. You can choose to exclude some or all of the indexes\n at the time of restore.

                                      " } }, "LocalSecondaryIndexOverride": { "target": "com.amazonaws.dynamodb#LocalSecondaryIndexList", "traits": { - "smithy.api#documentation": "

                                      List of local secondary indexes for the restored table. The indexes\n provided should match existing secondary indexes. You can choose to exclude\n some or all of the indexes at the time of restore.

                                      " + "smithy.api#documentation": "

                                      List of local secondary indexes for the restored table. The indexes provided should\n match existing secondary indexes. You can choose to exclude some or all of the indexes\n at the time of restore.

                                      " } }, "ProvisionedThroughputOverride": { @@ -7014,7 +7014,7 @@ "com.amazonaws.dynamodb#ReturnConsumedCapacity": { "type": "string", "traits": { - "smithy.api#documentation": "

                                      Determines the level of detail about provisioned throughput consumption that is returned in the response:

                                      \n
                                        \n
                                      • \n

                                        \n INDEXES - The response includes the aggregate ConsumedCapacity for the operation, together with ConsumedCapacity for each table and secondary index that was accessed.

                                        \n

                                        Note that some operations, such as GetItem and BatchGetItem, do not access any indexes at all. In these cases, specifying INDEXES will only return ConsumedCapacity information for table(s).

                                        \n
                                      • \n
                                      • \n

                                        \n TOTAL - The response includes only the aggregate ConsumedCapacity for the operation.

                                        \n
                                      • \n
                                      • \n

                                        \n NONE - No ConsumedCapacity details are included in the response.

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

                                      Determines the level of detail about provisioned throughput consumption that is\n returned in the response:

                                      \n
                                        \n
                                      • \n

                                        \n INDEXES - The response includes the aggregate\n ConsumedCapacity for the operation, together with\n ConsumedCapacity for each table and secondary index that was\n accessed.

                                        \n

                                        Note that some operations, such as GetItem and\n BatchGetItem, do not access any indexes at all. In these cases,\n specifying INDEXES will only return ConsumedCapacity\n information for table(s).

                                        \n
                                      • \n
                                      • \n

                                        \n TOTAL - The response includes only the aggregate\n ConsumedCapacity for the operation.

                                        \n
                                      • \n
                                      • \n

                                        \n NONE - No ConsumedCapacity details are included in the\n response.

                                        \n
                                      • \n
                                      ", "smithy.api#enum": [ { "value": "INDEXES", @@ -7127,25 +7127,25 @@ "Status": { "target": "com.amazonaws.dynamodb#SSEStatus", "traits": { - "smithy.api#documentation": "

                                      Represents the current state of server-side encryption. The only supported values are:

                                      \n
                                        \n
                                      • \n

                                        \n ENABLED - Server-side encryption is enabled.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - Server-side encryption is being updated.

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

                                      Represents the current state of server-side encryption. The only supported values\n are:

                                      \n
                                        \n
                                      • \n

                                        \n ENABLED - Server-side encryption is enabled.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - Server-side encryption is being updated.

                                        \n
                                      • \n
                                      " } }, "SSEType": { "target": "com.amazonaws.dynamodb#SSEType", "traits": { - "smithy.api#documentation": "

                                      Server-side encryption type. The only supported value is:

                                      \n
                                        \n
                                      • \n

                                        \n KMS - Server-side encryption that uses AWS Key Management Service. The\n key is stored in your account and is managed by AWS KMS (AWS KMS charges\n apply).

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

                                      Server-side encryption type. The only supported value is:

                                      \n
                                        \n
                                      • \n

                                        \n KMS - Server-side encryption that uses Key Management Service. The\n key is stored in your account and is managed by KMS (KMS charges apply).

                                        \n
                                      • \n
                                      " } }, "KMSMasterKeyArn": { "target": "com.amazonaws.dynamodb#KMSMasterKeyArn", "traits": { - "smithy.api#documentation": "

                                      The AWS KMS customer master key (CMK) ARN used for the AWS KMS encryption.

                                      " + "smithy.api#documentation": "

                                      The KMS key ARN used for the KMS\n encryption.

                                      " } }, "InaccessibleEncryptionDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { - "smithy.api#documentation": "

                                      Indicates the time, in UNIX epoch date format, when DynamoDB detected that the table's\n AWS KMS key was inaccessible. This attribute will automatically be cleared when DynamoDB\n detects that the table's AWS KMS key is accessible again. DynamoDB will initiate the table\n archival process when table's AWS KMS key remains inaccessible for more than seven days\n from this date.

                                      " + "smithy.api#documentation": "

                                      Indicates the time, in UNIX epoch date format, when DynamoDB detected that\n the table's KMS key was inaccessible. This attribute will automatically\n be cleared when DynamoDB detects that the table's KMS key is accessible\n again. DynamoDB will initiate the table archival process when table's KMS key remains inaccessible for more than seven days from this date.

                                      " } } }, @@ -7165,19 +7165,19 @@ "Enabled": { "target": "com.amazonaws.dynamodb#SSEEnabled", "traits": { - "smithy.api#documentation": "

                                      Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true),\n server-side encryption type is set to KMS and an AWS managed CMK is used (AWS KMS charges apply). If disabled (false) or not specified, server-side\nencryption is set to AWS owned CMK.

                                      " + "smithy.api#documentation": "

                                      Indicates whether server-side encryption is done using an Amazon Web Services managed\n key or an Amazon Web Services owned key. If enabled (true), server-side encryption type\n is set to KMS and an Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side\n encryption is set to Amazon Web Services owned key.

                                      " } }, "SSEType": { "target": "com.amazonaws.dynamodb#SSEType", "traits": { - "smithy.api#documentation": "

                                      Server-side encryption type. The only supported value is:

                                      \n
                                        \n
                                      • \n

                                        \n KMS - Server-side encryption that uses AWS Key Management Service. The\n key is stored in your account and is managed by AWS KMS (AWS KMS charges\n apply).

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

                                      Server-side encryption type. The only supported value is:

                                      \n
                                        \n
                                      • \n

                                        \n KMS - Server-side encryption that uses Key Management Service. The\n key is stored in your account and is managed by KMS (KMS charges apply).

                                        \n
                                      • \n
                                      " } }, "KMSMasterKeyId": { "target": "com.amazonaws.dynamodb#KMSMasterKeyId", "traits": { - "smithy.api#documentation": "

                                      The AWS KMS customer master key (CMK) that should be used for the AWS KMS encryption. To\n specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note\n that you should only provide this parameter if the key is different from the default\n DynamoDB customer master key alias/aws/dynamodb.

                                      " + "smithy.api#documentation": "

                                      The KMS key that should be used for the KMS encryption.\n To specify a key, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN.\n Note that you should only provide this parameter if the key is different from the\n default DynamoDB key alias/aws/dynamodb.

                                      " } } }, @@ -7275,7 +7275,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The Scan operation returns one or more items and item attributes by accessing every\n item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a FilterExpression operation.

                                      \n

                                      If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the\n scan stops and results are returned to the user as a LastEvaluatedKey value\n to continue the scan in a subsequent operation. The results also include the number of\n items exceeding the limit. A scan can result in no table data meeting the filter\n criteria.

                                      \n

                                      A single Scan operation reads up to the maximum number of items set (if\n using the Limit parameter) or a maximum of 1 MB of data and then apply any\n filtering to the results using FilterExpression. If\n LastEvaluatedKey is present in the response, you need to paginate the\n result set. For more information, see Paginating the\n Results in the Amazon DynamoDB Developer Guide.

                                      \n

                                      \n Scan operations proceed sequentially; however, for faster performance on\n a large table or secondary index, applications can request a parallel Scan\n operation by providing the Segment and TotalSegments\n parameters. For more information, see Parallel\n Scan in the Amazon DynamoDB Developer Guide.

                                      \n

                                      \n Scan uses eventually consistent reads when accessing the data in a\n table; therefore, the result set might not include the changes to data in the table\n immediately before the operation began. If you need a consistent copy of the data, as of\n the time that the Scan begins, you can set the ConsistentRead\n parameter to true.

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

                                      The Scan operation returns one or more items and item attributes by\n accessing every item in a table or a secondary index. To have DynamoDB return fewer\n items, you can provide a FilterExpression operation.

                                      \n

                                      If the total number of scanned items exceeds the maximum dataset size limit of 1 MB,\n the scan stops and results are returned to the user as a LastEvaluatedKey\n value to continue the scan in a subsequent operation. The results also include the\n number of items exceeding the limit. A scan can result in no table data meeting the\n filter criteria.

                                      \n

                                      A single Scan operation reads up to the maximum number of items set (if\n using the Limit parameter) or a maximum of 1 MB of data and then apply any\n filtering to the results using FilterExpression. If\n LastEvaluatedKey is present in the response, you need to paginate the\n result set. For more information, see Paginating the\n Results in the Amazon DynamoDB Developer Guide.

                                      \n

                                      \n Scan operations proceed sequentially; however, for faster performance on\n a large table or secondary index, applications can request a parallel Scan\n operation by providing the Segment and TotalSegments\n parameters. For more information, see Parallel\n Scan in the Amazon DynamoDB Developer Guide.

                                      \n

                                      \n Scan uses eventually consistent reads when accessing the data in a table;\n therefore, the result set might not include the changes to data in the table immediately\n before the operation began. If you need a consistent copy of the data, as of the time\n that the Scan begins, you can set the ConsistentRead parameter\n to true.

                                      ", "smithy.api#paginated": { "inputToken": "ExclusiveStartKey", "outputToken": "LastEvaluatedKey", @@ -7291,50 +7291,50 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableName", "traits": { - "smithy.api#documentation": "

                                      The name of the table containing the requested items; or, if you provide\n IndexName, the name of the table to which that index belongs.

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

                                      The name of the table containing the requested items; or, if you provide\n IndexName, the name of the table to which that index belongs.

                                      ", "smithy.api#required": {} } }, "IndexName": { "target": "com.amazonaws.dynamodb#IndexName", "traits": { - "smithy.api#documentation": "

                                      The name of a secondary index to scan. This index can be any local secondary index or global secondary index. Note that if you use the IndexName parameter, you must also provide TableName.

                                      " + "smithy.api#documentation": "

                                      The name of a secondary index to scan. This index can be any local secondary index or\n global secondary index. Note that if you use the IndexName parameter, you\n must also provide TableName.

                                      " } }, "AttributesToGet": { "target": "com.amazonaws.dynamodb#AttributeNameList", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more information, see\n AttributesToGet in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ProjectionExpression instead. For more\n information, see AttributesToGet in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "Limit": { "target": "com.amazonaws.dynamodb#PositiveIntegerObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of items to evaluate (not necessarily the number of matching items).\n If DynamoDB processes the number of items up to the limit while processing the results,\n it stops the operation and returns the matching values up to that point, and a key in\n LastEvaluatedKey to apply in a subsequent operation, so that you can\n pick up where you left off. Also, if the processed dataset size exceeds 1 MB before\n DynamoDB reaches this limit, it stops the operation and returns the matching values up\n to the limit, and a key in LastEvaluatedKey to apply in a subsequent\n operation to continue the operation. For more information, see Working with Queries in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      The maximum number of items to evaluate (not necessarily the number of matching\n items). If DynamoDB processes the number of items up to the limit while processing the\n results, it stops the operation and returns the matching values up to that point, and a\n key in LastEvaluatedKey to apply in a subsequent operation, so that you can\n pick up where you left off. Also, if the processed dataset size exceeds 1 MB before\n DynamoDB reaches this limit, it stops the operation and returns the matching values up\n to the limit, and a key in LastEvaluatedKey to apply in a subsequent\n operation to continue the operation. For more information, see Working with Queries in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "Select": { "target": "com.amazonaws.dynamodb#Select", "traits": { - "smithy.api#documentation": "

                                      The attributes to be returned in the\n result. You can retrieve all item attributes, specific item attributes, the count of\n matching items, or in the case of an index, some or all of the attributes projected into\n the index.

                                      \n
                                        \n
                                      • \n

                                        \n ALL_ATTRIBUTES - Returns all of the item attributes from the\n specified table or index. If you query a local secondary index, then for each\n matching item in the index, DynamoDB fetches the entire item from the parent\n table. If the index is configured to project all item attributes, then all of\n the data can be obtained from the local secondary index, and no fetching is\n required.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index.\n Retrieves all attributes that have been projected into the index. If the\n index is configured to project all attributes, this return value is\n equivalent to specifying ALL_ATTRIBUTES.

                                        \n
                                      • \n
                                      • \n

                                        \n COUNT - Returns the number of matching items, rather than the\n matching items themselves.

                                        \n
                                      • \n
                                      • \n

                                        \n SPECIFIC_ATTRIBUTES - Returns only the attributes listed in\n AttributesToGet. This return value is equivalent to\n specifying AttributesToGet without specifying any value\n for Select.

                                        \n

                                        If you query or scan a local secondary index and request only attributes that\n are projected into that index, the operation reads only the index and not the\n table. If any of the requested attributes are not projected into the local\n secondary index, DynamoDB fetches each of these attributes from the parent\n table. This extra fetching incurs additional throughput cost and latency.

                                        \n

                                        If you query or scan a global secondary index, you can only request\n attributes that are projected into the index. Global secondary index queries\n cannot fetch attributes from the parent table.

                                        \n
                                      • \n
                                      \n

                                      If neither Select nor AttributesToGet\n are specified, DynamoDB defaults to ALL_ATTRIBUTES when accessing a\n table, and ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot\n use both Select and AttributesToGet\n together in a single request, unless the value for Select is\n SPECIFIC_ATTRIBUTES. (This usage is equivalent to specifying\n AttributesToGet without any value for\n Select.)

                                      \n \n

                                      If you use the ProjectionExpression parameter, then\n the value for Select can only be\n SPECIFIC_ATTRIBUTES. Any other value for\n Select will return an error.

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

                                      The attributes to be returned in the result. You can retrieve all item attributes,\n specific item attributes, the count of matching items, or in the case of an index, some\n or all of the attributes projected into the index.

                                      \n
                                        \n
                                      • \n

                                        \n ALL_ATTRIBUTES - Returns all of the item attributes from the\n specified table or index. If you query a local secondary index, then for each\n matching item in the index, DynamoDB fetches the entire item from the parent\n table. If the index is configured to project all item attributes, then all of\n the data can be obtained from the local secondary index, and no fetching is\n required.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_PROJECTED_ATTRIBUTES - Allowed only when querying an index.\n Retrieves all attributes that have been projected into the index. If the index\n is configured to project all attributes, this return value is equivalent to\n specifying ALL_ATTRIBUTES.

                                        \n
                                      • \n
                                      • \n

                                        \n COUNT - Returns the number of matching items, rather than the\n matching items themselves.

                                        \n
                                      • \n
                                      • \n

                                        \n SPECIFIC_ATTRIBUTES - Returns only the attributes listed in\n AttributesToGet. This return value is equivalent to specifying\n AttributesToGet without specifying any value for\n Select.

                                        \n

                                        If you query or scan a local secondary index and request only attributes that\n are projected into that index, the operation reads only the index and not the\n table. If any of the requested attributes are not projected into the local\n secondary index, DynamoDB fetches each of these attributes from the parent\n table. This extra fetching incurs additional throughput cost and latency.

                                        \n

                                        If you query or scan a global secondary index, you can only request attributes\n that are projected into the index. Global secondary index queries cannot fetch\n attributes from the parent table.

                                        \n
                                      • \n
                                      \n

                                      If neither Select nor AttributesToGet are specified,\n DynamoDB defaults to ALL_ATTRIBUTES when accessing a table, and\n ALL_PROJECTED_ATTRIBUTES when accessing an index. You cannot use both\n Select and AttributesToGet together in a single request,\n unless the value for Select is SPECIFIC_ATTRIBUTES. (This\n usage is equivalent to specifying AttributesToGet without any value for\n Select.)

                                      \n \n

                                      If you use the ProjectionExpression parameter, then the value for\n Select can only be SPECIFIC_ATTRIBUTES. Any other\n value for Select will return an error.

                                      \n
                                      " } }, "ScanFilter": { "target": "com.amazonaws.dynamodb#FilterConditionMap", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more information, see\n ScanFilter in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more\n information, see ScanFilter in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConditionalOperator": { "target": "com.amazonaws.dynamodb#ConditionalOperator", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more information, see\n ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use FilterExpression instead. For more\n information, see ConditionalOperator in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExclusiveStartKey": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the first item that this operation will evaluate. Use the value that was returned for LastEvaluatedKey in the previous operation.

                                      \n

                                      The data type for ExclusiveStartKey must be String, Number or Binary. No set data types are allowed.

                                      \n

                                      In a parallel scan, a\n Scan request that includes ExclusiveStartKey must specify the same segment\n whose previous Scan returned the corresponding value of LastEvaluatedKey.

                                      " + "smithy.api#documentation": "

                                      The primary key of the first item that this operation will evaluate. Use the value\n that was returned for LastEvaluatedKey in the previous operation.

                                      \n

                                      The data type for ExclusiveStartKey must be String, Number or Binary. No\n set data types are allowed.

                                      \n

                                      In a parallel scan, a Scan request that includes\n ExclusiveStartKey must specify the same segment whose previous\n Scan returned the corresponding value of\n LastEvaluatedKey.

                                      " } }, "ReturnConsumedCapacity": { @@ -7343,43 +7343,43 @@ "TotalSegments": { "target": "com.amazonaws.dynamodb#ScanTotalSegments", "traits": { - "smithy.api#documentation": "

                                      For a parallel Scan request, TotalSegments represents the total number of\n segments into which the Scan operation will be divided. The value of\n TotalSegments corresponds to the number of application workers that will perform the\n parallel scan. For example, if you want to use four application threads to scan a table or an index,\n specify a TotalSegments value of 4.

                                      \n

                                      The value for TotalSegments must be greater than or equal to 1, and less than or equal\n to 1000000. If you specify a TotalSegments value of 1, the Scan operation will\n be sequential rather than parallel.

                                      \n

                                      If you specify TotalSegments, you must also specify Segment.

                                      " + "smithy.api#documentation": "

                                      For a parallel Scan request, TotalSegments represents the\n total number of segments into which the Scan operation will be divided. The\n value of TotalSegments corresponds to the number of application workers\n that will perform the parallel scan. For example, if you want to use four application\n threads to scan a table or an index, specify a TotalSegments value of\n 4.

                                      \n

                                      The value for TotalSegments must be greater than or equal to 1, and less\n than or equal to 1000000. If you specify a TotalSegments value of 1, the\n Scan operation will be sequential rather than parallel.

                                      \n

                                      If you specify TotalSegments, you must also specify\n Segment.

                                      " } }, "Segment": { "target": "com.amazonaws.dynamodb#ScanSegment", "traits": { - "smithy.api#documentation": "

                                      For a parallel Scan request, Segment identifies an individual segment to be\n scanned by an application worker.

                                      \n

                                      Segment IDs are zero-based, so the first segment is always 0. For example, if you want to\n use four application threads to scan a table or an index, then the first thread specifies a Segment value\n of 0, the second thread specifies 1, and so on.

                                      \n

                                      The value of LastEvaluatedKey returned from a parallel Scan request must be\n used as ExclusiveStartKey with the same segment ID in a subsequent Scan\n operation.

                                      \n

                                      The value for Segment must be greater than or equal to 0, and less than the value\n provided for TotalSegments.

                                      \n

                                      If you provide Segment, you must also provide TotalSegments.

                                      " + "smithy.api#documentation": "

                                      For a parallel Scan request, Segment identifies an\n individual segment to be scanned by an application worker.

                                      \n

                                      Segment IDs are zero-based, so the first segment is always 0. For example, if you want\n to use four application threads to scan a table or an index, then the first thread\n specifies a Segment value of 0, the second thread specifies 1, and so\n on.

                                      \n

                                      The value of LastEvaluatedKey returned from a parallel Scan\n request must be used as ExclusiveStartKey with the same segment ID in a\n subsequent Scan operation.

                                      \n

                                      The value for Segment must be greater than or equal to 0, and less than\n the value provided for TotalSegments.

                                      \n

                                      If you provide Segment, you must also provide\n TotalSegments.

                                      " } }, "ProjectionExpression": { "target": "com.amazonaws.dynamodb#ProjectionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the specified table or index. These attributes can include scalars, sets, or elements of a JSON document. The attributes in the expression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes will be returned. If any of the requested attributes are not found, they will not appear in the result.

                                      \n

                                      For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      A string that identifies one or more attributes to retrieve from the specified table\n or index. These attributes can include scalars, sets, or elements of a JSON document.\n The attributes in the expression must be separated by commas.

                                      \n

                                      If no attribute names are specified, then all attributes will be returned. If any of\n the requested attributes are not found, they will not appear in the result.

                                      \n

                                      For more information, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "FilterExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A string that contains conditions that DynamoDB applies after the Scan operation, but\n before the data is returned to you. Items that do not satisfy the FilterExpression\n criteria are not returned.

                                      \n \n

                                      A FilterExpression is applied after the items have already been read; the process of\n filtering does not consume any additional read capacity units.

                                      \n
                                      \n

                                      For more information, see\n Filter Expressions in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      A string that contains conditions that DynamoDB applies after the Scan\n operation, but before the data is returned to you. Items that do not satisfy the\n FilterExpression criteria are not returned.

                                      \n \n

                                      A FilterExpression is applied after the items have already been read;\n the process of filtering does not consume any additional read capacity units.

                                      \n
                                      \n

                                      For more information, see Filter\n Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer Guide). To work around this, you could specify the following for ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide). To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information on expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeValues": { "target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap", "traits": { - "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as\n follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"},\n \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConsistentRead": { "target": "com.amazonaws.dynamodb#ConsistentRead", "traits": { - "smithy.api#documentation": "

                                      A Boolean value that determines the read consistency model during the scan:

                                      \n
                                        \n
                                      • \n

                                        If ConsistentRead is false, then the data returned from\n Scan might not contain the results from other recently\n completed write operations (PutItem, UpdateItem, or\n DeleteItem).

                                        \n
                                      • \n
                                      • \n

                                        If ConsistentRead is true, then all of the write operations that completed before the Scan began are guaranteed to be contained in the Scan response.

                                        \n
                                      • \n
                                      \n

                                      The default setting for ConsistentRead is false.

                                      \n

                                      The ConsistentRead parameter is not supported on global secondary indexes. If you scan a global secondary index with ConsistentRead set to true, you will receive a ValidationException.

                                      " + "smithy.api#documentation": "

                                      A Boolean value that determines the read consistency model during the scan:

                                      \n
                                        \n
                                      • \n

                                        If ConsistentRead is false, then the data returned\n from Scan might not contain the results from other recently\n completed write operations (PutItem, UpdateItem, or\n DeleteItem).

                                        \n
                                      • \n
                                      • \n

                                        If ConsistentRead is true, then all of the write\n operations that completed before the Scan began are guaranteed to\n be contained in the Scan response.

                                        \n
                                      • \n
                                      \n

                                      The default setting for ConsistentRead is false.

                                      \n

                                      The ConsistentRead parameter is not supported on global secondary\n indexes. If you scan a global secondary index with ConsistentRead set to\n true, you will receive a ValidationException.

                                      " } } }, @@ -7393,31 +7393,31 @@ "Items": { "target": "com.amazonaws.dynamodb#ItemList", "traits": { - "smithy.api#documentation": "

                                      An array of item attributes that match the scan criteria. Each element in this array consists of an attribute name and the value for that attribute.

                                      " + "smithy.api#documentation": "

                                      An array of item attributes that match the scan criteria. Each element in this array\n consists of an attribute name and the value for that attribute.

                                      " } }, "Count": { "target": "com.amazonaws.dynamodb#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of items in the response.

                                      \n

                                      If you set ScanFilter in the request, then Count is the number of items\n returned after the filter was applied, and ScannedCount is the number of matching items\n before the filter was applied.

                                      \n

                                      If you did not use a filter in the request, then Count is the same as\n ScannedCount.

                                      " + "smithy.api#documentation": "

                                      The number of items in the response.

                                      \n

                                      If you set ScanFilter in the request, then Count is the\n number of items returned after the filter was applied, and ScannedCount is\n the number of matching items before the filter was applied.

                                      \n

                                      If you did not use a filter in the request, then Count is the same as\n ScannedCount.

                                      " } }, "ScannedCount": { "target": "com.amazonaws.dynamodb#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of items evaluated, before any ScanFilter is applied. A high\n ScannedCount value with few, or no, Count results indicates an inefficient\n Scan operation. For more information, see Count and ScannedCount in the\n Amazon DynamoDB Developer Guide.

                                      \n

                                      If you did not use a filter in the request, then ScannedCount is the same as\n Count.

                                      " + "smithy.api#documentation": "

                                      The number of items evaluated, before any ScanFilter is applied. A high\n ScannedCount value with few, or no, Count results\n indicates an inefficient Scan operation. For more information, see Count and\n ScannedCount in the Amazon DynamoDB Developer\n Guide.

                                      \n

                                      If you did not use a filter in the request, then ScannedCount is the same\n as Count.

                                      " } }, "LastEvaluatedKey": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the item where the operation stopped, inclusive of the previous\n result set. Use this value to start a new operation, excluding this value in the new\n request.

                                      \n

                                      If LastEvaluatedKey is empty, then the \"last page\" of results\n has been processed and there is no more data to be retrieved.

                                      \n

                                      If LastEvaluatedKey is not empty, it does not necessarily mean\n that there is more data in the result set. The only way to know when you have reached\n the end of the result set is when LastEvaluatedKey is\n empty.

                                      " + "smithy.api#documentation": "

                                      The primary key of the item where the operation stopped, inclusive of the previous\n result set. Use this value to start a new operation, excluding this value in the new\n request.

                                      \n

                                      If LastEvaluatedKey is empty, then the \"last page\" of results has been\n processed and there is no more data to be retrieved.

                                      \n

                                      If LastEvaluatedKey is not empty, it does not necessarily mean that there\n is more data in the result set. The only way to know when you have reached the end of\n the result set is when LastEvaluatedKey is empty.

                                      " } }, "ConsumedCapacity": { "target": "com.amazonaws.dynamodb#ConsumedCapacity", "traits": { - "smithy.api#documentation": "

                                      The capacity units consumed by the Scan operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes involved\n in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified.\n For more information, see Provisioned\n Throughput in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The capacity units consumed by the Scan operation. The data returned\n includes the total provisioned throughput consumed, along with statistics for the table\n and any indexes involved in the operation. ConsumedCapacity is only\n returned if the ReturnConsumedCapacity parameter was specified. For more\n information, see Provisioned Throughput in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -7536,7 +7536,7 @@ "BillingMode": { "target": "com.amazonaws.dynamodb#BillingMode", "traits": { - "smithy.api#documentation": "

                                      Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - Sets the read/write capacity mode to PROVISIONED. We recommend using PROVISIONED for predictable workloads.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - Sets the read/write capacity mode to PAY_PER_REQUEST. We recommend using PAY_PER_REQUEST for unpredictable workloads.\n

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

                                      Controls how you are charged for read and write throughput and how you manage\n capacity. This setting can be changed later.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - Sets the read/write capacity mode to\n PROVISIONED. We recommend using PROVISIONED for\n predictable workloads.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - Sets the read/write capacity mode to\n PAY_PER_REQUEST. We recommend using\n PAY_PER_REQUEST for unpredictable workloads.

                                        \n
                                      • \n
                                      " } } }, @@ -7550,13 +7550,13 @@ "LocalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#LocalSecondaryIndexes", "traits": { - "smithy.api#documentation": "

                                      Represents the LSI properties for the table when the backup was created. It includes the IndexName, KeySchema and Projection for the LSIs on the table at the time of backup.

                                      " + "smithy.api#documentation": "

                                      Represents the LSI properties for the table when the backup was created. It includes\n the IndexName, KeySchema and Projection for the LSIs on the table at the time of backup.\n

                                      " } }, "GlobalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexes", "traits": { - "smithy.api#documentation": "

                                      Represents the GSI properties for the table when the backup was created. It includes the\n IndexName, KeySchema, Projection, and ProvisionedThroughput for the GSIs on the table at\n the time of backup.

                                      " + "smithy.api#documentation": "

                                      Represents the GSI properties for the table when the backup was created. It includes\n the IndexName, KeySchema, Projection, and ProvisionedThroughput for the GSIs on the\n table at the time of backup.

                                      " } }, "StreamDescription": { @@ -7574,12 +7574,12 @@ "SSEDescription": { "target": "com.amazonaws.dynamodb#SSEDescription", "traits": { - "smithy.api#documentation": "

                                      The description of the server-side encryption status on the table when the backup was created.

                                      " + "smithy.api#documentation": "

                                      The description of the server-side encryption status on the table when the backup was\n created.

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

                                      Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, streams, TTL.

                                      " + "smithy.api#documentation": "

                                      Contains the details of the features enabled on the table when the backup was created.\n For example, LSIs, GSIs, streams, TTL.

                                      " } }, "com.amazonaws.dynamodb#StreamArn": { @@ -7603,14 +7603,14 @@ "StreamEnabled": { "target": "com.amazonaws.dynamodb#StreamEnabled", "traits": { - "smithy.api#documentation": "

                                      Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the table.

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

                                      Indicates whether DynamoDB Streams is enabled (true) or disabled (false) on the\n table.

                                      ", "smithy.api#required": {} } }, "StreamViewType": { "target": "com.amazonaws.dynamodb#StreamViewType", "traits": { - "smithy.api#documentation": "

                                      \n When an item in the table is modified, StreamViewType\n determines what information is written to the stream for this table. Valid values for\n StreamViewType are:

                                      \n
                                        \n
                                      • \n

                                        \n KEYS_ONLY - Only the key attributes of the modified item are written to the stream.

                                        \n
                                      • \n
                                      • \n

                                        \n NEW_IMAGE - The entire item, as it appears after it was modified, is written\n to the stream.

                                        \n
                                      • \n
                                      • \n

                                        \n OLD_IMAGE - The entire item, as it appeared before it was modified, is\n written to the stream.

                                        \n
                                      • \n
                                      • \n

                                        \n NEW_AND_OLD_IMAGES - Both the new and the old item images of the item are\n written to the stream.

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

                                      When an item in the table is modified, StreamViewType determines what\n information is written to the stream for this table. Valid values for\n StreamViewType are:

                                      \n
                                        \n
                                      • \n

                                        \n KEYS_ONLY - Only the key attributes of the modified item are\n written to the stream.

                                        \n
                                      • \n
                                      • \n

                                        \n NEW_IMAGE - The entire item, as it appears after it was modified,\n is written to the stream.

                                        \n
                                      • \n
                                      • \n

                                        \n OLD_IMAGE - The entire item, as it appeared before it was modified,\n is written to the stream.

                                        \n
                                      • \n
                                      • \n

                                        \n NEW_AND_OLD_IMAGES - Both the new and the old item images of the\n item are written to the stream.

                                        \n
                                      • \n
                                      " } } }, @@ -7680,7 +7680,7 @@ "TableStatus": { "target": "com.amazonaws.dynamodb#TableStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the table:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The table is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The table is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The table is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The table is ready for use.

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

                                      The current state of the table:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The table is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The table is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The table is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The table is ready for use.

                                        \n
                                      • \n
                                      " } }, "Replicas": { @@ -7703,7 +7703,7 @@ "AttributeDefinitions": { "target": "com.amazonaws.dynamodb#AttributeDefinitions", "traits": { - "smithy.api#documentation": "

                                      An array of AttributeDefinition objects. Each of these objects describes one attribute\n in the table and index key schema.

                                      \n

                                      Each AttributeDefinition object in this array is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n AttributeName - The name of the attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n AttributeType - The data type for the attribute.

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

                                      An array of AttributeDefinition objects. Each of these objects describes\n one attribute in the table and index key schema.

                                      \n

                                      Each AttributeDefinition object in this array is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n AttributeName - The name of the attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n AttributeType - The data type for the attribute.

                                        \n
                                      • \n
                                      " } }, "TableName": { @@ -7715,13 +7715,13 @@ "KeySchema": { "target": "com.amazonaws.dynamodb#KeySchema", "traits": { - "smithy.api#documentation": "

                                      The primary key structure for the table. Each KeySchemaElement consists of:

                                      \n
                                        \n
                                      • \n

                                        \n AttributeName - The name of the attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n KeyType - The role of the attribute:

                                        \n
                                          \n
                                        • \n

                                          \n HASH - partition key

                                          \n
                                        • \n
                                        • \n

                                          \n RANGE - sort key

                                          \n
                                        • \n
                                        \n \n

                                        The partition key of an item is also known as its hash attribute. The\n term \"hash attribute\" derives from DynamoDB's usage of an internal hash function to\n evenly distribute data items across partitions, based on their partition key values.

                                        \n

                                        The sort key of an item is also known as its range attribute.\n The term \"range attribute\" derives from the way DynamoDB stores items with the same\n partition key physically close together, in sorted order by the sort key value.

                                        \n
                                        \n\n
                                      • \n
                                      \n

                                      For more information about primary keys, see Primary Key in the\n Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The primary key structure for the table. Each KeySchemaElement consists\n of:

                                      \n
                                        \n
                                      • \n

                                        \n AttributeName - The name of the attribute.

                                        \n
                                      • \n
                                      • \n

                                        \n KeyType - The role of the attribute:

                                        \n
                                          \n
                                        • \n

                                          \n HASH - partition key

                                          \n
                                        • \n
                                        • \n

                                          \n RANGE - sort key

                                          \n
                                        • \n
                                        \n \n

                                        The partition key of an item is also known as its hash\n attribute. The term \"hash attribute\" derives from DynamoDB's\n usage of an internal hash function to evenly distribute data items across\n partitions, based on their partition key values.

                                        \n

                                        The sort key of an item is also known as its range\n attribute. The term \"range attribute\" derives from the way\n DynamoDB stores items with the same partition key physically close together,\n in sorted order by the sort key value.

                                        \n
                                        \n\n
                                      • \n
                                      \n

                                      For more information about primary keys, see Primary Key in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "TableStatus": { "target": "com.amazonaws.dynamodb#TableStatus", "traits": { - "smithy.api#documentation": "

                                      The current state of the table:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The table is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The table is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The table is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The table is ready for use.

                                        \n
                                      • \n
                                      • \n

                                        \n INACCESSIBLE_ENCRYPTION_CREDENTIALS - The AWS KMS\n key used to encrypt the table in inaccessible. Table operations\n may fail due to failure to use the AWS KMS key. DynamoDB will\n initiate the table archival process when a table's AWS KMS key\n remains inaccessible for more than seven days.\n

                                        \n
                                      • \n
                                      • \n

                                        \n ARCHIVING - The table is being archived. Operations\n are not allowed until archival is complete.\n

                                        \n
                                      • \n
                                      • \n

                                        \n ARCHIVED - The table has been archived. See the\n ArchivalReason for more information.\n

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

                                      The current state of the table:

                                      \n
                                        \n
                                      • \n

                                        \n CREATING - The table is being created.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATING - The table is being updated.

                                        \n
                                      • \n
                                      • \n

                                        \n DELETING - The table is being deleted.

                                        \n
                                      • \n
                                      • \n

                                        \n ACTIVE - The table is ready for use.

                                        \n
                                      • \n
                                      • \n

                                        \n INACCESSIBLE_ENCRYPTION_CREDENTIALS - The KMS key\n used to encrypt the table in inaccessible. Table operations may fail due to\n failure to use the KMS key. DynamoDB will initiate the\n table archival process when a table's KMS key remains\n inaccessible for more than seven days.

                                        \n
                                      • \n
                                      • \n

                                        \n ARCHIVING - The table is being archived. Operations are not allowed\n until archival is complete.

                                        \n
                                      • \n
                                      • \n

                                        \n ARCHIVED - The table has been archived. See the ArchivalReason for\n more information.

                                        \n
                                      • \n
                                      " } }, "CreationDateTime": { @@ -7733,19 +7733,19 @@ "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughputDescription", "traits": { - "smithy.api#documentation": "

                                      The provisioned throughput settings for the table, consisting of read and write capacity units, along with data about increases and decreases.

                                      " + "smithy.api#documentation": "

                                      The provisioned throughput settings for the table, consisting of read and write\n capacity units, along with data about increases and decreases.

                                      " } }, "TableSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { - "smithy.api#documentation": "

                                      The total size of the specified table, in bytes. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                      " + "smithy.api#documentation": "

                                      The total size of the specified table, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

                                      " } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { - "smithy.api#documentation": "

                                      The number of items in the specified table. DynamoDB updates this value approximately every six hours. Recent changes might not be reflected in this value.

                                      " + "smithy.api#documentation": "

                                      The number of items in the specified table. DynamoDB updates this value approximately\n every six hours. Recent changes might not be reflected in this value.

                                      " } }, "TableArn": { @@ -7769,13 +7769,13 @@ "LocalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#LocalSecondaryIndexDescriptionList", "traits": { - "smithy.api#documentation": "

                                      Represents one or more local secondary indexes on the table. Each index is scoped to a given partition key value. Tables with one or more local secondary indexes are subject to an item collection size limit, where the amount of data within a given item collection cannot exceed 10 GB. Each element is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName - The name of the local secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the complete index key schema. The attribute names in the\n key schema must be between 1 and 255 characters (inclusive). The key schema must begin\n with the same partition key as the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One\n of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are projected into the\n index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - Only the specified table attributes are projected\n into the index. The list of projected attributes is in\n NonKeyAttributes.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected into the\n index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute names that are\n projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n IndexSizeBytes - Represents the total size of the index, in bytes. DynamoDB updates\n this value approximately every six hours. Recent changes might not be reflected in this\n value.

                                        \n
                                      • \n
                                      • \n

                                        \n ItemCount - Represents the number of items in the index. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this value.

                                        \n
                                      • \n
                                      \n

                                      If the table is in the DELETING state, no information about indexes will be\n returned.

                                      " + "smithy.api#documentation": "

                                      Represents one or more local secondary indexes on the table. Each index is scoped to a\n given partition key value. Tables with one or more local secondary indexes are subject\n to an item collection size limit, where the amount of data within a given item\n collection cannot exceed 10 GB. Each element is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n IndexName - The name of the local secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the complete index key schema. The attribute\n names in the key schema must be between 1 and 255 characters (inclusive). The\n key schema must begin with the same partition key as the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies attributes that are copied (projected) from\n the table into the index. These are in addition to the primary key attributes\n and index key attributes, which are automatically projected. Each attribute\n specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are\n projected into the index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - Only the specified table attributes are\n projected into the index. The list of projected attributes is in\n NonKeyAttributes.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected\n into the index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute\n names that are projected into the secondary index. The total count of\n attributes provided in NonKeyAttributes, summed across all\n of the secondary indexes, must not exceed 20. If you project the same\n attribute into two different indexes, this counts as two distinct\n attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n IndexSizeBytes - Represents the total size of the index, in bytes.\n DynamoDB updates this value approximately every six hours. Recent changes might\n not be reflected in this value.

                                        \n
                                      • \n
                                      • \n

                                        \n ItemCount - Represents the number of items in the index. DynamoDB\n updates this value approximately every six hours. Recent changes might not be\n reflected in this value.

                                        \n
                                      • \n
                                      \n

                                      If the table is in the DELETING state, no information about indexes will\n be returned.

                                      " } }, "GlobalSecondaryIndexes": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexDescriptionList", "traits": { - "smithy.api#documentation": "

                                      The global secondary indexes, if any, on the table. Each index is scoped to a given partition key value. Each element is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n Backfilling - If true, then the index is currently in the backfilling\n phase. Backfilling occurs only when a new global secondary index is added to the\n table. It is the process by which DynamoDB populates the new index with data from the\n table. (This attribute does not appear for indexes that were created during a\n CreateTable operation.)

                                        \n

                                        You can delete an index that is being created during the Backfilling\n phase when IndexStatus is set to CREATING and Backfilling\n is true. You can't delete the index that is being created when\n IndexStatus is set to CREATING and Backfilling is false.\n (This attribute does not appear for indexes that were created during a\n CreateTable operation.)

                                        \n
                                      • \n
                                      • \n

                                        \n IndexName - The name of the global secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n IndexSizeBytes - The total size of the global secondary index, in bytes. DynamoDB updates this value approximately every six\n hours. Recent changes might not be reflected in this value.\n

                                        \n
                                      • \n
                                      • \n

                                        \n IndexStatus - The current status of the global secondary index:

                                        \n
                                          \n
                                        • \n

                                          \n CREATING - The index is being created.

                                          \n
                                        • \n
                                        • \n

                                          \n UPDATING - The index is being updated.

                                          \n
                                        • \n
                                        • \n

                                          \n DELETING - The index is being deleted.

                                          \n
                                        • \n
                                        • \n

                                          \n ACTIVE - The index is ready for use.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n ItemCount - The number of items in the global secondary index. DynamoDB updates this value approximately every six\n hours. Recent changes might not be reflected in this value.\n

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the complete index key schema. The attribute names in the\n key schema must be between 1 and 255 characters (inclusive). The key schema must begin\n with the same partition key as the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies\n attributes that are copied (projected) from the table into the index. These are in\n addition to the primary key attributes and index key\n attributes, which are automatically projected. Each\n attribute specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One\n of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are projected into the\n index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - In addition to the attributes described in KEYS_ONLY, the secondary index will include other non-key attributes that you specify.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected into the\n index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute names that are\n projected into the secondary index. The total count of attributes provided in NonKeyAttributes, summed across all of the secondary indexes, must not exceed 20. If you project the same attribute into two different indexes, this counts as two distinct attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n ProvisionedThroughput - The provisioned throughput settings for the global secondary index,\n consisting of read and write capacity units, along with data about increases and\n decreases.

                                        \n
                                      • \n
                                      \n

                                      If the table is in the DELETING state, no information about indexes will be\n returned.

                                      " + "smithy.api#documentation": "

                                      The global secondary indexes, if any, on the table. Each index is scoped to a given\n partition key value. Each element is composed of:

                                      \n
                                        \n
                                      • \n

                                        \n Backfilling - If true, then the index is currently in the\n backfilling phase. Backfilling occurs only when a new global secondary index is\n added to the table. It is the process by which DynamoDB populates the new index\n with data from the table. (This attribute does not appear for indexes that were\n created during a CreateTable operation.)

                                        \n

                                        You can delete an index that is being created during the\n Backfilling phase when IndexStatus is set to\n CREATING and Backfilling is true. You can't delete the index that\n is being created when IndexStatus is set to CREATING and\n Backfilling is false. (This attribute does not appear for\n indexes that were created during a CreateTable operation.)

                                        \n
                                      • \n
                                      • \n

                                        \n IndexName - The name of the global secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n IndexSizeBytes - The total size of the global secondary index, in\n bytes. DynamoDB updates this value approximately every six hours. Recent changes\n might not be reflected in this value.

                                        \n
                                      • \n
                                      • \n

                                        \n IndexStatus - The current status of the global secondary\n index:

                                        \n
                                          \n
                                        • \n

                                          \n CREATING - The index is being created.

                                          \n
                                        • \n
                                        • \n

                                          \n UPDATING - The index is being updated.

                                          \n
                                        • \n
                                        • \n

                                          \n DELETING - The index is being deleted.

                                          \n
                                        • \n
                                        • \n

                                          \n ACTIVE - The index is ready for use.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n ItemCount - The number of items in the global secondary index.\n DynamoDB updates this value approximately every six hours. Recent changes might\n not be reflected in this value.

                                        \n
                                      • \n
                                      • \n

                                        \n KeySchema - Specifies the complete index key schema. The attribute\n names in the key schema must be between 1 and 255 characters (inclusive). The\n key schema must begin with the same partition key as the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Projection - Specifies attributes that are copied (projected) from\n the table into the index. These are in addition to the primary key attributes\n and index key attributes, which are automatically projected. Each attribute\n specification is composed of:

                                        \n
                                          \n
                                        • \n

                                          \n ProjectionType - One of the following:

                                          \n
                                            \n
                                          • \n

                                            \n KEYS_ONLY - Only the index and primary keys are\n projected into the index.

                                            \n
                                          • \n
                                          • \n

                                            \n INCLUDE - In addition to the attributes described\n in KEYS_ONLY, the secondary index will include\n other non-key attributes that you specify.

                                            \n
                                          • \n
                                          • \n

                                            \n ALL - All of the table attributes are projected\n into the index.

                                            \n
                                          • \n
                                          \n
                                        • \n
                                        • \n

                                          \n NonKeyAttributes - A list of one or more non-key attribute\n names that are projected into the secondary index. The total count of\n attributes provided in NonKeyAttributes, summed across all\n of the secondary indexes, must not exceed 20. If you project the same\n attribute into two different indexes, this counts as two distinct\n attributes when determining the total.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        \n ProvisionedThroughput - The provisioned throughput settings for the\n global secondary index, consisting of read and write capacity units, along with\n data about increases and decreases.

                                        \n
                                      • \n
                                      \n

                                      If the table is in the DELETING state, no information about indexes will\n be returned.

                                      " } }, "StreamSpecification": { @@ -7787,19 +7787,19 @@ "LatestStreamLabel": { "target": "com.amazonaws.dynamodb#String", "traits": { - "smithy.api#documentation": "

                                      A timestamp, in ISO 8601 format, for this stream.

                                      \n\n

                                      Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:

                                      \n
                                        \n
                                      • \n

                                        AWS customer ID

                                        \n
                                      • \n
                                      • \n

                                        Table name

                                        \n
                                      • \n
                                      • \n

                                        \n StreamLabel\n

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

                                      A timestamp, in ISO 8601 format, for this stream.

                                      \n\n

                                      Note that LatestStreamLabel is not a unique identifier for the stream,\n because it is possible that a stream from another table might have the same timestamp.\n However, the combination of the following three elements is guaranteed to be\n unique:

                                      \n
                                        \n
                                      • \n

                                        Amazon Web Services customer ID

                                        \n
                                      • \n
                                      • \n

                                        Table name

                                        \n
                                      • \n
                                      • \n

                                        \n StreamLabel\n

                                        \n
                                      • \n
                                      " } }, "LatestStreamArn": { "target": "com.amazonaws.dynamodb#StreamArn", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this table.

                                      " + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) that uniquely identifies the latest stream for this\n table.

                                      " } }, "GlobalTableVersion": { "target": "com.amazonaws.dynamodb#String", "traits": { - "smithy.api#documentation": "

                                      Represents the version of global tables in use, if the table is replicated across AWS Regions.

                                      " + "smithy.api#documentation": "

                                      Represents the version of global tables\n in use, if the table is replicated across Amazon Web Services Regions.

                                      " } }, "Replicas": { @@ -7845,7 +7845,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      A target table with the specified name is either being created or deleted.

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

                                      A target table with the specified name is either being created or deleted.\n

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

                                      A source table with the name TableName does not currently exist within the subscriber's account.

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

                                      A source table with the name TableName does not currently exist within\n the subscriber's account.

                                      ", "smithy.api#error": "client" } }, @@ -7918,7 +7918,7 @@ "Key": { "target": "com.amazonaws.dynamodb#TagKeyString", "traits": { - "smithy.api#documentation": "

                                      The key of the tag. Tag keys are case sensitive. Each DynamoDB table can only have up to\n one tag with the same key. If you try to add an existing tag (same key), the existing\n tag value will be updated to the new value.

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

                                      The key of the tag. Tag keys are case sensitive. Each DynamoDB table can\n only have up to one tag with the same key. If you try to add an existing tag (same key),\n the existing tag value will be updated to the new value.

                                      ", "smithy.api#required": {} } }, @@ -7931,7 +7931,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single DynamoDB table.\n

                                      \n

                                      AWS-assigned tag names and values are automatically assigned the aws:\n prefix, which the user cannot assign. AWS-assigned tag names do not count towards the\n tag limit of 50. User-assigned tag names have the prefix user: in the Cost\n Allocation Report. You cannot backdate the application of a tag.

                                      \n

                                      For an overview on tagging DynamoDB resources, see\n Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Describes a tag. A tag is a key-value pair. You can add up to 50 tags to a single\n DynamoDB table.

                                      \n

                                      Amazon Web Services-assigned tag names and values are automatically assigned the\n aws: prefix, which the user cannot assign. Amazon Web Services-assigned\n tag names do not count towards the tag limit of 50. User-assigned tag names have the\n prefix user: in the Cost Allocation Report. You cannot backdate the\n application of a tag.

                                      \n

                                      For an overview on tagging DynamoDB resources, see Tagging\n for DynamoDB in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "com.amazonaws.dynamodb#TagKeyList": { @@ -7981,7 +7981,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Associate a set of tags with an Amazon DynamoDB resource. You can then activate these\n user-defined tags so that they appear on the Billing and Cost Management console for\n cost allocation tracking. You can call TagResource up to five times per second, per\n account.

                                      \n

                                      For an overview on tagging DynamoDB resources, see\n Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Associate a set of tags with an Amazon DynamoDB resource. You can then activate these\n user-defined tags so that they appear on the Billing and Cost Management console for\n cost allocation tracking. You can call TagResource up to five times per second, per\n account.

                                      \n

                                      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " } }, "com.amazonaws.dynamodb#TagResourceInput": { @@ -7990,7 +7990,7 @@ "ResourceArn": { "target": "com.amazonaws.dynamodb#ResourceArnString", "traits": { - "smithy.api#documentation": "

                                      Identifies the Amazon DynamoDB resource to which tags should be added. This value is an Amazon Resource Name (ARN).

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

                                      Identifies the Amazon DynamoDB resource to which tags should be added. This value is\n an Amazon Resource Name (ARN).

                                      ", "smithy.api#required": {} } }, @@ -8104,7 +8104,7 @@ "Get": { "target": "com.amazonaws.dynamodb#Get", "traits": { - "smithy.api#documentation": "

                                      Contains the primary key that identifies the item to get, together\n with the name of the table that contains the item, and optionally\n the specific attributes of the item to retrieve.

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

                                      Contains the primary key that identifies the item to get, together with the name of\n the table that contains the item, and optionally the specific attributes of the item to\n retrieve.

                                      ", "smithy.api#required": {} } } @@ -8157,7 +8157,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      \n TransactGetItems is a synchronous operation that atomically retrieves\n multiple items from one or more tables (but not from indexes) in a single account and\n Region. A TransactGetItems call can contain up to 25\n TransactGetItem objects, each of which contains a Get\n structure that specifies an item to retrieve from a table in the account and Region. A\n call to TransactGetItems cannot retrieve items from tables in more than one\n AWS account or Region. The aggregate size of the items in the transaction cannot exceed\n 4 MB.

                                      \n

                                      DynamoDB rejects the entire TransactGetItems request if any of the following is true:

                                      \n
                                        \n
                                      • \n

                                        A conflicting operation is in the process of updating an\n item to be read.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction\n to be completed.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      • \n

                                        The aggregate size of the items in the transaction cannot exceed 4 MB.

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

                                      \n TransactGetItems is a synchronous operation that atomically retrieves\n multiple items from one or more tables (but not from indexes) in a single account and\n Region. A TransactGetItems call can contain up to 25\n TransactGetItem objects, each of which contains a Get\n structure that specifies an item to retrieve from a table in the account and Region. A\n call to TransactGetItems cannot retrieve items from tables in more than one\n Amazon Web Services account or Region. The aggregate size of the items in the\n transaction cannot exceed 4 MB.

                                      \n

                                      DynamoDB rejects the entire TransactGetItems request if any of\n the following is true:

                                      \n
                                        \n
                                      • \n

                                        A conflicting operation is in the process of updating an item to be\n read.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction to be\n completed.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      • \n

                                        The aggregate size of the items in the transaction cannot exceed 4 MB.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#TransactGetItemsInput": { @@ -8166,14 +8166,14 @@ "TransactItems": { "target": "com.amazonaws.dynamodb#TransactGetItemList", "traits": { - "smithy.api#documentation": "

                                      An ordered array of up to 25 TransactGetItem objects,\n each of which contains a Get structure.

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

                                      An ordered array of up to 25 TransactGetItem objects, each of which\n contains a Get structure.

                                      ", "smithy.api#required": {} } }, "ReturnConsumedCapacity": { "target": "com.amazonaws.dynamodb#ReturnConsumedCapacity", "traits": { - "smithy.api#documentation": "

                                      A value of TOTAL causes consumed capacity information\n to be returned, and a value of NONE prevents that information\n from being returned. No other value is valid.

                                      " + "smithy.api#documentation": "

                                      A value of TOTAL causes consumed capacity information to be returned, and\n a value of NONE prevents that information from being returned. No other\n value is valid.

                                      " } } } @@ -8184,13 +8184,13 @@ "ConsumedCapacity": { "target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple", "traits": { - "smithy.api#documentation": "

                                      If the ReturnConsumedCapacity value was TOTAL,\n this is an array of ConsumedCapacity objects, one for each table\n addressed by TransactGetItem objects in the TransactItems\n parameter. These ConsumedCapacity objects report the read-capacity\n units consumed by the TransactGetItems call in that table.

                                      " + "smithy.api#documentation": "

                                      If the ReturnConsumedCapacity value was TOTAL, this\n is an array of ConsumedCapacity objects, one for each table addressed by\n TransactGetItem objects in the TransactItems\n parameter. These ConsumedCapacity objects report the read-capacity units\n consumed by the TransactGetItems call in that table.

                                      " } }, "Responses": { "target": "com.amazonaws.dynamodb#ItemResponseList", "traits": { - "smithy.api#documentation": "

                                      An ordered array of up to 25 ItemResponse objects, each of which corresponds\n to the TransactGetItem object in the same position in the\n TransactItems array. Each ItemResponse object\n contains a Map of the name-value pairs that are the projected attributes of\n the requested item.

                                      \n

                                      If a requested item could not be retrieved, the corresponding ItemResponse\n object is Null, or if the requested item has no projected attributes, the corresponding\n ItemResponse object is an empty Map.

                                      " + "smithy.api#documentation": "

                                      An ordered array of up to 25 ItemResponse objects, each of which\n corresponds to the TransactGetItem object in the same position in the\n TransactItems array. Each ItemResponse object\n contains a Map of the name-value pairs that are the projected attributes of the\n requested item.

                                      \n

                                      If a requested item could not be retrieved, the corresponding\n ItemResponse object is Null, or if the requested item has no projected\n attributes, the corresponding ItemResponse object is an empty Map.

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

                                      A list of requests that can perform update, put, delete, or check operations on multiple items in one or more tables atomically.

                                      " + "smithy.api#documentation": "

                                      A list of requests that can perform update, put, delete, or check operations on\n multiple items in one or more tables atomically.

                                      " } }, "com.amazonaws.dynamodb#TransactWriteItemList": { @@ -8277,7 +8277,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      \n TransactWriteItems is a synchronous write operation that groups up to 25\n action requests. These actions can target items in different tables, but not in\n different AWS accounts or Regions, and no two actions can target the same item. For\n example, you cannot both ConditionCheck and Update the same\n item. The aggregate size of the items in the transaction cannot exceed 4 MB.

                                      \n \n

                                      The actions are completed atomically so that either all of\n them succeed, or all of them fail. They are defined by the following objects:

                                      \n\n
                                        \n
                                      • \n

                                        \n Put  —   Initiates a PutItem operation to write a new\n item. This structure specifies the primary key of the item to be written, the\n name of the table to write it in, an optional condition expression that must be\n satisfied for the write to succeed, a list of the item's attributes, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.

                                        \n
                                      • \n
                                      • \n

                                        \n Update  —   Initiates an UpdateItem operation to\n update an existing item. This structure specifies the primary key of the item to\n be updated, the name of the table where it resides, an optional condition\n expression that must be satisfied for the update to succeed, an expression that\n defines one or more attributes to be updated, and a field indicating whether to\n retrieve the item's attributes if the condition is not met.

                                        \n
                                      • \n
                                      • \n

                                        \n Delete  —   Initiates a DeleteItem operation to\n delete an existing item. This structure specifies the primary key of the item to\n be deleted, the name of the table where it resides, an optional condition\n expression that must be satisfied for the deletion to succeed, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.

                                        \n
                                      • \n
                                      • \n

                                        \n ConditionCheck  —   Applies a condition to an item that is not\n being modified by the transaction. This structure specifies the primary key of\n the item to be checked, the name of the table where it resides, a condition\n expression that must be satisfied for the transaction to succeed, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.

                                        \n
                                      • \n
                                      \n\n

                                      DynamoDB rejects the entire TransactWriteItems request if any of the following is true:

                                      \n
                                        \n
                                      • \n

                                        A condition in one of the condition expressions is not met.

                                        \n
                                      • \n
                                      • \n

                                        An ongoing operation is in the process of updating the same\n item.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction\n to be completed.

                                        \n
                                      • \n
                                      • \n

                                        An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too\n large, or a similar validation error occurs because of changes made by the\n transaction.

                                        \n
                                      • \n
                                      • \n

                                        The aggregate size of the items in the transaction exceeds 4 MB.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

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

                                      \n TransactWriteItems is a synchronous write operation that groups up to 25\n action requests. These actions can target items in different tables, but not in\n different Amazon Web Services accounts or Regions, and no two actions can target the same\n item. For example, you cannot both ConditionCheck and Update\n the same item. The aggregate size of the items in the transaction cannot exceed 4\n MB.

                                      \n\n

                                      The actions are completed atomically so that either all of them succeed, or all of\n them fail. They are defined by the following objects:

                                      \n\n
                                        \n
                                      • \n

                                        \n Put  —   Initiates a PutItem\n operation to write a new item. This structure specifies the primary key of the\n item to be written, the name of the table to write it in, an optional condition\n expression that must be satisfied for the write to succeed, a list of the item's\n attributes, and a field indicating whether to retrieve the item's attributes if\n the condition is not met.

                                        \n
                                      • \n
                                      • \n

                                        \n Update  —   Initiates an UpdateItem\n operation to update an existing item. This structure specifies the primary key\n of the item to be updated, the name of the table where it resides, an optional\n condition expression that must be satisfied for the update to succeed, an\n expression that defines one or more attributes to be updated, and a field\n indicating whether to retrieve the item's attributes if the condition is not\n met.

                                        \n
                                      • \n
                                      • \n

                                        \n Delete  —   Initiates a DeleteItem\n operation to delete an existing item. This structure specifies the primary key\n of the item to be deleted, the name of the table where it resides, an optional\n condition expression that must be satisfied for the deletion to succeed, and a\n field indicating whether to retrieve the item's attributes if the condition is\n not met.

                                        \n
                                      • \n
                                      • \n

                                        \n ConditionCheck  —   Applies a condition to an item\n that is not being modified by the transaction. This structure specifies the\n primary key of the item to be checked, the name of the table where it resides, a\n condition expression that must be satisfied for the transaction to succeed, and\n a field indicating whether to retrieve the item's attributes if the condition is\n not met.

                                        \n
                                      • \n
                                      \n\n

                                      DynamoDB rejects the entire TransactWriteItems request if any of the\n following is true:

                                      \n
                                        \n
                                      • \n

                                        A condition in one of the condition expressions is not met.

                                        \n
                                      • \n
                                      • \n

                                        An ongoing operation is in the process of updating the same item.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction to be\n completed.

                                        \n
                                      • \n
                                      • \n

                                        An item size becomes too large (bigger than 400 KB), a local secondary index\n (LSI) becomes too large, or a similar validation error occurs because of changes\n made by the transaction.

                                        \n
                                      • \n
                                      • \n

                                        The aggregate size of the items in the transaction exceeds 4 MB.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#TransactWriteItemsInput": { @@ -8286,7 +8286,7 @@ "TransactItems": { "target": "com.amazonaws.dynamodb#TransactWriteItemList", "traits": { - "smithy.api#documentation": "

                                      An ordered array of up to 25 TransactWriteItem objects, each of which\n contains a ConditionCheck, Put, Update, or\n Delete object. These can operate on items in different tables, but the\n tables must reside in the same AWS account and Region, and no two of them can operate on\n the same item.

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

                                      An ordered array of up to 25 TransactWriteItem objects, each of which\n contains a ConditionCheck, Put, Update, or\n Delete object. These can operate on items in different tables, but the\n tables must reside in the same Amazon Web Services account and Region, and no two of them\n can operate on the same item.

                                      ", "smithy.api#required": {} } }, @@ -8296,13 +8296,13 @@ "ReturnItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to\n SIZE, the response includes statistics about item collections (if any), that\n were modified during the operation and are returned in the response.\n If set to NONE (the default), no statistics are returned.\n

                                      " + "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE,\n the response includes statistics about item collections (if any), that were modified\n during the operation and are returned in the response. If set to NONE (the\n default), no statistics are returned.

                                      " } }, "ClientRequestToken": { "target": "com.amazonaws.dynamodb#ClientRequestToken", "traits": { - "smithy.api#documentation": "

                                      Providing a ClientRequestToken makes the call to TransactWriteItems\n idempotent, meaning that multiple identical calls have the same effect as one single call.

                                      \n

                                      Although multiple identical calls using the same client request token produce the same\n result on the server (no side effects), the responses to the calls might not be the\n same. If the ReturnConsumedCapacity> parameter is set, then the initial\n TransactWriteItems call returns the amount of write capacity units\n consumed in making the changes. Subsequent TransactWriteItems calls with\n the same client token return the number of read capacity units consumed in reading the\n item.

                                      \n

                                      A client request token is valid for 10 minutes after the first request that uses it is\n completed. After 10 minutes, any request with the same client token is treated as a new\n request. Do not resubmit the same request with the same client token for more than 10\n minutes, or the result might not be idempotent.

                                      \n

                                      If you submit a request with the same client token but a change in other parameters\n within the 10-minute idempotency window, DynamoDB returns an\n IdempotentParameterMismatch exception.

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

                                      Providing a ClientRequestToken makes the call to\n TransactWriteItems idempotent, meaning that multiple identical calls\n have the same effect as one single call.

                                      \n

                                      Although multiple identical calls using the same client request token produce the same\n result on the server (no side effects), the responses to the calls might not be the\n same. If the ReturnConsumedCapacity> parameter is set, then the initial\n TransactWriteItems call returns the amount of write capacity units\n consumed in making the changes. Subsequent TransactWriteItems calls with\n the same client token return the number of read capacity units consumed in reading the\n item.

                                      \n

                                      A client request token is valid for 10 minutes after the first request that uses it is\n completed. After 10 minutes, any request with the same client token is treated as a new\n request. Do not resubmit the same request with the same client token for more than 10\n minutes, or the result might not be idempotent.

                                      \n

                                      If you submit a request with the same client token but a change in other parameters\n within the 10-minute idempotency window, DynamoDB returns an\n IdempotentParameterMismatch exception.

                                      ", "smithy.api#idempotencyToken": {} } } @@ -8314,7 +8314,7 @@ "ConsumedCapacity": { "target": "com.amazonaws.dynamodb#ConsumedCapacityMultiple", "traits": { - "smithy.api#documentation": "

                                      The capacity units consumed by the entire TransactWriteItems\n operation. The values of the list are ordered according to\n the ordering of the TransactItems request parameter.\n

                                      " + "smithy.api#documentation": "

                                      The capacity units consumed by the entire TransactWriteItems operation.\n The values of the list are ordered according to the ordering of the\n TransactItems request parameter.

                                      " } }, "ItemCollectionMetrics": { @@ -8339,7 +8339,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The entire transaction request was canceled.

                                      \n

                                      DynamoDB cancels a TransactWriteItems request under the following circumstances:

                                      \n
                                        \n
                                      • \n

                                        A condition in one of the condition expressions is not met.

                                        \n
                                      • \n
                                      • \n

                                        A table in the TransactWriteItems request is in a different account or region.

                                        \n
                                      • \n
                                      • \n

                                        More than one action in the TransactWriteItems operation targets the same item.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction to be completed.

                                        \n
                                      • \n
                                      • \n

                                        An item size becomes too large (larger than 400 KB), or a local secondary index (LSI)\n becomes too large, or a similar validation error occurs because of changes made by the transaction.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      \n\n

                                      DynamoDB cancels a TransactGetItems request under the following circumstances:

                                      \n
                                        \n
                                      • \n

                                        There is an ongoing TransactGetItems operation that conflicts with a concurrent\n PutItem, UpdateItem, DeleteItem or TransactWriteItems request.\n In this case the TransactGetItems operation fails with a TransactionCanceledException.

                                        \n
                                      • \n
                                      • \n

                                        A table in the TransactGetItems request is in a different account or region.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction to be completed.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      \n\n \n

                                      If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons property. This property is not set for other languages.\n Transaction cancellation reasons are ordered in the order of requested items, if an item has no error it will have NONE code and Null message.

                                      \n
                                      \n

                                      Cancellation reason codes and possible error messages:

                                      \n
                                        \n
                                      • \n

                                        No Errors:

                                        \n
                                          \n
                                        • \n

                                          Code: NONE \n

                                          \n
                                        • \n
                                        • \n

                                          Message: null \n

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Conditional Check Failed:

                                        \n
                                          \n
                                        • \n

                                          Code: ConditionalCheckFailed \n

                                          \n
                                        • \n
                                        • \n

                                          Message: The conditional request failed.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Item Collection Size Limit Exceeded:

                                        \n
                                          \n
                                        • \n

                                          Code: ItemCollectionSizeLimitExceeded \n

                                          \n
                                        • \n
                                        • \n

                                          Message: Collection size exceeded.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Transaction Conflict:

                                        \n
                                          \n
                                        • \n

                                          Code: TransactionConflict \n

                                          \n
                                        • \n
                                        • \n

                                          Message: Transaction is ongoing for the item.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Provisioned Throughput Exceeded:

                                        \n
                                          \n
                                        • \n

                                          Code: ProvisionedThroughputExceeded \n

                                          \n
                                        • \n
                                        • \n

                                          Messages:

                                          \n
                                            \n
                                          • \n

                                            The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the\n UpdateTable API.

                                            \n \n

                                            This Message is received when provisioned throughput is exceeded is on a provisioned DynamoDB table.

                                            \n
                                            \n
                                          • \n
                                          • \n

                                            The level of configured provisioned throughput for one or more global secondary indexes of the table was exceeded. \n Consider increasing your provisioning level for the under-provisioned global secondary indexes with the UpdateTable API.

                                            \n \n

                                            This message is returned when provisioned throughput is exceeded is on a provisioned GSI.

                                            \n
                                            \n
                                          • \n
                                          \n\n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Throttling Error:

                                        \n
                                          \n
                                        • \n

                                          Code: ThrottlingError \n

                                          \n
                                        • \n
                                        • \n

                                          Messages:

                                          \n
                                            \n
                                          • \n

                                            Throughput exceeds the current capacity of your table or index.\n DynamoDB is automatically scaling your table or index so please try\n again shortly. If exceptions persist, check if you have a hot key:\n https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

                                            \n \n

                                            This message is returned when writes get throttled on an On-Demand table as DynamoDB is automatically scaling the table.

                                            \n
                                            \n
                                          • \n
                                          • \n

                                            Throughput exceeds the current capacity for one or more global secondary indexes. DynamoDB is automatically scaling your index so\n please try again shortly.

                                            \n \n

                                            This message is returned when when writes get throttled on an On-Demand GSI as DynamoDB is automatically scaling the GSI.

                                            \n
                                            \n
                                          • \n
                                          \n\n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Validation Error:

                                        \n
                                          \n
                                        • \n

                                          Code: ValidationError \n

                                          \n
                                        • \n
                                        • \n

                                          Messages:

                                          \n
                                            \n
                                          • \n

                                            One or more parameter values were invalid.

                                            \n
                                          • \n
                                          • \n

                                            The update expression attempted to update the secondary index key beyond allowed size limits.

                                            \n
                                          • \n
                                          • \n

                                            The update expression attempted to update the secondary index key to unsupported type.

                                            \n
                                          • \n
                                          • \n

                                            An operand in the update expression has an incorrect data type.

                                            \n
                                          • \n
                                          • \n

                                            Item size to update has exceeded the maximum allowed size.

                                            \n
                                          • \n
                                          • \n

                                            Number overflow. Attempting to store a number with magnitude larger than supported range.

                                            \n
                                          • \n
                                          • \n

                                            Type mismatch for attribute to update.

                                            \n
                                          • \n
                                          • \n

                                            Nesting Levels have exceeded supported limits.

                                            \n
                                          • \n
                                          • \n

                                            The document path provided in the update expression is invalid for update.

                                            \n
                                          • \n
                                          • \n

                                            The provided expression refers to an attribute that does not exist in the item.

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

                                      The entire transaction request was canceled.

                                      \n

                                      DynamoDB cancels a TransactWriteItems request under the following\n circumstances:

                                      \n
                                        \n
                                      • \n

                                        A condition in one of the condition expressions is not met.

                                        \n
                                      • \n
                                      • \n

                                        A table in the TransactWriteItems request is in a different\n account or region.

                                        \n
                                      • \n
                                      • \n

                                        More than one action in the TransactWriteItems operation\n targets the same item.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction to be\n completed.

                                        \n
                                      • \n
                                      • \n

                                        An item size becomes too large (larger than 400 KB), or a local secondary\n index (LSI) becomes too large, or a similar validation error occurs because of\n changes made by the transaction.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      \n\n

                                      DynamoDB cancels a TransactGetItems request under the\n following circumstances:

                                      \n
                                        \n
                                      • \n

                                        There is an ongoing TransactGetItems operation that conflicts\n with a concurrent PutItem, UpdateItem,\n DeleteItem or TransactWriteItems request. In this\n case the TransactGetItems operation fails with a\n TransactionCanceledException.

                                        \n
                                      • \n
                                      • \n

                                        A table in the TransactGetItems request is in a different\n account or region.

                                        \n
                                      • \n
                                      • \n

                                        There is insufficient provisioned capacity for the transaction to be\n completed.

                                        \n
                                      • \n
                                      • \n

                                        There is a user error, such as an invalid data format.

                                        \n
                                      • \n
                                      \n\n \n

                                      If using Java, DynamoDB lists the cancellation reasons on the\n CancellationReasons property. This property is not set for other\n languages. Transaction cancellation reasons are ordered in the order of requested\n items, if an item has no error it will have NONE code and\n Null message.

                                      \n
                                      \n

                                      Cancellation reason codes and possible error messages:

                                      \n
                                        \n
                                      • \n

                                        No Errors:

                                        \n
                                          \n
                                        • \n

                                          Code: NONE\n

                                          \n
                                        • \n
                                        • \n

                                          Message: null\n

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Conditional Check Failed:

                                        \n
                                          \n
                                        • \n

                                          Code: ConditionalCheckFailed\n

                                          \n
                                        • \n
                                        • \n

                                          Message: The conditional request failed.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Item Collection Size Limit Exceeded:

                                        \n
                                          \n
                                        • \n

                                          Code: ItemCollectionSizeLimitExceeded\n

                                          \n
                                        • \n
                                        • \n

                                          Message: Collection size exceeded.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Transaction Conflict:

                                        \n
                                          \n
                                        • \n

                                          Code: TransactionConflict\n

                                          \n
                                        • \n
                                        • \n

                                          Message: Transaction is ongoing for the item.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Provisioned Throughput Exceeded:

                                        \n
                                          \n
                                        • \n

                                          Code: ProvisionedThroughputExceeded\n

                                          \n
                                        • \n
                                        • \n

                                          Messages:

                                          \n
                                            \n
                                          • \n

                                            The level of configured provisioned throughput for the\n table was exceeded. Consider increasing your provisioning level\n with the UpdateTable API.

                                            \n \n

                                            This Message is received when provisioned throughput is\n exceeded is on a provisioned DynamoDB\n table.

                                            \n
                                            \n
                                          • \n
                                          • \n

                                            The level of configured provisioned throughput for one or\n more global secondary indexes of the table was exceeded.\n Consider increasing your provisioning level for the\n under-provisioned global secondary indexes with the UpdateTable\n API.

                                            \n \n

                                            This message is returned when provisioned throughput is\n exceeded is on a provisioned GSI.

                                            \n
                                            \n
                                          • \n
                                          \n\n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Throttling Error:

                                        \n
                                          \n
                                        • \n

                                          Code: ThrottlingError\n

                                          \n
                                        • \n
                                        • \n

                                          Messages:

                                          \n
                                            \n
                                          • \n

                                            Throughput exceeds the current capacity of your table or\n index. DynamoDB is automatically scaling your table or\n index so please try again shortly. If exceptions persist, check\n if you have a hot key:\n https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.

                                            \n \n

                                            This message is returned when writes get throttled on an\n On-Demand table as DynamoDB is automatically\n scaling the table.

                                            \n
                                            \n
                                          • \n
                                          • \n

                                            Throughput exceeds the current capacity for one or more\n global secondary indexes. DynamoDB is automatically\n scaling your index so please try again shortly.

                                            \n \n

                                            This message is returned when when writes get throttled on\n an On-Demand GSI as DynamoDB is automatically\n scaling the GSI.

                                            \n
                                            \n
                                          • \n
                                          \n\n
                                        • \n
                                        \n
                                      • \n
                                      • \n

                                        Validation Error:

                                        \n
                                          \n
                                        • \n

                                          Code: ValidationError\n

                                          \n
                                        • \n
                                        • \n

                                          Messages:

                                          \n
                                            \n
                                          • \n

                                            One or more parameter values were invalid.

                                            \n
                                          • \n
                                          • \n

                                            The update expression attempted to update the secondary\n index key beyond allowed size limits.

                                            \n
                                          • \n
                                          • \n

                                            The update expression attempted to update the secondary\n index key to unsupported type.

                                            \n
                                          • \n
                                          • \n

                                            An operand in the update expression has an incorrect data\n type.

                                            \n
                                          • \n
                                          • \n

                                            Item size to update has exceeded the maximum allowed\n size.

                                            \n
                                          • \n
                                          • \n

                                            Number overflow. Attempting to store a number with\n magnitude larger than supported range.

                                            \n
                                          • \n
                                          • \n

                                            Type mismatch for attribute to update.

                                            \n
                                          • \n
                                          • \n

                                            Nesting Levels have exceeded supported limits.

                                            \n
                                          • \n
                                          • \n

                                            The document path provided in the update expression is\n invalid for update.

                                            \n
                                          • \n
                                          • \n

                                            The provided expression refers to an attribute that does\n not exist in the item.

                                            \n
                                          • \n
                                          \n\n
                                        • \n
                                        \n
                                      • \n
                                      ", "smithy.api#error": "client" } }, @@ -8351,7 +8351,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Operation was rejected because there is an ongoing transaction for the item.

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

                                      Operation was rejected because there is an ongoing transaction for the\n item.

                                      ", "smithy.api#error": "client" } }, @@ -8393,7 +8393,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Removes the association of tags from an Amazon DynamoDB resource. You can call\n UntagResource up to five times per second, per account.

                                      \n

                                      For an overview on tagging DynamoDB resources, see\n Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Removes the association of tags from an Amazon DynamoDB resource. You can call\n UntagResource up to five times per second, per account.

                                      \n

                                      For an overview on tagging DynamoDB resources, see Tagging for DynamoDB\n in the Amazon DynamoDB Developer Guide.

                                      " } }, "com.amazonaws.dynamodb#UntagResourceInput": { @@ -8421,14 +8421,14 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the item to be updated. Each element consists of\n an attribute name and a value for that attribute.

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

                                      The primary key of the item to be updated. Each element consists of an attribute name\n and a value for that attribute.

                                      ", "smithy.api#required": {} } }, "UpdateExpression": { "target": "com.amazonaws.dynamodb#UpdateExpression", "traits": { - "smithy.api#documentation": "

                                      An expression that defines one or more attributes to be updated,\n the action to be performed on them, and new value(s) for them.

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

                                      An expression that defines one or more attributes to be updated, the action to be\n performed on them, and new value(s) for them.

                                      ", "smithy.api#required": {} } }, @@ -8442,7 +8442,7 @@ "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to\n succeed.

                                      " + "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to\n succeed.

                                      " } }, "ExpressionAttributeNames": { @@ -8460,7 +8460,7 @@ "ReturnValuesOnConditionCheckFailure": { "target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to\n get the item attributes if the Update condition fails.\n For ReturnValuesOnConditionCheckFailure, the valid\n values are: NONE, ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.

                                      " + "smithy.api#documentation": "

                                      Use ReturnValuesOnConditionCheckFailure to get the item attributes if the\n Update condition fails. For\n ReturnValuesOnConditionCheckFailure, the valid values are: NONE,\n ALL_OLD, UPDATED_OLD, ALL_NEW, UPDATED_NEW.

                                      " } } }, @@ -8494,7 +8494,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      \n UpdateContinuousBackups enables or disables point in time recovery for the specified table.\n A successful UpdateContinuousBackups call returns the current ContinuousBackupsDescription.\n Continuous backups are ENABLED on all tables at table creation.\n If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                                      \n

                                      \n Once continuous backups and point in time recovery are enabled, you can restore to any point in time within\n EarliestRestorableDateTime and LatestRestorableDateTime.\n

                                      \n

                                      \n LatestRestorableDateTime is typically 5 minutes before the current time.\n You can restore your table to any point in time during the last 35 days.

                                      " + "smithy.api#documentation": "

                                      \n UpdateContinuousBackups enables or disables point in time recovery for\n the specified table. A successful UpdateContinuousBackups call returns the\n current ContinuousBackupsDescription. Continuous backups are\n ENABLED on all tables at table creation. If point in time recovery is\n enabled, PointInTimeRecoveryStatus will be set to ENABLED.

                                      \n

                                      Once continuous backups and point in time recovery are enabled, you can restore to\n any point in time within EarliestRestorableDateTime and\n LatestRestorableDateTime.

                                      \n

                                      \n LatestRestorableDateTime is typically 5 minutes before the current time.\n You can restore your table to any point in time during the last 35 days.

                                      " } }, "com.amazonaws.dynamodb#UpdateContinuousBackupsInput": { @@ -8522,7 +8522,7 @@ "ContinuousBackupsDescription": { "target": "com.amazonaws.dynamodb#ContinuousBackupsDescription", "traits": { - "smithy.api#documentation": "

                                      Represents the continuous backups and point in time recovery settings on the table.

                                      " + "smithy.api#documentation": "

                                      Represents the continuous backups and point in time recovery settings on the\n table.

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

                                      Updates the status for contributor insights for a specific table or index.

                                      " + "smithy.api#documentation": "

                                      Updates the status for contributor insights for a specific table or index. CloudWatch\n Contributor Insights for DynamoDB graphs display the partition key and (if applicable)\n sort key of frequently accessed items and frequently throttled items in plaintext. If\n you require the use of AWS Key Management Service (KMS) to encrypt this table’s\n partition key and sort key data with an AWS managed key or customer managed key, you\n should not enable CloudWatch Contributor Insights for DynamoDB for this table.

                                      " } }, "com.amazonaws.dynamodb#UpdateContributorInsightsInput": { @@ -8611,13 +8611,13 @@ "ProvisionedThroughput": { "target": "com.amazonaws.dynamodb#ProvisionedThroughput", "traits": { - "smithy.api#documentation": "

                                      Represents the provisioned throughput settings for the specified global secondary index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.

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

                                      Represents the provisioned throughput settings for the specified global secondary\n index.

                                      \n

                                      For current minimum and maximum provisioned throughput values, see Service,\n Account, and Table Quotas in the Amazon DynamoDB Developer\n Guide.

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

                                      Represents the new provisioned throughput settings to be applied to a global secondary index.

                                      " + "smithy.api#documentation": "

                                      Represents the new provisioned throughput settings to be applied to a global secondary\n index.

                                      " } }, "com.amazonaws.dynamodb#UpdateGlobalTable": { @@ -8652,7 +8652,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Adds or removes replicas in the specified global table. The global table must already\n exist to be able to use this operation. Any replica to be added must be empty, have the\n same name as the global table, have the same key schema, have DynamoDB Streams enabled,\n and have the same provisioned and maximum write capacity units.

                                      \n \n

                                      Although you can use UpdateGlobalTable to add replicas and remove replicas in\n a single request, for simplicity we recommend that you issue separate requests for\n adding or removing replicas.

                                      \n
                                      \n \t

                                      \n If global secondary indexes are specified, then the following conditions must also be met:\n

                                      \n
                                        \n
                                      • \n

                                        \n The global secondary indexes must have the same name.\n

                                        \n
                                      • \n
                                      • \n

                                        \n The global secondary indexes must have the same hash key and sort key (if present).\n

                                        \n
                                      • \n
                                      • \n

                                        \n The global secondary indexes must have the same provisioned and maximum write capacity units.\n

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

                                      Adds or removes replicas in the specified global table. The global table must already\n exist to be able to use this operation. Any replica to be added must be empty, have the\n same name as the global table, have the same key schema, have DynamoDB Streams enabled,\n and have the same provisioned and maximum write capacity units.

                                      \n \n

                                      Although you can use UpdateGlobalTable to add replicas and remove\n replicas in a single request, for simplicity we recommend that you issue separate\n requests for adding or removing replicas.

                                      \n
                                      \n

                                      If global secondary indexes are specified, then the following conditions must also be\n met:

                                      \n
                                        \n
                                      • \n

                                        The global secondary indexes must have the same name.

                                        \n
                                      • \n
                                      • \n

                                        The global secondary indexes must have the same hash key and sort key (if\n present).

                                        \n
                                      • \n
                                      • \n

                                        The global secondary indexes must have the same provisioned and maximum write\n capacity units.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.dynamodb#UpdateGlobalTableInput": { @@ -8736,13 +8736,13 @@ "GlobalTableBillingMode": { "target": "com.amazonaws.dynamodb#BillingMode", "traits": { - "smithy.api#documentation": "

                                      The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.\n

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

                                      The billing mode of the global table. If GlobalTableBillingMode is not\n specified, the global table defaults to PROVISIONED capacity billing\n mode.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - We recommend using PROVISIONED for\n predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST\n for unpredictable workloads. PAY_PER_REQUEST sets the billing mode\n to On-Demand Mode.

                                        \n
                                      • \n
                                      " } }, "GlobalTableProvisionedWriteCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.\n

                                      " + "smithy.api#documentation": "

                                      The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.\n

                                      " } }, "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate": { @@ -8754,7 +8754,7 @@ "GlobalTableGlobalSecondaryIndexSettingsUpdate": { "target": "com.amazonaws.dynamodb#GlobalTableGlobalSecondaryIndexSettingsUpdateList", "traits": { - "smithy.api#documentation": "

                                      Represents the settings of a global secondary index for a global table that will be modified.

                                      " + "smithy.api#documentation": "

                                      Represents the settings of a global secondary index for a global table that will be\n modified.

                                      " } }, "ReplicaSettingsUpdate": { @@ -8820,7 +8820,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).

                                      \n

                                      You can also return the item's attribute values in the same UpdateItem\n operation using the ReturnValues parameter.

                                      " + "smithy.api#documentation": "

                                      Edits an existing item's attributes, or adds a new item to the table if it does not\n already exist. You can put, delete, or add attribute values. You can also perform a\n conditional update on an existing item (insert a new attribute name-value pair if it\n doesn't exist, or replace an existing name-value pair if it has certain expected\n attribute values).

                                      \n

                                      You can also return the item's attribute values in the same UpdateItem\n operation using the ReturnValues parameter.

                                      " } }, "com.amazonaws.dynamodb#UpdateItemInput": { @@ -8836,32 +8836,32 @@ "Key": { "target": "com.amazonaws.dynamodb#Key", "traits": { - "smithy.api#documentation": "

                                      The primary key of the item to be updated. Each element consists of an attribute name and a value for that attribute.

                                      \n

                                      For the primary key, you must provide all of the attributes. For example, with a simple primary key, you only need to provide a value for the partition key. For a composite primary key, you must provide values for both the partition key and the sort key.

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

                                      The primary key of the item to be updated. Each element consists of an attribute name\n and a value for that attribute.

                                      \n

                                      For the primary key, you must provide all of the attributes. For example, with a\n simple primary key, you only need to provide a value for the partition key. For a\n composite primary key, you must provide values for both the partition key and the sort\n key.

                                      ", "smithy.api#required": {} } }, "AttributeUpdates": { "target": "com.amazonaws.dynamodb#AttributeUpdates", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use UpdateExpression instead. For more information, see\n AttributeUpdates in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use UpdateExpression instead. For more\n information, see AttributeUpdates in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "Expected": { "target": "com.amazonaws.dynamodb#ExpectedAttributeMap", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see\n Expected in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more\n information, see Expected in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConditionalOperator": { "target": "com.amazonaws.dynamodb#ConditionalOperator", "traits": { - "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more information, see\n ConditionalOperator in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This is a legacy parameter. Use ConditionExpression instead. For more\n information, see ConditionalOperator in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ReturnValues": { "target": "com.amazonaws.dynamodb#ReturnValue", "traits": { - "smithy.api#documentation": "

                                      Use ReturnValues if you want to get the item attributes as they appear\n before or after they are updated. For UpdateItem, the valid values\n are:

                                      \n
                                        \n
                                      • \n

                                        \n NONE - If ReturnValues is not specified, or if its value is\n NONE, then nothing is returned. (This setting is the default for\n ReturnValues.)

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_OLD - Returns all of the attributes of the item, as they appeared before the UpdateItem operation.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATED_OLD - Returns only the updated attributes, as they appeared before the UpdateItem operation.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_NEW - Returns all of the attributes of the item, as they appear after the UpdateItem operation.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATED_NEW - Returns only the updated attributes, as they appear after the UpdateItem operation.

                                        \n
                                      • \n
                                      \n

                                      There is no additional cost associated with requesting a return value aside from the\n small network and processing overhead of receiving a larger response. No read capacity\n units are consumed.

                                      \n

                                      The values returned are strongly consistent.

                                      " + "smithy.api#documentation": "

                                      Use ReturnValues if you want to get the item attributes as they appear\n before or after they are updated. For UpdateItem, the valid values\n are:

                                      \n
                                        \n
                                      • \n

                                        \n NONE - If ReturnValues is not specified, or if its\n value is NONE, then nothing is returned. (This setting is the\n default for ReturnValues.)

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_OLD - Returns all of the attributes of the item, as they\n appeared before the UpdateItem operation.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATED_OLD - Returns only the updated attributes, as they appeared\n before the UpdateItem operation.

                                        \n
                                      • \n
                                      • \n

                                        \n ALL_NEW - Returns all of the attributes of the item, as they appear\n after the UpdateItem operation.

                                        \n
                                      • \n
                                      • \n

                                        \n UPDATED_NEW - Returns only the updated attributes, as they appear\n after the UpdateItem operation.

                                        \n
                                      • \n
                                      \n

                                      There is no additional cost associated with requesting a return value aside from the\n small network and processing overhead of receiving a larger response. No read capacity\n units are consumed.

                                      \n

                                      The values returned are strongly consistent.

                                      " } }, "ReturnConsumedCapacity": { @@ -8870,31 +8870,31 @@ "ReturnItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ReturnItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during\n the operation are returned in the response. If set to NONE (the default), no statistics are returned.

                                      " + "smithy.api#documentation": "

                                      Determines whether item collection metrics are returned. If set to SIZE,\n the response includes statistics about item collections, if any, that were modified\n during the operation are returned in the response. If set to NONE (the\n default), no statistics are returned.

                                      " } }, "UpdateExpression": { "target": "com.amazonaws.dynamodb#UpdateExpression", "traits": { - "smithy.api#documentation": "

                                      An expression that defines one or more attributes to be updated, the action to be\n performed on them, and new values for them.

                                      \n

                                      The following action values are available for UpdateExpression.

                                      \n
                                        \n
                                      • \n

                                        \n SET - Adds one or more attributes and values to an item. If any of\n these attributes already exist, they are replaced by the new values. You can\n also use SET to add or subtract from an attribute that is of type\n Number. For example: SET myNum = myNum + :val\n

                                        \n

                                        \n SET supports the following functions:

                                        \n
                                          \n
                                        • \n

                                          \n if_not_exists (path, operand) - if the item does not contain an attribute at the specified path, then if_not_exists evaluates to operand; otherwise, it evaluates to path. You can use this function to avoid overwriting an attribute that may already be present in the item.

                                          \n
                                        • \n
                                        • \n

                                          \n list_append (operand, operand) - evaluates to a list with a new element added to it. You can append the new element to the start or the end of the list by reversing the order of the operands.

                                          \n
                                        • \n
                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        \n REMOVE - Removes one or more attributes from an item.

                                        \n
                                      • \n
                                      • \n

                                        \n ADD - Adds the specified value to the item, if the attribute does not already exist. If the attribute does exist, then the behavior of\n ADD depends on the data type of the attribute:

                                        \n
                                          \n
                                        • \n

                                          If the existing attribute is a number, and if Value is also a number, then\n Value is mathematically added to the existing attribute. If Value is a\n negative number, then it is subtracted from the existing attribute.

                                          \n \n

                                          If you use ADD to increment or decrement a number value for an item\n that doesn't exist before the update, DynamoDB uses 0 as the initial\n value.

                                          \n

                                          Similarly, if you use ADD for an existing item to increment\n or decrement an attribute value that doesn't exist before the\n update, DynamoDB uses 0 as the initial value. For\n example, suppose that the item you want to update doesn't have an\n attribute named itemcount, but you decide to\n ADD the number 3 to this attribute\n anyway. DynamoDB will create the itemcount attribute,\n set its initial value to 0, and finally add\n 3 to it. The result will be a new\n itemcount attribute in the item, with a value of\n 3.

                                          \n
                                          \n
                                        • \n
                                        • \n

                                          If the existing data type is a set and if Value is also a set, then\n Value is added to the existing set. For example, if the attribute value is the set\n [1,2], and the ADD action specified [3], then\n the final attribute value is [1,2,3]. An error occurs if an ADD\n action is specified for a set attribute and the attribute type specified does not\n match the existing set type.

                                          \n

                                          Both sets must have the same primitive data type. For example, if the existing data\n type is a set of strings, the Value must also be a set of strings.

                                          \n
                                        • \n
                                        \n \n

                                        The ADD action only supports Number and set data types. In addition,\n ADD can only be used on top-level attributes, not nested attributes.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n DELETE - Deletes an element from a set.

                                        \n

                                        If a set of values is specified, then those values are subtracted from the old\n set. For example, if the attribute value was the set [a,b,c] and the\n DELETE action specifies [a,c], then the final attribute value\n is [b]. Specifying an empty set is an error.

                                        \n \n

                                        The DELETE action only supports set data types. In addition,\n DELETE can only be used on top-level attributes, not nested attributes.

                                        \n
                                        \n\n
                                      • \n
                                      \n

                                      You can have many actions in a single expression, such as the following: SET a=:value1,\n b=:value2 DELETE :value3, :value4, :value5\n

                                      \n

                                      For more information on update expressions, see Modifying Items and Attributes in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      An expression that defines one or more attributes to be updated, the action to be\n performed on them, and new values for them.

                                      \n

                                      The following action values are available for UpdateExpression.

                                      \n
                                        \n
                                      • \n

                                        \n SET - Adds one or more attributes and values to an item. If any of\n these attributes already exist, they are replaced by the new values. You can\n also use SET to add or subtract from an attribute that is of type\n Number. For example: SET myNum = myNum + :val\n

                                        \n

                                        \n SET supports the following functions:

                                        \n
                                          \n
                                        • \n

                                          \n if_not_exists (path, operand) - if the item does not\n contain an attribute at the specified path, then\n if_not_exists evaluates to operand; otherwise, it\n evaluates to path. You can use this function to avoid overwriting an\n attribute that may already be present in the item.

                                          \n
                                        • \n
                                        • \n

                                          \n list_append (operand, operand) - evaluates to a list with a\n new element added to it. You can append the new element to the start or\n the end of the list by reversing the order of the operands.

                                          \n
                                        • \n
                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        \n REMOVE - Removes one or more attributes from an item.

                                        \n
                                      • \n
                                      • \n

                                        \n ADD - Adds the specified value to the item, if the attribute does\n not already exist. If the attribute does exist, then the behavior of\n ADD depends on the data type of the attribute:

                                        \n
                                          \n
                                        • \n

                                          If the existing attribute is a number, and if Value is\n also a number, then Value is mathematically added to the\n existing attribute. If Value is a negative number, then it\n is subtracted from the existing attribute.

                                          \n \n

                                          If you use ADD to increment or decrement a number\n value for an item that doesn't exist before the update, DynamoDB\n uses 0 as the initial value.

                                          \n

                                          Similarly, if you use ADD for an existing item to\n increment or decrement an attribute value that doesn't exist before\n the update, DynamoDB uses 0 as the initial value. For\n example, suppose that the item you want to update doesn't have an\n attribute named itemcount, but you decide to\n ADD the number 3 to this attribute\n anyway. DynamoDB will create the itemcount attribute,\n set its initial value to 0, and finally add\n 3 to it. The result will be a new\n itemcount attribute in the item, with a value of\n 3.

                                          \n
                                          \n
                                        • \n
                                        • \n

                                          If the existing data type is a set and if Value is also a\n set, then Value is added to the existing set. For example,\n if the attribute value is the set [1,2], and the\n ADD action specified [3], then the final\n attribute value is [1,2,3]. An error occurs if an\n ADD action is specified for a set attribute and the\n attribute type specified does not match the existing set type.

                                          \n

                                          Both sets must have the same primitive data type. For example, if the\n existing data type is a set of strings, the Value must also\n be a set of strings.

                                          \n
                                        • \n
                                        \n \n

                                        The ADD action only supports Number and set data types. In\n addition, ADD can only be used on top-level attributes, not\n nested attributes.

                                        \n
                                        \n
                                      • \n
                                      • \n

                                        \n DELETE - Deletes an element from a set.

                                        \n

                                        If a set of values is specified, then those values are subtracted from the old\n set. For example, if the attribute value was the set [a,b,c] and\n the DELETE action specifies [a,c], then the final\n attribute value is [b]. Specifying an empty set is an error.

                                        \n \n

                                        The DELETE action only supports set data types. In addition,\n DELETE can only be used on top-level attributes, not nested\n attributes.

                                        \n
                                        \n\n
                                      • \n
                                      \n

                                      You can have many actions in a single expression, such as the following: SET\n a=:value1, b=:value2 DELETE :value3, :value4, :value5\n

                                      \n

                                      For more information on update expressions, see Modifying\n Items and Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to succeed.

                                      \n

                                      An expression can contain any of the following:

                                      \n
                                        \n
                                      • \n

                                        Functions: attribute_exists | attribute_not_exists | attribute_type | contains | begins_with | size\n

                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Comparison operators: = | <> |\n < | > | <= | >= |\n BETWEEN | IN \n

                                        \n
                                      • \n
                                      • \n

                                        Logical operators: AND | OR | NOT\n

                                        \n
                                      • \n
                                      \n

                                      For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      A condition that must be satisfied in order for a conditional update to\n succeed.

                                      \n

                                      An expression can contain any of the following:

                                      \n
                                        \n
                                      • \n

                                        Functions: attribute_exists | attribute_not_exists | attribute_type |\n contains | begins_with | size\n

                                        \n

                                        These function names are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Comparison operators: = | <> |\n < | > | <= | >= |\n BETWEEN | IN \n

                                        \n
                                      • \n
                                      • \n

                                        Logical operators: AND | OR | NOT\n

                                        \n
                                      • \n
                                      \n

                                      For more information about condition expressions, see Specifying Conditions in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used directly\n in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide.) To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are expression attribute values, which are placeholders for the actual value at runtime.

                                      \n
                                      \n

                                      For more information about expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more substitution tokens for attribute names in an expression. The following\n are some use cases for using ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        To access an attribute whose name conflicts with a DynamoDB reserved\n word.

                                        \n
                                      • \n
                                      • \n

                                        To create a placeholder for repeating occurrences of an attribute name in an\n expression.

                                        \n
                                      • \n
                                      • \n

                                        To prevent special characters in an attribute name from being misinterpreted\n in an expression.

                                        \n
                                      • \n
                                      \n

                                      Use the # character in an expression to dereference\n an attribute name. For example, consider the following attribute name:

                                      \n
                                        \n
                                      • \n

                                        \n Percentile\n

                                        \n
                                      • \n
                                      \n

                                      The name of this attribute conflicts with a reserved word, so it cannot be used\n directly in an expression. (For the complete list of reserved words, see Reserved Words in the Amazon DynamoDB Developer\n Guide.) To work around this, you could specify the following for\n ExpressionAttributeNames:

                                      \n
                                        \n
                                      • \n

                                        \n {\"#P\":\"Percentile\"}\n

                                        \n
                                      • \n
                                      \n

                                      You could then use this substitution in an expression, as in this example:

                                      \n
                                        \n
                                      • \n

                                        \n #P = :val\n

                                        \n
                                      • \n
                                      \n \n

                                      Tokens that begin with the : character are\n expression attribute values, which are placeholders for the\n actual value at runtime.

                                      \n
                                      \n

                                      For more information about expression attribute names, see Specifying Item Attributes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ExpressionAttributeValues": { "target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap", "traits": { - "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"}, \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " + "smithy.api#documentation": "

                                      One or more values that can be substituted in an expression.

                                      \n

                                      Use the : (colon) character in an expression to\n dereference an attribute value. For example, suppose that you wanted to check whether\n the value of the ProductStatus attribute was one of the following:

                                      \n

                                      \n Available | Backordered | Discontinued\n

                                      \n

                                      You would first need to specify ExpressionAttributeValues as\n follows:

                                      \n

                                      \n { \":avail\":{\"S\":\"Available\"}, \":back\":{\"S\":\"Backordered\"},\n \":disc\":{\"S\":\"Discontinued\"} }\n

                                      \n

                                      You could then use these values in an expression, such as this:

                                      \n

                                      \n ProductStatus IN (:avail, :back, :disc)\n

                                      \n

                                      For more information on expression attribute values, see Condition Expressions in the Amazon DynamoDB Developer\n Guide.

                                      " } } }, @@ -8914,13 +8914,13 @@ "ConsumedCapacity": { "target": "com.amazonaws.dynamodb#ConsumedCapacity", "traits": { - "smithy.api#documentation": "

                                      The capacity units consumed by the UpdateItem operation. The data returned includes the total\n provisioned throughput consumed, along with statistics for the table and any indexes involved\n in the operation. ConsumedCapacity is only returned if the ReturnConsumedCapacity parameter was specified.\n For more information, see Provisioned\n Throughput in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The capacity units consumed by the UpdateItem operation. The data\n returned includes the total provisioned throughput consumed, along with statistics for\n the table and any indexes involved in the operation. ConsumedCapacity is\n only returned if the ReturnConsumedCapacity parameter was specified. For\n more information, see Provisioned Throughput in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "ItemCollectionMetrics": { "target": "com.amazonaws.dynamodb#ItemCollectionMetrics", "traits": { - "smithy.api#documentation": "

                                      Information about item collections, if any, that were affected by the\n UpdateItem operation.\n ItemCollectionMetrics is only returned if the ReturnItemCollectionMetrics parameter was specified. If the table\n does not have any local secondary indexes, this information is not\n returned in the response.

                                      \n

                                      Each ItemCollectionMetrics\n element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item\n collection. This is the same as the partition key value of the item itself.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size,\n in gigabytes. This value is a two-element array\n containing a lower bound and an upper bound for the\n estimate. The estimate includes the size of all the\n items in the table, plus the size of all attributes\n projected into all of the local secondary indexes on that\n table. Use this estimate to measure whether a local secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the precision or accuracy of the estimate.

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

                                      Information about item collections, if any, that were affected by the\n UpdateItem operation. ItemCollectionMetrics is only\n returned if the ReturnItemCollectionMetrics parameter was specified. If the\n table does not have any local secondary indexes, this information is not returned in the\n response.

                                      \n

                                      Each ItemCollectionMetrics element consists of:

                                      \n
                                        \n
                                      • \n

                                        \n ItemCollectionKey - The partition key value of the item collection.\n This is the same as the partition key value of the item itself.

                                        \n
                                      • \n
                                      • \n

                                        \n SizeEstimateRangeGB - An estimate of item collection size, in\n gigabytes. This value is a two-element array containing a lower bound and an\n upper bound for the estimate. The estimate includes the size of all the items in\n the table, plus the size of all attributes projected into all of the local\n secondary indexes on that table. Use this estimate to measure whether a local\n secondary index is approaching its size limit.

                                        \n

                                        The estimate is subject to change over time; therefore, do not rely on the\n precision or accuracy of the estimate.

                                        \n
                                      • \n
                                      " } } }, @@ -8941,13 +8941,13 @@ "KMSMasterKeyId": { "target": "com.amazonaws.dynamodb#KMSMasterKeyId", "traits": { - "smithy.api#documentation": "

                                      The AWS KMS customer master key (CMK) of the replica that should be used for AWS KMS encryption.\n To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias\n ARN. Note that you should only provide this parameter if the key is different from\n the default DynamoDB KMS master key alias/aws/dynamodb.

                                      " + "smithy.api#documentation": "

                                      The KMS key of the replica that should be used\n for KMS encryption. To specify a key, use its key ID, Amazon Resource\n Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter\n if the key is different from the default DynamoDB KMS key\n alias/aws/dynamodb.

                                      " } }, "ProvisionedThroughputOverride": { "target": "com.amazonaws.dynamodb#ProvisionedThroughputOverride", "traits": { - "smithy.api#documentation": "

                                      Replica-specific provisioned throughput. If not specified, uses the source table's\n provisioned throughput settings.

                                      " + "smithy.api#documentation": "

                                      Replica-specific provisioned throughput. If not specified, uses the source table's\n provisioned throughput settings.

                                      " } }, "GlobalSecondaryIndexes": { @@ -8990,7 +8990,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.

                                      \n

                                      You can only perform one of the following operations at once:

                                      \n
                                        \n
                                      • \n

                                        Modify the provisioned throughput settings of the table.

                                        \n
                                      • \n
                                      • \n

                                        Enable or disable DynamoDB Streams on the table.

                                        \n
                                      • \n
                                      • \n

                                        Remove a global secondary index from the table.

                                        \n
                                      • \n
                                      • \n

                                        Create a new global secondary index on the table. After the index begins\n backfilling, you can use UpdateTable to perform other\n operations.

                                        \n
                                      • \n
                                      \n

                                      \n UpdateTable is an asynchronous operation; while it is executing, the table status\n changes from ACTIVE to UPDATING. While it is UPDATING,\n you cannot issue another UpdateTable request. When the table returns to the\n ACTIVE state, the UpdateTable operation is complete.

                                      " + "smithy.api#documentation": "

                                      Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB\n Streams settings for a given table.

                                      \n

                                      You can only perform one of the following operations at once:

                                      \n
                                        \n
                                      • \n

                                        Modify the provisioned throughput settings of the table.

                                        \n
                                      • \n
                                      • \n

                                        Enable or disable DynamoDB Streams on the table.

                                        \n
                                      • \n
                                      • \n

                                        Remove a global secondary index from the table.

                                        \n
                                      • \n
                                      • \n

                                        Create a new global secondary index on the table. After the index begins\n backfilling, you can use UpdateTable to perform other\n operations.

                                        \n
                                      • \n
                                      \n

                                      \n UpdateTable is an asynchronous operation; while it is executing, the table\n status changes from ACTIVE to UPDATING. While it is\n UPDATING, you cannot issue another UpdateTable request.\n When the table returns to the ACTIVE state, the UpdateTable\n operation is complete.

                                      " } }, "com.amazonaws.dynamodb#UpdateTableInput": { @@ -8999,7 +8999,7 @@ "AttributeDefinitions": { "target": "com.amazonaws.dynamodb#AttributeDefinitions", "traits": { - "smithy.api#documentation": "

                                      An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, AttributeDefinitions must include the key element(s) of the new index.

                                      " + "smithy.api#documentation": "

                                      An array of attributes that describe the key schema for the table and indexes. If you\n are adding a new global secondary index to the table, AttributeDefinitions\n must include the key element(s) of the new index.

                                      " } }, "TableName": { @@ -9012,7 +9012,7 @@ "BillingMode": { "target": "com.amazonaws.dynamodb#BillingMode", "traits": { - "smithy.api#documentation": "

                                      Controls how you are charged for read and write throughput and how you manage capacity. \n When switching from pay-per-request to provisioned capacity, initial provisioned capacity values must be set. The initial\n provisioned capacity values are estimated based on the consumed read and write capacity of your table and global secondary indexes \n over the past 30 minutes.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.\n

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

                                      Controls how you are charged for read and write throughput and how you manage\n capacity. When switching from pay-per-request to provisioned capacity, initial\n provisioned capacity values must be set. The initial provisioned capacity values are\n estimated based on the consumed read and write capacity of your table and global\n secondary indexes over the past 30 minutes.

                                      \n
                                        \n
                                      • \n

                                        \n PROVISIONED - We recommend using PROVISIONED for\n predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

                                        \n
                                      • \n
                                      • \n

                                        \n PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST\n for unpredictable workloads. PAY_PER_REQUEST sets the billing mode\n to On-Demand Mode.

                                        \n
                                      • \n
                                      " } }, "ProvisionedThroughput": { @@ -9024,13 +9024,13 @@ "GlobalSecondaryIndexUpdates": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexUpdateList", "traits": { - "smithy.api#documentation": "

                                      An array of one or more global secondary indexes for the table. For each index in the array, you can request one action:

                                      \n
                                        \n
                                      • \n

                                        \n Create - add a new global secondary index to the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Update - modify the provisioned throughput settings of an existing global secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n Delete - remove a global secondary index from the table.

                                        \n
                                      • \n
                                      \n

                                      You can create or delete only one global secondary index per UpdateTable operation.

                                      \n

                                      For more information, see Managing Global Secondary\n Indexes in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      An array of one or more global secondary indexes for the table. For each index in the\n array, you can request one action:

                                      \n
                                        \n
                                      • \n

                                        \n Create - add a new global secondary index to the table.

                                        \n
                                      • \n
                                      • \n

                                        \n Update - modify the provisioned throughput settings of an existing\n global secondary index.

                                        \n
                                      • \n
                                      • \n

                                        \n Delete - remove a global secondary index from the table.

                                        \n
                                      • \n
                                      \n

                                      You can create or delete only one global secondary index per UpdateTable\n operation.

                                      \n

                                      For more information, see Managing Global\n Secondary Indexes in the Amazon DynamoDB Developer\n Guide.

                                      " } }, "StreamSpecification": { "target": "com.amazonaws.dynamodb#StreamSpecification", "traits": { - "smithy.api#documentation": "

                                      Represents the DynamoDB Streams configuration for the table.

                                      \n \n

                                      You receive a ResourceInUseException if you try to enable a stream on a\n table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.

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

                                      Represents the DynamoDB Streams configuration for the table.

                                      \n \n

                                      You receive a ResourceInUseException if you try to enable a stream on\n a table that already has a stream, or if you try to disable a stream on a table that\n doesn't have a stream.

                                      \n
                                      " } }, "SSESpecification": { @@ -9042,7 +9042,7 @@ "ReplicaUpdates": { "target": "com.amazonaws.dynamodb#ReplicationGroupUpdateList", "traits": { - "smithy.api#documentation": "

                                      A list of replica update actions (create, delete, or update) for the table.

                                      \n \n

                                      This property only applies to Version 2019.11.21 of global tables.

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

                                      A list of replica update actions (create, delete, or update) for the table.

                                      \n \n

                                      This property only applies to Version\n 2019.11.21 of global tables.

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

                                      Updates auto scaling settings on your global tables at once.

                                      \n \n

                                      This operation only applies to Version 2019.11.21 of global tables.

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

                                      Updates auto scaling settings on your global tables at once.

                                      \n \n

                                      This operation only applies to Version\n 2019.11.21 of global tables.

                                      \n
                                      " } }, "com.amazonaws.dynamodb#UpdateTableReplicaAutoScalingInput": { @@ -9096,7 +9096,7 @@ "GlobalSecondaryIndexUpdates": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexAutoScalingUpdateList", "traits": { - "smithy.api#documentation": "

                                      Represents the auto scaling settings of the global secondary indexes of the replica\n to be updated.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings of the global secondary indexes of the replica to\n be updated.

                                      " } }, "TableName": { @@ -9112,7 +9112,7 @@ "ReplicaUpdates": { "target": "com.amazonaws.dynamodb#ReplicaAutoScalingUpdateList", "traits": { - "smithy.api#documentation": "

                                      Represents the auto scaling settings of replicas of the table that will be\n modified.

                                      " + "smithy.api#documentation": "

                                      Represents the auto scaling settings of replicas of the table that will be\n modified.

                                      " } } } @@ -9157,7 +9157,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

                                      The UpdateTimeToLive method enables or disables Time to Live (TTL) for the\n specified table. A successful UpdateTimeToLive call returns the current\n TimeToLiveSpecification. It can take up to one hour for the change to\n fully process. Any additional UpdateTimeToLive calls for the same table\n during this one hour duration result in a ValidationException.

                                      \n

                                      TTL compares the current time in epoch time format to the time stored in the TTL\n attribute of an item. If the epoch time value stored in the attribute is less than the\n current time, the item is marked as expired and subsequently deleted.

                                      \n \n

                                      The epoch time format is the number of seconds elapsed since 12:00:00 AM January 1,\n 1970 UTC.

                                      \n
                                      \n

                                      DynamoDB deletes expired items on a best-effort basis to ensure availability of\n throughput for other data operations.\n

                                      \n \n

                                      DynamoDB typically deletes expired items within two days of expiration. The exact duration\n within which an item gets deleted after expiration is specific to the\n nature of the workload. Items that have expired and not been deleted will still show up in reads,\n queries, and scans.

                                      \n
                                      \n

                                      As items are deleted, they are removed from any local secondary index and global\n secondary index immediately in the same eventually consistent way as a standard delete\n operation.

                                      \n

                                      For more information, see Time To Live in the Amazon DynamoDB Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The UpdateTimeToLive method enables or disables Time to Live (TTL) for\n the specified table. A successful UpdateTimeToLive call returns the current\n TimeToLiveSpecification. It can take up to one hour for the change to\n fully process. Any additional UpdateTimeToLive calls for the same table\n during this one hour duration result in a ValidationException.

                                      \n

                                      TTL compares the current time in epoch time format to the time stored in the TTL\n attribute of an item. If the epoch time value stored in the attribute is less than the\n current time, the item is marked as expired and subsequently deleted.

                                      \n \n

                                      The epoch time format is the number of seconds elapsed since 12:00:00 AM January\n 1, 1970 UTC.

                                      \n
                                      \n

                                      DynamoDB deletes expired items on a best-effort basis to ensure availability of\n throughput for other data operations.

                                      \n \n

                                      DynamoDB typically deletes expired items within two days of expiration. The exact\n duration within which an item gets deleted after expiration is specific to the\n nature of the workload. Items that have expired and not been deleted will still show\n up in reads, queries, and scans.

                                      \n
                                      \n

                                      As items are deleted, they are removed from any local secondary index and global\n secondary index immediately in the same eventually consistent way as a standard delete\n operation.

                                      \n

                                      For more information, see Time To Live in the\n Amazon DynamoDB Developer Guide.

                                      " } }, "com.amazonaws.dynamodb#UpdateTimeToLiveInput": { @@ -9173,7 +9173,7 @@ "TimeToLiveSpecification": { "target": "com.amazonaws.dynamodb#TimeToLiveSpecification", "traits": { - "smithy.api#documentation": "

                                      Represents the settings used to enable or disable Time to Live for the specified table.

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

                                      Represents the settings used to enable or disable Time to Live for the specified\n table.

                                      ", "smithy.api#required": {} } } @@ -9210,7 +9210,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Represents an operation to perform - either DeleteItem or\n PutItem. You can only request one of these operations, not both, in a\n single WriteRequest. If you do need to perform both of these operations, you\n need to provide two separate WriteRequest objects.

                                      " + "smithy.api#documentation": "

                                      Represents an operation to perform - either DeleteItem or\n PutItem. You can only request one of these operations, not both, in a\n single WriteRequest. If you do need to perform both of these operations,\n you need to provide two separate WriteRequest objects.

                                      " } }, "com.amazonaws.dynamodb#WriteRequests": { diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 4223ae7ddcea1..f28327bc1008f 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -9256,6 +9256,9 @@ } } }, + "com.amazonaws.ec2#CoreNetworkArn": { + "type": "string" + }, "com.amazonaws.ec2#CpuManufacturer": { "type": "string", "traits": { @@ -12227,6 +12230,9 @@ "smithy.api#documentation": "

                                      The ID of a VPC peering connection.

                                      ", "smithy.api#xmlName": "vpcPeeringConnectionId" } + }, + "CoreNetworkArn": { + "target": "com.amazonaws.ec2#CoreNetworkArn" } } }, @@ -34354,6 +34360,29 @@ } } }, + "com.amazonaws.ec2#GatewayAssociationState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "associated", + "name": "associated" + }, + { + "value": "not-associated", + "name": "not_associated" + }, + { + "value": "associating", + "name": "associating" + }, + { + "value": "disassociating", + "name": "disassociating" + } + ] + } + }, "com.amazonaws.ec2#GatewayType": { "type": "string", "traits": { @@ -54888,7 +54917,7 @@ "MultiRegion": { "target": "com.amazonaws.ec2#Boolean", "traits": { - "smithy.api#documentation": "Reserved." + "smithy.api#documentation": "

                                      Reserved.

                                      " } } } @@ -56799,6 +56828,9 @@ "smithy.api#documentation": "

                                      The ID of a VPC peering connection.

                                      ", "smithy.api#xmlName": "vpcPeeringConnectionId" } + }, + "CoreNetworkArn": { + "target": "com.amazonaws.ec2#CoreNetworkArn" } } }, @@ -59954,6 +59986,13 @@ "smithy.api#documentation": "

                                      The ID of a VPC peering connection.

                                      ", "smithy.api#xmlName": "vpcPeeringConnectionId" } + }, + "CoreNetworkArn": { + "target": "com.amazonaws.ec2#CoreNetworkArn", + "traits": { + "aws.protocols#ec2QueryName": "CoreNetworkArn", + "smithy.api#xmlName": "coreNetworkArn" + } } }, "traits": { @@ -71733,7 +71772,7 @@ } }, "GatewayAssociationState": { - "target": "com.amazonaws.ec2#String", + "target": "com.amazonaws.ec2#GatewayAssociationState", "traits": { "aws.protocols#ec2QueryName": "GatewayAssociationState", "smithy.api#documentation": "

                                      The current state of the gateway association.

                                      ", diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index e756a51bfb276..954d4ae379fda 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -37,7 +37,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      You do not have authorization to perform the requested action.

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

                                      You don't have authorization to perform the requested action.

                                      ", "smithy.api#error": "client" } }, @@ -86,7 +86,7 @@ "name": "ecs" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Elastic Container Service\n\t\t

                                      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes\n\t\t\tit easy to run, stop, and manage Docker containers on a cluster. You can host your\n\t\t\tcluster on a serverless infrastructure that is managed by Amazon ECS by launching your\n\t\t\tservices or tasks on Fargate. For more control, you can host your tasks on a cluster\n\t\t\tof Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.

                                      \n\t\t

                                      Amazon ECS makes it easy to launch and stop container-based applications with simple API\n\t\t\tcalls, allows you to get the state of your cluster from a centralized service, and gives\n\t\t\tyou access to many familiar Amazon EC2 features.

                                      \n\t\t

                                      You can use Amazon ECS to schedule the placement of containers across your cluster based on\n\t\t\tyour resource needs, isolation policies, and availability requirements. Amazon ECS eliminates\n\t\t\tthe need for you to operate your own cluster management and configuration management\n\t\t\tsystems or worry about scaling your management infrastructure.

                                      ", + "smithy.api#documentation": "Amazon Elastic Container Service\n\t\t

                                      Amazon Elastic Container Service (Amazon ECS) is a highly scalable, fast, container management service. It makes\n\t\t\tit easy to run, stop, and manage Docker containers on a cluster. You can host your\n\t\t\tcluster on a serverless infrastructure that's managed by Amazon ECS by launching your\n\t\t\tservices or tasks on Fargate. For more control, you can host your tasks on a cluster\n\t\t\tof Amazon Elastic Compute Cloud (Amazon EC2) instances that you manage.

                                      \n\t\t

                                      Amazon ECS makes it easy to launch and stop container-based applications with simple API\n\t\t\tcalls. This makes it easy to get the state of your cluster from a centralized service,\n\t\t\tand gives you access to many familiar Amazon EC2 features.

                                      \n\t\t

                                      You can use Amazon ECS to schedule the placement of containers across your cluster based on\n\t\t\tyour resource needs, isolation policies, and availability requirements. With Amazon ECS, you\n\t\t\tdon't need to operate your own cluster management and configuration management systems.\n\t\t\tYou also don't need to worry about scaling your management infrastructure.

                                      ", "smithy.api#title": "Amazon EC2 Container Service", "smithy.api#xmlNamespace": { "uri": "http://ecs.amazonaws.com/doc/2014-11-13/" @@ -345,20 +345,20 @@ "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of the attribute. The name must contain between 1 and 128\n\t\t\tcharacters and name may contain letters (uppercase and lowercase), numbers, hyphens,\n\t\t\tunderscores, forward slashes, back slashes, or periods.

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

                                      The name of the attribute. The name must contain between 1 and 128\n\t\t\tcharacters. The name may contain letters (uppercase and lowercase), numbers, hyphens\n\t\t\t(-), underscores (_), forward slashes (/), back slashes (\\), or periods (.).

                                      ", "smithy.api#required": {} } }, "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The value of the attribute. The value must contain between 1 and 128\n\t\t\tcharacters and may contain letters (uppercase and lowercase), numbers, hyphens,\n\t\t\tunderscores, periods, at signs (@), forward slashes, back slashes, colons, or spaces.\n\t\t\tThe value cannot contain any leading or trailing whitespace.

                                      " + "smithy.api#documentation": "

                                      The value of the attribute. The value must contain between 1 and 128\n\t\t\tcharacters. It can contain letters (uppercase and lowercase), numbers, hyphens (-),\n\t\t\tunderscores (_), periods (.), at signs (@), forward slashes (/), back slashes (\\),\n\t\t\tcolons (:), or spaces. The value can't can't start or end with a space.

                                      " } }, "targetType": { "target": "com.amazonaws.ecs#TargetType", "traits": { - "smithy.api#documentation": "

                                      The type of the target with which to attach the attribute. This parameter is required\n\t\t\tif you use the short form ID for a resource instead of the full ARN.

                                      " + "smithy.api#documentation": "

                                      The type of the target to attach the attribute with. This parameter is required if you\n\t\t\tuse the short form ID for a resource instead of the full ARN.

                                      " } }, "targetId": { @@ -369,7 +369,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      An attribute is a name-value pair associated with an Amazon ECS object. Attributes enable\n\t\t\tyou to extend the Amazon ECS data model by adding custom metadata to your resources. For more\n\t\t\tinformation, see Attributes in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      An attribute is a name-value pair that's associated with an Amazon ECS object. Attributes\n\t\t\tenable you to extend the Amazon ECS data model by adding custom metadata to your resources.\n\t\t\tFor more information, see Attributes in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#AttributeLimitExceededException": { @@ -380,7 +380,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      You can apply up to 10 custom attributes per resource. You can view the attributes of\n\t\t\ta resource with ListAttributes. You can remove existing attributes on\n\t\t\ta resource with DeleteAttributes.

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

                                      You can apply up to 10 custom attributes for each resource. You can view the\n\t\t\tattributes of a resource with ListAttributes. You can remove existing\n\t\t\tattributes on a resource with DeleteAttributes.

                                      ", "smithy.api#error": "client" } }, @@ -409,7 +409,7 @@ "managedTerminationProtection": { "target": "com.amazonaws.ecs#ManagedTerminationProtection", "traits": { - "smithy.api#documentation": "

                                      The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection.

                                      \n\t\t \n\t\t\t

                                      When using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection will not work.

                                      \n\t\t
                                      \n\t\t

                                      When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

                                      \n\t\t

                                      When managed termination protection is disabled, your Amazon EC2 instances are not\n\t\t\tprotected from termination when the Auto Scaling group scales in.

                                      " + "smithy.api#documentation": "

                                      The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection.

                                      \n\t\t \n\t\t\t

                                      When using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection doesn't work.

                                      \n\t\t
                                      \n\t\t

                                      When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

                                      \n\t\t

                                      When managed termination protection is disabled, your Amazon EC2 instances aren't protected\n\t\t\tfrom termination when the Auto Scaling group scales in.

                                      " } } }, @@ -429,7 +429,7 @@ "managedTerminationProtection": { "target": "com.amazonaws.ecs#ManagedTerminationProtection", "traits": { - "smithy.api#documentation": "

                                      The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection.

                                      \n\t\t \n\t\t\t

                                      When using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection will not work.

                                      \n\t\t
                                      \n\t\t

                                      When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

                                      \n\t\t

                                      When managed termination protection is disabled, your Amazon EC2 instances are not\n\t\t\tprotected from termination when the Auto Scaling group scales in.

                                      " + "smithy.api#documentation": "

                                      The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection.

                                      \n\t\t \n\t\t\t

                                      When using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection doesn't work.

                                      \n\t\t
                                      \n\t\t

                                      When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled. For more information, see Instance Protection in the Auto Scaling User Guide.

                                      \n\t\t

                                      When managed termination protection is disabled, your Amazon EC2 instances aren't protected\n\t\t\tfrom termination when the Auto Scaling group scales in.

                                      " } } }, @@ -443,14 +443,14 @@ "subnets": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The IDs of the subnets associated with the task or service. There is a limit of 16\n\t\t\tsubnets that can be specified per AwsVpcConfiguration.

                                      \n\t\t\n\t\t \n\t\t\t

                                      All specified subnets must be from the same VPC.

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

                                      The IDs of the subnets associated with the task or service. There's a limit of 16\n\t\t\tsubnets that can be specified per AwsVpcConfiguration.

                                      \n\t\t\n\t\t \n\t\t\t

                                      All specified subnets must be from the same VPC.

                                      \n\t\t
                                      ", "smithy.api#required": {} } }, "securityGroups": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The IDs of the security groups associated with the task or service. If you do not\n\t\t\tspecify a security group, the default security group for the VPC is used. There is a\n\t\t\tlimit of 5 security groups that can be specified per\n\t\t\tAwsVpcConfiguration.

                                      \n\t\t\n\t\t \n\t\t\t

                                      All specified security groups must be from the same VPC.

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

                                      The IDs of the security groups associated with the task or service. If you don't\n\t\t\tspecify a security group, the default security group for the VPC is used. There's a\n\t\t\tlimit of 5 security groups that can be specified per\n\t\t\tAwsVpcConfiguration.

                                      \n\t\t\n\t\t \n\t\t\t

                                      All specified security groups must be from the same VPC.

                                      \n\t\t
                                      " } }, "assignPublicIp": { @@ -472,7 +472,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Your Amazon Web Services account has been blocked. For more information, contact \n\t\t\t\tAmazon Web Services Support.

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

                                      Your Amazon Web Services account was blocked. For more information, contact \n\t\t\t\tAmazon Web Services Support.

                                      ", "smithy.api#error": "client" } }, @@ -524,7 +524,7 @@ "status": { "target": "com.amazonaws.ecs#CapacityProviderStatus", "traits": { - "smithy.api#documentation": "

                                      The current status of the capacity provider. Only capacity providers in an\n\t\t\t\tACTIVE state can be used in a cluster. When a capacity provider is\n\t\t\tsuccessfully deleted, it will have an INACTIVE status.

                                      " + "smithy.api#documentation": "

                                      The current status of the capacity provider. Only capacity providers in an\n\t\t\t\tACTIVE state can be used in a cluster. When a capacity provider is\n\t\t\tsuccessfully deleted, it has an INACTIVE status.

                                      " } }, "autoScalingGroupProvider": { @@ -536,7 +536,7 @@ "updateStatus": { "target": "com.amazonaws.ecs#CapacityProviderUpdateStatus", "traits": { - "smithy.api#documentation": "

                                      The update status of the capacity provider. The following are the possible states that\n\t\t\twill be returned.

                                      \n\t\t
                                      \n
                                      DELETE_IN_PROGRESS
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider is in the process of being deleted.

                                      \n\t\t\t\t
                                      \n
                                      DELETE_COMPLETE
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider has been successfully deleted and will have an\n\t\t\t\t\t\t\tINACTIVE status.

                                      \n\t\t\t\t
                                      \n
                                      DELETE_FAILED
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider was unable to be deleted. The update status reason\n\t\t\t\t\t\twill provide further details about why the delete failed.

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

                                      The update status of the capacity provider. The following are the possible states that\n\t\t\tis returned.

                                      \n\t\t
                                      \n
                                      DELETE_IN_PROGRESS
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider is in the process of being deleted.

                                      \n\t\t\t\t
                                      \n
                                      DELETE_COMPLETE
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider was successfully deleted and has an\n\t\t\t\t\t\t\tINACTIVE status.

                                      \n\t\t\t\t
                                      \n
                                      DELETE_FAILED
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider can't be deleted. The update status reason provides\n\t\t\t\t\t\tfurther details about why the delete failed.

                                      \n\t\t\t\t
                                      \n
                                      " } }, "updateStatusReason": { @@ -548,12 +548,12 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the capacity provider to help you categorize and\n\t\t\torganize it. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the capacity provider to help you categorize and\n\t\t\torganize it. Each tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The details of a capacity provider.

                                      " + "smithy.api#documentation": "

                                      The details for a capacity provider.

                                      " } }, "com.amazonaws.ecs#CapacityProviderField": { @@ -607,7 +607,7 @@ "weight": { "target": "com.amazonaws.ecs#CapacityProviderStrategyItemWeight", "traits": { - "smithy.api#documentation": "

                                      The weight value designates the relative percentage of the total\n\t\t\tnumber of tasks launched that should use the specified capacity provider. The\n\t\t\t\tweight value is taken into consideration after the base\n\t\t\tvalue, if defined, is satisfied.

                                      \n\t\t

                                      If no weight value is specified, the default value of 0 is\n\t\t\tused. When multiple capacity providers are specified within a capacity provider\n\t\t\tstrategy, at least one of the capacity providers must have a weight value greater than\n\t\t\tzero and any capacity providers with a weight of 0 will not be used to\n\t\t\tplace tasks. If you specify multiple capacity providers in a strategy that all have a\n\t\t\tweight of 0, any RunTask or CreateService actions\n\t\t\tusing the capacity provider strategy will fail.

                                      \n\t\t

                                      An example scenario for using weights is defining a strategy that contains two\n\t\t\tcapacity providers and both have a weight of 1, then when the\n\t\t\t\tbase is satisfied, the tasks will be split evenly across the two\n\t\t\tcapacity providers. Using that same logic, if you specify a weight of 1 for\n\t\t\t\tcapacityProviderA and a weight of 4 for\n\t\t\t\tcapacityProviderB, then for every one task that is run using\n\t\t\t\tcapacityProviderA, four tasks would use\n\t\t\t\tcapacityProviderB.

                                      " + "smithy.api#documentation": "

                                      The weight value designates the relative percentage of the total\n\t\t\tnumber of tasks launched that should use the specified capacity provider. The\n\t\t\t\tweight value is taken into consideration after the base\n\t\t\tvalue, if defined, is satisfied.

                                      \n\t\t

                                      If no weight value is specified, the default value of 0 is\n\t\t\tused. When multiple capacity providers are specified within a capacity provider\n\t\t\tstrategy, at least one of the capacity providers must have a weight value greater than\n\t\t\tzero and any capacity providers with a weight of 0 can't be used to place\n\t\t\ttasks. If you specify multiple capacity providers in a strategy that all have a weight\n\t\t\tof 0, any RunTask or CreateService actions using\n\t\t\tthe capacity provider strategy will fail.

                                      \n\t\t

                                      An example scenario for using weights is defining a strategy that contains two\n\t\t\tcapacity providers and both have a weight of 1, then when the\n\t\t\t\tbase is satisfied, the tasks will be split evenly across the two\n\t\t\tcapacity providers. Using that same logic, if you specify a weight of 1 for\n\t\t\t\tcapacityProviderA and a weight of 4 for\n\t\t\t\tcapacityProviderB, then for every one task that's run using\n\t\t\t\tcapacityProviderA, four tasks would use\n\t\t\t\tcapacityProviderB.

                                      " } }, "base": { @@ -618,7 +618,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The details of a capacity provider strategy. A capacity provider strategy can be set\n\t\t\twhen using the RunTask or CreateCluster APIs or as\n\t\t\tthe default capacity provider strategy for a cluster with the CreateCluster API.

                                      \n\t\t

                                      Only capacity providers that are already associated with a cluster and have an\n\t\t\t\tACTIVE or UPDATING status can be used in a capacity\n\t\t\tprovider strategy. The PutClusterCapacityProviders API is used to\n\t\t\tassociate a capacity provider with a cluster.

                                      \n\t\t

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New Auto Scaling group capacity providers can be\n\t\t\tcreated with the CreateCapacityProvider API operation.

                                      \n\t\t

                                      To use a Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be used in a\n\t\t\tcapacity provider strategy.

                                      \n

                                      A capacity provider strategy may contain a maximum of 6 capacity providers.

                                      " + "smithy.api#documentation": "

                                      The details of a capacity provider strategy. A capacity provider strategy can be set\n\t\t\twhen using the RunTask or CreateCluster APIs or as\n\t\t\tthe default capacity provider strategy for a cluster with the CreateCluster API.

                                      \n\t\t

                                      Only capacity providers that are already associated with a cluster and have an\n\t\t\t\tACTIVE or UPDATING status can be used in a capacity\n\t\t\tprovider strategy. The PutClusterCapacityProviders API is used to\n\t\t\tassociate a capacity provider with a cluster.

                                      \n\t\t

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New Auto Scaling group capacity providers can be\n\t\t\tcreated with the CreateCapacityProvider API operation.

                                      \n\t\t

                                      To use a Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be used in a\n\t\t\tcapacity provider strategy.

                                      \n\t\t

                                      A capacity provider strategy may contain a maximum of 6 capacity providers.

                                      " } }, "com.amazonaws.ecs#CapacityProviderStrategyItemBase": { @@ -684,7 +684,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      These errors are usually caused by a client action, such as using an action or\n\t\t\tresource on behalf of a user that doesn't have permissions to use the action or\n\t\t\tresource, or specifying an identifier that is not valid.

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

                                      These errors are usually caused by a client action. This client action might be using\n\t\t\tan action or resource on behalf of a user that doesn't have permissions to use the\n\t\t\taction or resource,. Or, it might be specifying an identifier that isn't valid.

                                      ", "smithy.api#error": "client" } }, @@ -712,7 +712,7 @@ "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The status of the cluster. The following are the possible states that will be\n\t\t\treturned.

                                      \n\t\t
                                      \n
                                      ACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster is ready to accept tasks and if applicable you can register\n\t\t\t\t\t\tcontainer instances with the cluster.

                                      \n\t\t\t\t
                                      \n
                                      PROVISIONING
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has capacity providers associated with it and the resources\n\t\t\t\t\t\tneeded for the capacity provider are being created.

                                      \n\t\t\t\t
                                      \n
                                      DEPROVISIONING
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has capacity providers associated with it and the resources\n\t\t\t\t\t\tneeded for the capacity provider are being deleted.

                                      \n\t\t\t\t
                                      \n
                                      FAILED
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has capacity providers associated with it and the resources\n\t\t\t\t\t\tneeded for the capacity provider have failed to create.

                                      \n\t\t\t\t
                                      \n
                                      INACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has been deleted. Clusters with an INACTIVE\n\t\t\t\t\t\tstatus may remain discoverable in your account for a period of time.\n\t\t\t\t\t\tHowever, this behavior is subject to change in the future, so you should not\n\t\t\t\t\t\trely on INACTIVE clusters persisting.

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

                                      The status of the cluster. The following are the possible states that are\n\t\t\treturned.

                                      \n\t\t
                                      \n
                                      ACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster is ready to accept tasks and if applicable you can register\n\t\t\t\t\t\tcontainer instances with the cluster.

                                      \n\t\t\t\t
                                      \n
                                      PROVISIONING
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has capacity providers that are associated with it and the\n\t\t\t\t\t\tresources needed for the capacity provider are being created.

                                      \n\t\t\t\t
                                      \n
                                      DEPROVISIONING
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has capacity providers that are associated with it and the\n\t\t\t\t\t\tresources needed for the capacity provider are being deleted.

                                      \n\t\t\t\t
                                      \n
                                      FAILED
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has capacity providers that are associated with it and the\n\t\t\t\t\t\tresources needed for the capacity provider have failed to create.

                                      \n\t\t\t\t
                                      \n
                                      INACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      The cluster has been deleted. Clusters with an INACTIVE\n\t\t\t\t\t\tstatus may remain discoverable in your account for a period of time.\n\t\t\t\t\t\tHowever, this behavior is subject to change in the future. We don't\n\t\t\t\t\t\trecommend that you rely on INACTIVE clusters persisting.

                                      \n\t\t\t\t
                                      \n
                                      " } }, "registeredContainerInstancesCount": { @@ -742,13 +742,13 @@ "statistics": { "target": "com.amazonaws.ecs#Statistics", "traits": { - "smithy.api#documentation": "

                                      Additional information about your clusters that are separated by launch type,\n\t\t\tincluding:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        runningEC2TasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        RunningFargateTasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        pendingEC2TasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        pendingFargateTasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        activeEC2ServiceCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        activeFargateServiceCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        drainingEC2ServiceCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        drainingFargateServiceCount

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

                                      Additional information about your clusters that are separated by launch type. They\n\t\t\tinclude the following:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        runningEC2TasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        RunningFargateTasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        pendingEC2TasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        pendingFargateTasksCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        activeEC2ServiceCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        activeFargateServiceCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        drainingEC2ServiceCount

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        drainingFargateServiceCount

                                        \n\t\t\t
                                      • \n
                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the cluster to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the cluster to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "settings": { @@ -772,18 +772,18 @@ "attachments": { "target": "com.amazonaws.ecs#Attachments", "traits": { - "smithy.api#documentation": "

                                      The resources attached to a cluster. When using a capacity provider with a cluster,\n\t\t\tthe Auto Scaling plan that is created will be returned as a cluster attachment.

                                      " + "smithy.api#documentation": "

                                      The resources attached to a cluster. When using a capacity provider with a cluster,\n\t\t\tthe Auto Scaling plan that's created is returned as a cluster attachment.

                                      " } }, "attachmentsStatus": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The status of the capacity providers associated with the cluster. The following are\n\t\t\tthe states that will be returned:

                                      \n\t\t
                                      \n
                                      UPDATE_IN_PROGRESS
                                      \n
                                      \n\t\t\t\t\t

                                      The available capacity providers for the cluster are updating. This occurs\n\t\t\t\t\t\twhen the Auto Scaling plan is provisioning or deprovisioning.

                                      \n\t\t\t\t
                                      \n
                                      UPDATE_COMPLETE
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity providers have successfully updated.

                                      \n\t\t\t\t
                                      \n
                                      UPDATE_FAILED
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider updates failed.

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

                                      The status of the capacity providers associated with the cluster. The following are\n\t\t\tthe states that are returned.

                                      \n\t\t
                                      \n
                                      UPDATE_IN_PROGRESS
                                      \n
                                      \n\t\t\t\t\t

                                      The available capacity providers for the cluster are updating. This occurs\n\t\t\t\t\t\twhen the Auto Scaling plan is provisioning or deprovisioning.

                                      \n\t\t\t\t
                                      \n
                                      UPDATE_COMPLETE
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity providers have successfully updated.

                                      \n\t\t\t\t
                                      \n
                                      UPDATE_FAILED
                                      \n
                                      \n\t\t\t\t\t

                                      The capacity provider updates failed.

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

                                      A regional grouping of one or more container instances on which you can run task\n\t\t\trequests. Each account receives a default cluster the first time you use the Amazon ECS\n\t\t\tservice, but you may also create other clusters. Clusters may contain more than one\n\t\t\tinstance type simultaneously.

                                      " + "smithy.api#documentation": "

                                      A regional grouping of one or more container instances where you can run task\n\t\t\trequests. Each account receives a default cluster the first time you use the Amazon ECS\n\t\t\tservice, but you may also create other clusters. Clusters may contain more than one\n\t\t\tinstance type simultaneously.

                                      " } }, "com.amazonaws.ecs#ClusterConfiguration": { @@ -808,7 +808,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      You cannot delete a cluster that has registered container instances. First, deregister\n\t\t\tthe container instances before you can delete the cluster. For more information, see\n\t\t\t\tDeregisterContainerInstance.

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

                                      You can't delete a cluster that has registered container instances. First, deregister\n\t\t\tthe container instances before you can delete the cluster. For more information, see\n\t\t\t\tDeregisterContainerInstance.

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

                                      You cannot delete a cluster that contains services. First, update the service to\n\t\t\treduce its desired task count to 0 and then delete the service. For more information,\n\t\t\tsee UpdateService and DeleteService.

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

                                      You can't delete a cluster that contains services. First, update the service to reduce\n\t\t\tits desired task count to 0, and then delete the service. For more information, see\n\t\t\t\tUpdateService and DeleteService.

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

                                      You cannot delete a cluster that has active tasks.

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

                                      You can't delete a cluster that has active tasks.

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

                                      The specified cluster could not be found. You can view your available clusters with\n\t\t\t\tListClusters. Amazon ECS clusters are Region-specific.

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

                                      The specified cluster wasn't found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region specific.

                                      ", "smithy.api#error": "client" } }, @@ -1036,7 +1036,7 @@ "healthStatus": { "target": "com.amazonaws.ecs#HealthStatus", "traits": { - "smithy.api#documentation": "

                                      The health status of the container. If health checks are not configured for this\n\t\t\tcontainer in its task definition, then it reports the health status as\n\t\t\t\tUNKNOWN.

                                      " + "smithy.api#documentation": "

                                      The health status of the container. If health checks aren't configured for this\n\t\t\tcontainer in its task definition, then it reports the health status as\n\t\t\t\tUNKNOWN.

                                      " } }, "managedAgents": { @@ -1048,7 +1048,7 @@ "cpu": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The number of CPU units set for the container. The value will be 0 if no\n\t\t\tvalue was specified in the container definition when the task definition was\n\t\t\tregistered.

                                      " + "smithy.api#documentation": "

                                      The number of CPU units set for the container. The value is 0 if no value\n\t\t\twas specified in the container definition when the task definition was\n\t\t\tregistered.

                                      " } }, "memory": { @@ -1071,7 +1071,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      A Docker container that is part of a task.

                                      " + "smithy.api#documentation": "

                                      A Docker container that's part of a task.

                                      " } }, "com.amazonaws.ecs#ContainerCondition": { @@ -1103,13 +1103,13 @@ "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of a container. If you are linking multiple containers together in a task\n\t\t\tdefinition, the name of one container can be entered in the\n\t\t\t\tlinks of another container to connect the containers.\n\t\t\tUp to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to name in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--name option to docker\n\t\t\trun.

                                      " + "smithy.api#documentation": "

                                      The name of a container. If you're linking multiple containers together in a task\n\t\t\tdefinition, the name of one container can be entered in the\n\t\t\t\tlinks of another container to connect the containers.\n\t\t\tUp to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to name in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--name option to docker\n\t\t\trun.

                                      " } }, "image": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The image used to start a container. This string is passed directly to the Docker\n\t\t\tdaemon. Images in the Docker Hub registry are available by default. Other repositories\n\t\t\tare specified with either \n\t\t\t\t repository-url/image:tag\n\t\t\t or \n\t\t\t\t repository-url/image@digest\n\t\t\t . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\tIMAGE parameter of docker\n\t\t\t\trun.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        When a new task starts, the Amazon ECS container agent pulls the latest version of\n\t\t\t\t\tthe specified image and tag for the container to use. However, subsequent\n\t\t\t\t\tupdates to a repository image are not propagated to already running\n\t\t\t\t\ttasks.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in Amazon ECR repositories can be specified by either using the full\n\t\t\t\t\t\tregistry/repository:tag or\n\t\t\t\t\t\tregistry/repository@digest. For example,\n\t\t\t\t\t\t012345678910.dkr.ecr..amazonaws.com/:latest\n\t\t\t\t\tor\n\t\t\t\t\t\t012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE.\n\t\t\t\t

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in official repositories on Docker Hub use a single name (for example,\n\t\t\t\t\t\tubuntu or mongo).

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in other repositories on Docker Hub are qualified with an organization\n\t\t\t\t\tname (for example, amazon/amazon-ecs-agent).

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in other online repositories are qualified further by a domain name\n\t\t\t\t\t(for example, quay.io/assemblyline/ubuntu).

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

                                      The image used to start a container. This string is passed directly to the Docker\n\t\t\tdaemon. By default, images in the Docker Hub registry are available. Other repositories\n\t\t\tare specified with either \n\t\t\t\t repository-url/image:tag\n\t\t\t or \n\t\t\t\t repository-url/image@digest\n\t\t\t . Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\tIMAGE parameter of docker\n\t\t\t\trun.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        When a new task starts, the Amazon ECS container agent pulls the latest version of\n\t\t\t\t\tthe specified image and tag for the container to use. However, subsequent\n\t\t\t\t\tupdates to a repository image aren't propagated to already running tasks.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in Amazon ECR repositories can be specified by either using the full\n\t\t\t\t\t\tregistry/repository:tag or\n\t\t\t\t\t\tregistry/repository@digest. For example,\n\t\t\t\t\t\t012345678910.dkr.ecr..amazonaws.com/:latest\n\t\t\t\t\tor\n\t\t\t\t\t\t012345678910.dkr.ecr..amazonaws.com/@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE.\n\t\t\t\t

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in official repositories on Docker Hub use a single name (for example,\n\t\t\t\t\t\tubuntu or mongo).

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in other repositories on Docker Hub are qualified with an organization\n\t\t\t\t\tname (for example, amazon/amazon-ecs-agent).

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Images in other online repositories are qualified further by a domain name\n\t\t\t\t\t(for example, quay.io/assemblyline/ubuntu).

                                        \n\t\t\t
                                      • \n
                                      " } }, "repositoryCredentials": { @@ -1121,67 +1121,67 @@ "cpu": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of cpu units reserved for the container. This parameter maps\n\t\t\tto CpuShares in the Create a container section of the\n\t\t\tDocker Remote API and the --cpu-shares option to docker run.

                                      \n\t\t

                                      This field is optional for tasks using the Fargate launch type, and the\n\t\t\tonly requirement is that the total amount of CPU reserved for all containers within a\n\t\t\ttask be lower than the task-level cpu value.

                                      \n\t\t \n\t\t\t

                                      You can determine the number of CPU units that are available per EC2 instance type\n\t\t\t\tby multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page\n\t\t\t\tby 1,024.

                                      \n\t\t
                                      \n\t\t

                                      Linux containers share unallocated CPU units with other containers on the container\n\t\t\tinstance with the same ratio as their allocated amount. For example, if you run a\n\t\t\tsingle-container task on a single-core instance type with 512 CPU units specified for\n\t\t\tthat container, and that is the only task running on the container instance, that\n\t\t\tcontainer could use the full 1,024 CPU unit share at any given time. However, if you\n\t\t\tlaunched another copy of the same task on that container instance, each task would be\n\t\t\tguaranteed a minimum of 512 CPU units when needed, and each container could float to\n\t\t\thigher CPU usage if the other container was not using it, but if both tasks were 100%\n\t\t\tactive all of the time, they would be limited to 512 CPU units.

                                      \n\t\t

                                      On Linux container instances, the Docker daemon on the container instance uses the CPU\n\t\t\tvalue to calculate the relative CPU share ratios for running containers. For more\n\t\t\tinformation, see CPU share\n\t\t\t\tconstraint in the Docker documentation. The minimum valid CPU share value\n\t\t\tthat the Linux kernel allows is 2. However, the CPU parameter is not required, and you\n\t\t\tcan use CPU values below 2 in your container definitions. For CPU values below 2\n\t\t\t(including null), the behavior varies based on your Amazon ECS container agent\n\t\t\tversion:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n\t\t\t\t\t Agent versions less than or equal to 1.1.0:\n\t\t\t\t\tNull and zero CPU values are passed to Docker as 0, which Docker then converts\n\t\t\t\t\tto 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux\n\t\t\t\t\tkernel converts to two CPU shares.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n\t\t\t\t\t Agent versions greater than or equal to 1.2.0:\n\t\t\t\t\tNull, zero, and CPU values of 1 are passed to Docker as 2.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      On Windows container instances, the CPU limit is enforced as an absolute limit, or a\n\t\t\tquota. Windows containers only have access to the specified amount of CPU that is\n\t\t\tdescribed in the task definition. A null or zero CPU value is passed to Docker as\n\t\t\t\t0, which Windows interprets as 1% of one CPU.

                                      " + "smithy.api#documentation": "

                                      The number of cpu units reserved for the container. This parameter maps\n\t\t\tto CpuShares in the Create a container section of the\n\t\t\tDocker Remote API and the --cpu-shares option to docker run.

                                      \n\t\t

                                      This field is optional for tasks using the Fargate launch type, and the\n\t\t\tonly requirement is that the total amount of CPU reserved for all containers within a\n\t\t\ttask be lower than the task-level cpu value.

                                      \n\t\t \n\t\t\t

                                      You can determine the number of CPU units that are available per EC2 instance type\n\t\t\t\tby multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page\n\t\t\t\tby 1,024.

                                      \n\t\t
                                      \n\t\t

                                      Linux containers share unallocated CPU units with other containers on the container\n\t\t\tinstance with the same ratio as their allocated amount. For example, if you run a\n\t\t\tsingle-container task on a single-core instance type with 512 CPU units specified for\n\t\t\tthat container, and that's the only task running on the container instance, that\n\t\t\tcontainer could use the full 1,024 CPU unit share at any given time. However, if you\n\t\t\tlaunched another copy of the same task on that container instance, each task is\n\t\t\tguaranteed a minimum of 512 CPU units when needed. Moreover, each container could float\n\t\t\tto higher CPU usage if the other container was not using it. If both tasks were 100%\n\t\t\tactive all of the time, they would be limited to 512 CPU units.

                                      \n\t\t

                                      On Linux container instances, the Docker daemon on the container instance uses the CPU\n\t\t\tvalue to calculate the relative CPU share ratios for running containers. For more\n\t\t\tinformation, see CPU share\n\t\t\t\tconstraint in the Docker documentation. The minimum valid CPU share value\n\t\t\tthat the Linux kernel allows is 2. However, the CPU parameter isn't required, and you\n\t\t\tcan use CPU values below 2 in your container definitions. For CPU values below 2\n\t\t\t(including null), the behavior varies based on your Amazon ECS container agent\n\t\t\tversion:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n\t\t\t\t\t Agent versions less than or equal to 1.1.0:\n\t\t\t\t\tNull and zero CPU values are passed to Docker as 0, which Docker then converts\n\t\t\t\t\tto 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux\n\t\t\t\t\tkernel converts to two CPU shares.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n\t\t\t\t\t Agent versions greater than or equal to 1.2.0:\n\t\t\t\t\tNull, zero, and CPU values of 1 are passed to Docker as 2.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      On Windows container instances, the CPU limit is enforced as an absolute limit, or a\n\t\t\tquota. Windows containers only have access to the specified amount of CPU that's\n\t\t\tdescribed in the task definition. A null or zero CPU value is passed to Docker as\n\t\t\t\t0, which Windows interprets as 1% of one CPU.

                                      " } }, "memory": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The amount (in MiB) of memory to present to the container. If your container attempts\n\t\t\tto exceed the memory specified here, the container is killed. The total amount of memory\n\t\t\treserved for all containers within a task must be lower than the task\n\t\t\t\tmemory value, if one is specified. This parameter maps to\n\t\t\t\tMemory in the Create a container section of the\n\t\t\tDocker Remote API and the --memory option to docker run.

                                      \n\t\t

                                      If using the Fargate launch type, this parameter is optional.

                                      \n\t\t

                                      If using the EC2 launch type, you must specify either a task-level\n\t\t\tmemory value or a container-level memory value. If you specify both a container-level\n\t\t\t\tmemory and memoryReservation value, memory\n\t\t\tmust be greater than memoryReservation. If you specify\n\t\t\t\tmemoryReservation, then that value is subtracted from the available\n\t\t\tmemory resources for the container instance on which the container is placed. Otherwise,\n\t\t\tthe value of memory is used.

                                      \n\t\t

                                      The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should\n\t\t\tnot specify fewer than 4 MiB of memory for your containers.

                                      " + "smithy.api#documentation": "

                                      The amount (in MiB) of memory to present to the container. If your container attempts\n\t\t\tto exceed the memory specified here, the container is killed. The total amount of memory\n\t\t\treserved for all containers within a task must be lower than the task\n\t\t\t\tmemory value, if one is specified. This parameter maps to\n\t\t\t\tMemory in the Create a container section of the\n\t\t\tDocker Remote API and the --memory option to docker run.

                                      \n\t\t

                                      If using the Fargate launch type, this parameter is optional.

                                      \n\t\t

                                      If using the EC2 launch type, you must specify either a task-level\n\t\t\tmemory value or a container-level memory value. If you specify both a container-level\n\t\t\t\tmemory and memoryReservation value, memory\n\t\t\tmust be greater than memoryReservation. If you specify\n\t\t\t\tmemoryReservation, then that value is subtracted from the available\n\t\t\tmemory resources for the container instance where the container is placed. Otherwise,\n\t\t\tthe value of memory is used.

                                      \n\t\t

                                      The Docker daemon reserves a minimum of 4 MiB of memory for a container. Therefore, we\n\t\t\trecommend that you specify fewer than 4 MiB of memory for your containers.

                                      " } }, "memoryReservation": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The soft limit (in MiB) of memory to reserve for the container. When system memory is\n\t\t\tunder heavy contention, Docker attempts to keep the container memory to this soft limit.\n\t\t\tHowever, your container can consume more memory when it needs to, up to either the hard\n\t\t\tlimit specified with the memory parameter (if applicable), or all of the\n\t\t\tavailable memory on the container instance, whichever comes first. This parameter maps\n\t\t\tto MemoryReservation in the Create a container section of\n\t\t\tthe Docker Remote API and the --memory-reservation option to docker run.

                                      \n\t\t

                                      If a task-level memory value is not specified, you must specify a non-zero integer for\n\t\t\tone or both of memory or memoryReservation in a container\n\t\t\tdefinition. If you specify both, memory must be greater than\n\t\t\t\tmemoryReservation. If you specify memoryReservation, then\n\t\t\tthat value is subtracted from the available memory resources for the container instance\n\t\t\ton which the container is placed. Otherwise, the value of memory is\n\t\t\tused.

                                      \n\t\t

                                      For example, if your container normally uses 128 MiB of memory, but occasionally\n\t\t\tbursts to 256 MiB of memory for short periods of time, you can set a\n\t\t\t\tmemoryReservation of 128 MiB, and a memory hard limit of\n\t\t\t300 MiB. This configuration would allow the container to only reserve 128 MiB of memory\n\t\t\tfrom the remaining resources on the container instance, but also allow the container to\n\t\t\tconsume more memory resources when needed.

                                      \n\t\t

                                      The Docker daemon reserves a minimum of 4 MiB of memory for a container, so you should\n\t\t\tnot specify fewer than 4 MiB of memory for your containers.

                                      " + "smithy.api#documentation": "

                                      The soft limit (in MiB) of memory to reserve for the container. When system memory is\n\t\t\tunder heavy contention, Docker attempts to keep the container memory to this soft limit.\n\t\t\tHowever, your container can consume more memory when it needs to, up to either the hard\n\t\t\tlimit specified with the memory parameter (if applicable), or all of the\n\t\t\tavailable memory on the container instance, whichever comes first. This parameter maps\n\t\t\tto MemoryReservation in the Create a container section of\n\t\t\tthe Docker Remote API and the --memory-reservation option to docker run.

                                      \n\t\t

                                      If a task-level memory value is not specified, you must specify a non-zero integer for\n\t\t\tone or both of memory or memoryReservation in a container\n\t\t\tdefinition. If you specify both, memory must be greater than\n\t\t\t\tmemoryReservation. If you specify memoryReservation, then\n\t\t\tthat value is subtracted from the available memory resources for the container instance\n\t\t\twhere the container is placed. Otherwise, the value of memory is\n\t\t\tused.

                                      \n\t\t

                                      For example, if your container normally uses 128 MiB of memory, but occasionally\n\t\t\tbursts to 256 MiB of memory for short periods of time, you can set a\n\t\t\t\tmemoryReservation of 128 MiB, and a memory hard limit of\n\t\t\t300 MiB. This configuration would allow the container to only reserve 128 MiB of memory\n\t\t\tfrom the remaining resources on the container instance, but also allow the container to\n\t\t\tconsume more memory resources when needed.

                                      \n\t\t

                                      The Docker daemon reserves a minimum of 4 MiB of memory for a container. Therefore, we\n\t\t\trecommend that you specify fewer than 4 MiB of memory for your containers.

                                      " } }, "links": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The links parameter allows containers to communicate with each other\n\t\t\twithout the need for port mappings. This parameter is only supported if the network mode\n\t\t\tof a task definition is bridge. The name:internalName\n\t\t\tconstruct is analogous to name:alias in Docker links.\n\t\t\tUp to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. For more information about linking Docker containers, go to\n\t\t\t\tLegacy container links\n\t\t\tin the Docker documentation. This parameter maps to Links in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--link option to docker\n\t\t\trun.

                                      \n \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      \n \n\t\t\t

                                      Containers that are collocated on a single container instance may be able to\n\t\t\t\tcommunicate with each other without requiring links or host port mappings. Network\n\t\t\t\tisolation is achieved on the container instance using security groups and VPC\n\t\t\t\tsettings.

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

                                      The links parameter allows containers to communicate with each other\n\t\t\twithout the need for port mappings. This parameter is only supported if the network mode\n\t\t\tof a task definition is bridge. The name:internalName\n\t\t\tconstruct is analogous to name:alias in Docker links.\n\t\t\tUp to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. For more information about linking Docker containers, go to\n\t\t\t\tLegacy container links\n\t\t\tin the Docker documentation. This parameter maps to Links in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--link option to docker\n\t\t\trun.

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      \n\t\t \n\t\t\t

                                      Containers that are collocated on a single container instance may be able to\n\t\t\t\tcommunicate with each other without requiring links or host port mappings. Network\n\t\t\t\tisolation is achieved on the container instance using security groups and VPC\n\t\t\t\tsettings.

                                      \n\t\t
                                      " } }, "portMappings": { "target": "com.amazonaws.ecs#PortMappingList", "traits": { - "smithy.api#documentation": "

                                      The list of port mappings for the container. Port mappings allow containers to access\n\t\t\tports on the host container instance to send or receive traffic.

                                      \n\t\t

                                      For task definitions that use the awsvpc network mode, you should only\n\t\t\tspecify the containerPort. The hostPort can be left blank or\n\t\t\tit must be the same value as the containerPort.

                                      \n\t\t

                                      Port mappings on Windows use the NetNAT gateway address rather than\n\t\t\t\tlocalhost. There is no loopback for port mappings on Windows, so you\n\t\t\tcannot access a container's mapped port from the host itself.

                                      \n\t\t

                                      This parameter maps to PortBindings in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--publish option to docker\n\t\t\t\trun. If the network mode of a task definition is set to none,\n\t\t\tthen you can't specify port mappings. If the network mode of a task definition is set to\n\t\t\t\thost, then host ports must either be undefined or they must match the\n\t\t\tcontainer port in the port mapping.

                                      \n\t\t \n\t\t\t

                                      After a task reaches the RUNNING status, manual and automatic host\n\t\t\t\tand container port assignments are visible in the Network\n\t\t\t\t\tBindings section of a container description for a selected task in\n\t\t\t\tthe Amazon ECS console. The assignments are also visible in the\n\t\t\t\t\tnetworkBindings section DescribeTasks\n\t\t\t\tresponses.

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

                                      The list of port mappings for the container. Port mappings allow containers to access\n\t\t\tports on the host container instance to send or receive traffic.

                                      \n\t\t

                                      For task definitions that use the awsvpc network mode, only specify the\n\t\t\t\tcontainerPort. The hostPort can be left blank or it must\n\t\t\tbe the same value as the containerPort.

                                      \n\t\t

                                      Port mappings on Windows use the NetNAT gateway address rather than\n\t\t\t\tlocalhost. There's no loopback for port mappings on Windows, so you\n\t\t\tcan't access a container's mapped port from the host itself.

                                      \n\t\t

                                      This parameter maps to PortBindings in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--publish option to docker\n\t\t\t\trun. If the network mode of a task definition is set to none,\n\t\t\tthen you can't specify port mappings. If the network mode of a task definition is set to\n\t\t\t\thost, then host ports must either be undefined or they must match the\n\t\t\tcontainer port in the port mapping.

                                      \n\t\t \n\t\t\t

                                      After a task reaches the RUNNING status, manual and automatic host\n\t\t\t\tand container port assignments are visible in the Network\n\t\t\t\t\tBindings section of a container description for a selected task in\n\t\t\t\tthe Amazon ECS console. The assignments are also visible in the\n\t\t\t\t\tnetworkBindings section DescribeTasks\n\t\t\t\tresponses.

                                      \n\t\t
                                      " } }, "essential": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      If the essential parameter of a container is marked as true,\n\t\t\tand that container fails or stops for any reason, all other containers that are part of\n\t\t\tthe task are stopped. If the essential parameter of a container is marked\n\t\t\tas false, then its failure does not affect the rest of the containers in a\n\t\t\ttask. If this parameter is omitted, a container is assumed to be essential.

                                      \n\t\t

                                      All tasks must have at least one essential container. If you have an application that\n\t\t\tis composed of multiple containers, you should group containers that are used for a\n\t\t\tcommon purpose into components, and separate the different components into multiple task\n\t\t\tdefinitions. For more information, see Application\n\t\t\t\tArchitecture in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      If the essential parameter of a container is marked as true,\n\t\t\tand that container fails or stops for any reason, all other containers that are part of\n\t\t\tthe task are stopped. If the essential parameter of a container is marked\n\t\t\tas false, its failure doesn't affect the rest of the containers in a task.\n\t\t\tIf this parameter is omitted, a container is assumed to be essential.

                                      \n\t\t

                                      All tasks must have at least one essential container. If you have an application\n\t\t\tthat's composed of multiple containers, group containers that are used for a common\n\t\t\tpurpose into components, and separate the different components into multiple task\n\t\t\tdefinitions. For more information, see Application\n\t\t\t\tArchitecture in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "entryPoint": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "\n\t\t\t

                                      Early versions of the Amazon ECS container agent do not properly handle\n\t\t\t\t\tentryPoint parameters. If you have problems using\n\t\t\t\t\tentryPoint, update your container agent or enter your commands and\n\t\t\t\targuments as command array items instead.

                                      \n\t\t
                                      \n\t\t

                                      The entry point that is passed to the container. This parameter maps to\n\t\t\t\tEntrypoint in the Create a container section of the\n\t\t\tDocker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

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

                                      Early versions of the Amazon ECS container agent don't properly handle\n\t\t\t\t\tentryPoint parameters. If you have problems using\n\t\t\t\t\tentryPoint, update your container agent or enter your commands and\n\t\t\t\targuments as command array items instead.

                                      \n\t\t
                                      \n\t\t

                                      The entry point that's passed to the container. This parameter maps to\n\t\t\t\tEntrypoint in the Create a container section of the\n\t\t\tDocker Remote API and the --entrypoint option to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#entrypoint.

                                      " } }, "command": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The command that is passed to the container. This parameter maps to Cmd\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\tCOMMAND parameter to docker\n\t\t\t\trun. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each\n\t\t\targument should be a separated string in the array.

                                      " + "smithy.api#documentation": "

                                      The command that's passed to the container. This parameter maps to Cmd in\n\t\t\tthe Create a container section of the Docker Remote API and the\n\t\t\t\tCOMMAND parameter to docker\n\t\t\t\trun. For more information, see https://docs.docker.com/engine/reference/builder/#cmd. If there are multiple arguments, each\n\t\t\targument is a separated string in the array.

                                      " } }, "environment": { "target": "com.amazonaws.ecs#EnvironmentVariables", "traits": { - "smithy.api#documentation": "

                                      The environment variables to pass to a container. This parameter maps to\n\t\t\t\tEnv in the Create a container section of the\n\t\t\tDocker Remote API and the --env option to docker run.

                                      \n\t\t \n\t\t\t

                                      We do not recommend using plaintext environment variables for sensitive\n\t\t\t\tinformation, such as credential data.

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

                                      The environment variables to pass to a container. This parameter maps to\n\t\t\t\tEnv in the Create a container section of the\n\t\t\tDocker Remote API and the --env option to docker run.

                                      \n\t\t \n\t\t\t

                                      We don't recommend that you use plaintext environment variables for sensitive\n\t\t\t\tinformation, such as credential data.

                                      \n\t\t
                                      " } }, "environmentFiles": { "target": "com.amazonaws.ecs#EnvironmentFiles", "traits": { - "smithy.api#documentation": "

                                      A list of files containing the environment variables to pass to a container. This\n\t\t\tparameter maps to the --env-file option to docker run.

                                      \n\t\t

                                      You can specify up to ten environment files. The file must have a .env\n\t\t\tfile extension. Each line in an environment file should contain an environment variable\n\t\t\tin VARIABLE=VALUE format. Lines beginning with # are treated\n\t\t\tas comments and are ignored. For more information on the environment variable file\n\t\t\tsyntax, see Declare default\n\t\t\t\tenvironment variables in file.

                                      \n\t\t

                                      If there are environment variables specified using the environment\n\t\t\tparameter in a container definition, they take precedence over the variables contained\n\t\t\twithin an environment file. If multiple environment files are specified that contain the\n\t\t\tsame variable, they are processed from the top down. It is recommended to use unique\n\t\t\tvariable names. For more information, see Specifying Environment\n\t\t\t\tVariables in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      A list of files containing the environment variables to pass to a container. This\n\t\t\tparameter maps to the --env-file option to docker run.

                                      \n\t\t

                                      You can specify up to ten environment files. The file must have a .env\n\t\t\tfile extension. Each line in an environment file contains an environment variable in\n\t\t\t\tVARIABLE=VALUE format. Lines beginning with # are treated\n\t\t\tas comments and are ignored. For more information about the environment variable file\n\t\t\tsyntax, see Declare default\n\t\t\t\tenvironment variables in file.

                                      \n\t\t

                                      If there are environment variables specified using the environment\n\t\t\tparameter in a container definition, they take precedence over the variables contained\n\t\t\twithin an environment file. If multiple environment files are specified that contain the\n\t\t\tsame variable, they're processed from the top down. We recommend that you use unique\n\t\t\tvariable names. For more information, see Specifying Environment\n\t\t\t\tVariables in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "mountPoints": { "target": "com.amazonaws.ecs#MountPointList", "traits": { - "smithy.api#documentation": "

                                      The mount points for data volumes in your container.

                                      \n\t\t

                                      This parameter maps to Volumes in the Create a container\n\t\t\tsection of the Docker Remote API and the --volume option to docker run.

                                      \n\t\t

                                      Windows containers can mount whole directories on the same drive as\n\t\t\t\t$env:ProgramData. Windows containers cannot mount directories on a\n\t\t\tdifferent drive, and mount point cannot be across drives.

                                      " + "smithy.api#documentation": "

                                      The mount points for data volumes in your container.

                                      \n\t\t

                                      This parameter maps to Volumes in the Create a container\n\t\t\tsection of the Docker Remote API and the --volume option to docker run.

                                      \n\t\t

                                      Windows containers can mount whole directories on the same drive as\n\t\t\t\t$env:ProgramData. Windows containers can't mount directories on a\n\t\t\tdifferent drive, and mount point can't be across drives.

                                      " } }, "volumesFrom": { @@ -1205,85 +1205,85 @@ "dependsOn": { "target": "com.amazonaws.ecs#ContainerDependencies", "traits": { - "smithy.api#documentation": "

                                      The dependencies defined for container startup and shutdown. A container can contain\n\t\t\tmultiple dependencies. When a dependency is defined for container startup, for container\n\t\t\tshutdown it is reversed.

                                      \n\t\t

                                      For tasks using the EC2 launch type, the container instances require at\n\t\t\tleast version 1.26.0 of the container agent to enable container dependencies. However,\n\t\t\twe recommend using the latest container agent version. For information about checking\n\t\t\tyour agent version and updating to the latest version, see Updating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform\n\t\t\t\t\tversion 1.3.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform\n\t\t\t\t\tversion 1.0.0 or later.

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

                                      The dependencies defined for container startup and shutdown. A container can contain\n\t\t\tmultiple dependencies. When a dependency is defined for container startup, for container\n\t\t\tshutdown it is reversed.

                                      \n\t\t

                                      For tasks using the EC2 launch type, the container instances require at\n\t\t\tleast version 1.26.0 of the container agent to enable container dependencies. However,\n\t\t\twe recommend using the latest container agent version. For information about checking\n\t\t\tyour agent version and updating to the latest version, see Updating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you're using\n\t\t\tan Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      For tasks using the Fargate launch type, the task or service requires\n\t\t\tthe following platforms:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform version 1.3.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t
                                      • \n
                                      " } }, "startTimeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      Time duration (in seconds) to wait before giving up on resolving dependencies for a\n\t\t\tcontainer. For example, you specify two containers in a task definition with containerA\n\t\t\thaving a dependency on containerB reaching a COMPLETE,\n\t\t\tSUCCESS, or HEALTHY status. If a startTimeout\n\t\t\tvalue is specified for containerB and it does not reach the desired status within that\n\t\t\ttime then containerA will give up and not start. This results in the task transitioning\n\t\t\tto a STOPPED state.

                                      \n\t\t \n\t\t\t

                                      When the ECS_CONTAINER_START_TIMEOUT container agent configuration\n\t\t\t\tvariable is used, it is enforced indendently from this start timeout value.

                                      \n\t\t
                                      \n\t\t

                                      For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform\n\t\t\t\t\tversion 1.3.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform\n\t\t\t\t\tversion 1.0.0 or later.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      For tasks using the EC2 launch type, your container instances require at\n\t\t\tleast version 1.26.0 of the container agent to enable a container start\n\t\t\ttimeout value. However, we recommend using the latest container agent version. For\n\t\t\tinformation about checking your agent version and updating to the latest version, see\n\t\t\t\tUpdating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of\n\t\t\tthe ecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Time duration (in seconds) to wait before giving up on resolving dependencies for a\n\t\t\tcontainer. For example, you specify two containers in a task definition with containerA\n\t\t\thaving a dependency on containerB reaching a COMPLETE,\n\t\t\tSUCCESS, or HEALTHY status. If a startTimeout\n\t\t\tvalue is specified for containerB and it doesn't reach the desired status within that\n\t\t\ttime then containerA gives up and not start. This results in the task transitioning to a\n\t\t\t\tSTOPPED state.

                                      \n\t\t \n\t\t\t

                                      When the ECS_CONTAINER_START_TIMEOUT container agent configuration\n\t\t\t\tvariable is used, it's enforced independently from this start timeout value.

                                      \n\t\t
                                      \n\t\t

                                      For tasks using the Fargate launch type, the task or service requires\n\t\t\tthe following platforms:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform version 1.3.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      For tasks using the EC2 launch type, your container instances require at\n\t\t\tleast version 1.26.0 of the container agent to enable a container start\n\t\t\ttimeout value. However, we recommend using the latest container agent version. For\n\t\t\tinformation about checking your agent version and updating to the latest version, see\n\t\t\t\tUpdating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you're using\n\t\t\tan Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "stopTimeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      Time duration (in seconds) to wait before the container is forcefully killed if it\n\t\t\tdoesn't exit normally on its own.

                                      \n\t\t

                                      For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform\n\t\t\t\t\tversion 1.3.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform\n\t\t\t\t\tversion 1.0.0 or later.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      The max stop timeout value is 120 seconds and if the\n\t\t\tparameter is not specified, the default value of 30 seconds is used.

                                      \n\t\t

                                      For tasks using the EC2 launch type, if the stopTimeout\n\t\t\tparameter is not specified, the value set for the Amazon ECS container agent configuration\n\t\t\tvariable ECS_CONTAINER_STOP_TIMEOUT is used by default. If neither the\n\t\t\t\tstopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT\n\t\t\tagent configuration variable are set, then the default values of 30 seconds for Linux\n\t\t\tcontainers and 30 seconds on Windows containers are used. Your container instances\n\t\t\trequire at least version 1.26.0 of the container agent to enable a container stop\n\t\t\ttimeout value. However, we recommend using the latest container agent version. For\n\t\t\tinformation about checking your agent version and updating to the latest version, see\n\t\t\t\tUpdating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Time duration (in seconds) to wait before the container is forcefully killed if it\n\t\t\tdoesn't exit normally on its own.

                                      \n\t\t

                                      For tasks using the Fargate launch type, the task or service requires\n\t\t\tthe following platforms:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform version 1.3.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      The max stop timeout value is 120 seconds and if the parameter is not specified, the\n\t\t\tdefault value of 30 seconds is used.

                                      \n\t\t

                                      For tasks that use the EC2 launch type, if the stopTimeout\n\t\t\tparameter isn't specified, the value set for the Amazon ECS container agent configuration\n\t\t\tvariable ECS_CONTAINER_STOP_TIMEOUT is used. If neither the\n\t\t\t\tstopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT\n\t\t\tagent configuration variable are set, then the default values of 30 seconds for Linux\n\t\t\tcontainers and 30 seconds on Windows containers are used. Your container instances\n\t\t\trequire at least version 1.26.0 of the container agent to enable a container stop\n\t\t\ttimeout value. However, we recommend using the latest container agent version. For\n\t\t\tinformation about checking your agent version and updating to the latest version, see\n\t\t\t\tUpdating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you're using\n\t\t\tan Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "hostname": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The hostname to use for your container. This parameter maps to Hostname\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\t--hostname option to docker\n\t\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      The hostname parameter is not supported if you are using the\n\t\t\t\t\tawsvpc network mode.

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

                                      The hostname to use for your container. This parameter maps to Hostname\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\t--hostname option to docker\n\t\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      The hostname parameter is not supported if you're using the\n\t\t\t\t\tawsvpc network mode.

                                      \n\t\t
                                      " } }, "user": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The user to use inside the container. This parameter maps to User in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--user option to docker\n\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      When running tasks using the host network mode, you should not run\n\t\t\t\tcontainers using the root user (UID 0). It is considered best practice to use a\n\t\t\t\tnon-root user.

                                      \n\t\t
                                      \n\t\t

                                      You can specify the user using the following formats. If specifying a UID\n\t\t\tor GID, you must specify it as a positive integer.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n user\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n user:group\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n uid\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n uid:gid\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n user:gid\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n uid:group\n

                                        \n\t\t\t
                                      • \n
                                      \n \n

                                      This parameter is not supported for Windows containers.

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

                                      The user to use inside the container. This parameter maps to User in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--user option to docker\n\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      When running tasks using the host network mode, don't run containers\n\t\t\t\tusing the root user (UID 0). We recommend using a non-root user for better\n\t\t\t\tsecurity.

                                      \n\t\t
                                      \n\t\t

                                      You can specify the user using the following formats. If specifying a UID\n\t\t\tor GID, you must specify it as a positive integer.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n user\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n user:group\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n uid\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n uid:gid\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n user:gid\n

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n uid:group\n

                                        \n\t\t\t
                                      • \n
                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      " } }, "workingDirectory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The working directory in which to run commands inside the container. This parameter\n\t\t\tmaps to WorkingDir in the Create a container section of the\n\t\t\tDocker Remote API and the --workdir option to docker run.

                                      " + "smithy.api#documentation": "

                                      The working directory to run commands inside the container in. This parameter maps to\n\t\t\t\tWorkingDir in the Create a container section of the\n\t\t\tDocker Remote API and the --workdir option to docker run.

                                      " } }, "disableNetworking": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      When this parameter is true, networking is disabled within the container. This\n\t\t\tparameter maps to NetworkDisabled in the Create a container\n\t\t\tsection of the Docker Remote API.

                                      \n \n

                                      This parameter is not supported for Windows containers.

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

                                      When this parameter is true, networking is disabled within the container. This\n\t\t\tparameter maps to NetworkDisabled in the Create a container\n\t\t\tsection of the Docker Remote API.

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      " } }, "privileged": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      When this parameter is true, the container is given elevated privileges on the host\n\t\t\tcontainer instance (similar to the root user). This parameter maps to\n\t\t\t\tPrivileged in the Create a container section of the\n\t\t\tDocker Remote API and the --privileged option to docker run.

                                      \n \n

                                      This parameter is not supported for Windows containers or tasks run on Fargate.

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

                                      When this parameter is true, the container is given elevated privileges on the host\n\t\t\tcontainer instance (similar to the root user). This parameter maps to\n\t\t\t\tPrivileged in the Create a container section of the\n\t\t\tDocker Remote API and the --privileged option to docker run.

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers or tasks run on Fargate.

                                      \n
                                      " } }, "readonlyRootFilesystem": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      When this parameter is true, the container is given read-only access to its root file\n\t\t\tsystem. This parameter maps to ReadonlyRootfs in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--read-only option to docker\n\t\t\t\trun.

                                      \n \n

                                      This parameter is not supported for Windows containers.

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

                                      When this parameter is true, the container is given read-only access to its root file\n\t\t\tsystem. This parameter maps to ReadonlyRootfs in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--read-only option to docker\n\t\t\t\trun.

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      " } }, "dnsServers": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      A list of DNS servers that are presented to the container. This parameter maps to\n\t\t\t\tDns in the Create a container section of the\n\t\t\tDocker Remote API and the --dns option to docker run.

                                      \n \n

                                      This parameter is not supported for Windows containers.

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

                                      A list of DNS servers that are presented to the container. This parameter maps to\n\t\t\t\tDns in the Create a container section of the\n\t\t\tDocker Remote API and the --dns option to docker run.

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      " } }, "dnsSearchDomains": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      A list of DNS search domains that are presented to the container. This parameter maps\n\t\t\tto DnsSearch in the Create a container section of the\n\t\t\tDocker Remote API and the --dns-search option to docker run.

                                      \n \n

                                      This parameter is not supported for Windows containers.

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

                                      A list of DNS search domains that are presented to the container. This parameter maps\n\t\t\tto DnsSearch in the Create a container section of the\n\t\t\tDocker Remote API and the --dns-search option to docker run.

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      " } }, "extraHosts": { "target": "com.amazonaws.ecs#HostEntryList", "traits": { - "smithy.api#documentation": "

                                      A list of hostnames and IP address mappings to append to the /etc/hosts\n\t\t\tfile on the container. This parameter maps to ExtraHosts in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--add-host option to docker\n\t\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      This parameter is not supported for Windows containers or tasks that use the\n\t\t\t\t\tawsvpc network mode.

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

                                      A list of hostnames and IP address mappings to append to the /etc/hosts\n\t\t\tfile on the container. This parameter maps to ExtraHosts in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--add-host option to docker\n\t\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      This parameter isn't supported for Windows containers or tasks that use the\n\t\t\t\t\tawsvpc network mode.

                                      \n\t\t
                                      " } }, "dockerSecurityOptions": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      A list of strings to provide custom labels for SELinux and AppArmor multi-level\n\t\t\tsecurity systems. This field is not valid for containers in tasks using the\n\t\t\tFargate launch type.

                                      \n\t\t

                                      With Windows containers, this parameter can be used to reference a credential spec\n\t\t\tfile when configuring a container for Active Directory authentication. For more\n\t\t\tinformation, see Using gMSAs for Windows\n\t\t\t\tContainers in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      This parameter maps to SecurityOpt in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--security-opt option to docker\n\t\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      The Amazon ECS container agent running on a container instance must register with the\n\t\t\t\t\tECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true\n\t\t\t\tenvironment variables before containers placed on that instance can use these\n\t\t\t\tsecurity options. For more information, see Amazon ECS Container\n\t\t\t\t\tAgent Configuration in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      \n\t\t

                                      For more information about valid values, see Docker\n\t\t\t\tRun Security Configuration.

                                      \n\t\t

                                      Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" |\n\t\t\t\"credentialspec:CredentialSpecFilePath\"

                                      " + "smithy.api#documentation": "

                                      A list of strings to provide custom labels for SELinux and AppArmor multi-level\n\t\t\tsecurity systems. This field isn't valid for containers in tasks using the\n\t\t\tFargate launch type.

                                      \n\t\t

                                      With Windows containers, this parameter can be used to reference a credential spec\n\t\t\tfile when configuring a container for Active Directory authentication. For more\n\t\t\tinformation, see Using gMSAs for Windows\n\t\t\t\tContainers in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      This parameter maps to SecurityOpt in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--security-opt option to docker\n\t\t\t\trun.

                                      \n\t\t \n\t\t\t

                                      The Amazon ECS container agent running on a container instance must register with the\n\t\t\t\t\tECS_SELINUX_CAPABLE=true or ECS_APPARMOR_CAPABLE=true\n\t\t\t\tenvironment variables before containers placed on that instance can use these\n\t\t\t\tsecurity options. For more information, see Amazon ECS Container\n\t\t\t\t\tAgent Configuration in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      \n\t\t

                                      For more information about valid values, see Docker\n\t\t\t\tRun Security Configuration.

                                      \n\t\t

                                      Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" |\n\t\t\t\"credentialspec:CredentialSpecFilePath\"

                                      " } }, "interactive": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      When this parameter is true, this allows you to deploy containerized\n\t\t\tapplications that require stdin or a tty to be allocated. This\n\t\t\tparameter maps to OpenStdin in the Create a container\n\t\t\tsection of the Docker Remote API and the --interactive option to docker run.

                                      " + "smithy.api#documentation": "

                                      When this parameter is true, you can deploy containerized applications\n\t\t\tthat require stdin or a tty to be allocated. This parameter\n\t\t\tmaps to OpenStdin in the Create a container section of the\n\t\t\tDocker Remote API and the --interactive option to docker run.

                                      " } }, "pseudoTerminal": { @@ -1301,13 +1301,13 @@ "ulimits": { "target": "com.amazonaws.ecs#UlimitList", "traits": { - "smithy.api#documentation": "

                                      A list of ulimits to set in the container. If a ulimit value is specified\n\t\t\tin a task definition, it will override the default values set by Docker. This parameter\n\t\t\tmaps to Ulimits in the Create a container section of the\n\t\t\tDocker Remote API and the --ulimit option to docker run. Valid naming values are displayed\n\t\t\tin the Ulimit data type.

                                      \n\t\t

                                      Amazon ECS tasks hosted on Fargate use the default\n\t\t\t\t\t\t\tresource limit values set by the operating system with the exception of\n\t\t\t\t\t\t\tthe nofile resource limit parameter which Fargate\n\t\t\t\t\t\t\toverrides. The nofile resource limit sets a restriction on\n\t\t\t\t\t\t\tthe number of open files that a container can use. The default\n\t\t\t\t\t\t\t\tnofile soft limit is 1024 and hard limit\n\t\t\t\t\t\t\tis 4096.

                                      \n\t\t

                                      This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'\n

                                      \n \n

                                      This parameter is not supported for Windows containers.

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

                                      A list of ulimits to set in the container. If a ulimit value is specified\n\t\t\tin a task definition, it overrides the default values set by Docker. This parameter maps\n\t\t\tto Ulimits in the Create a container section of the\n\t\t\tDocker Remote API and the --ulimit option to docker run. Valid naming values are displayed\n\t\t\tin the Ulimit data type.

                                      \n\t\t

                                      Amazon ECS tasks hosted on Fargate use the default\n\t\t\t\t\t\t\tresource limit values set by the operating system with the exception of\n\t\t\t\t\t\t\tthe nofile resource limit parameter which Fargate\n\t\t\t\t\t\t\toverrides. The nofile resource limit sets a restriction on\n\t\t\t\t\t\t\tthe number of open files that a container can use. The default\n\t\t\t\t\t\t\t\tnofile soft limit is 1024 and hard limit\n\t\t\t\t\t\t\tis 4096.

                                      \n\t\t

                                      This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'\n

                                      \n\t\t \n

                                      This parameter is not supported for Windows containers.

                                      \n
                                      " } }, "logConfiguration": { "target": "com.amazonaws.ecs#LogConfiguration", "traits": { - "smithy.api#documentation": "

                                      The log configuration specification for the container.

                                      \n\t\t

                                      This parameter maps to LogConfig in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--log-driver option to docker\n\t\t\t\trun. By default, containers use the same logging driver that the Docker\n\t\t\tdaemon uses. However the container may use a different logging driver than the Docker\n\t\t\tdaemon by specifying a log driver with this parameter in the container definition. To\n\t\t\tuse a different logging driver for a container, the log system must be configured\n\t\t\tproperly on the container instance (or on a different log server for remote logging\n\t\t\toptions). For more information on the options for different supported log drivers, see\n\t\t\t\tConfigure\n\t\t\t\tlogging drivers in the Docker documentation.

                                      \n\t\t \n\t\t\t

                                      Amazon ECS currently supports a subset of the logging drivers available to the Docker\n\t\t\t\tdaemon (shown in the LogConfiguration data type). Additional log\n\t\t\t\tdrivers may be available in future releases of the Amazon ECS container agent.

                                      \n\t\t
                                      \n\t\t

                                      This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

                                      \n\t\t \n\t\t\t

                                      The Amazon ECS container agent running on a container instance must register the\n\t\t\t\tlogging drivers available on that instance with the\n\t\t\t\t\tECS_AVAILABLE_LOGGING_DRIVERS environment variable before\n\t\t\t\tcontainers placed on that instance can use these log configuration options. For more\n\t\t\t\tinformation, see Amazon ECS Container\n\t\t\t\t\tAgent Configuration in the Amazon Elastic Container Service Developer Guide.

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

                                      The log configuration specification for the container.

                                      \n\t\t

                                      This parameter maps to LogConfig in the\n\t\t\tCreate a container section of the Docker Remote API and the\n\t\t\t\t--log-driver option to docker\n\t\t\t\trun. By default, containers use the same logging driver that the Docker\n\t\t\tdaemon uses. However the container can use a different logging driver than the Docker\n\t\t\tdaemon by specifying a log driver with this parameter in the container definition. To\n\t\t\tuse a different logging driver for a container, the log system must be configured\n\t\t\tproperly on the container instance (or on a different log server for remote logging\n\t\t\toptions). For more information about the options for different supported log drivers,\n\t\t\tsee Configure\n\t\t\t\tlogging drivers in the Docker documentation.

                                      \n\t\t \n\t\t\t

                                      Amazon ECS currently supports a subset of the logging drivers available to the Docker\n\t\t\t\tdaemon (shown in the LogConfiguration data type). Additional log\n\t\t\t\tdrivers may be available in future releases of the Amazon ECS container agent.

                                      \n\t\t
                                      \n\t\t

                                      This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' \n

                                      \n\t\t \n\t\t\t

                                      The Amazon ECS container agent running on a container instance must register the\n\t\t\t\tlogging drivers available on that instance with the\n\t\t\t\t\tECS_AVAILABLE_LOGGING_DRIVERS environment variable before\n\t\t\t\tcontainers placed on that instance can use these log configuration options. For more\n\t\t\t\tinformation, see Amazon ECS Container\n\t\t\t\t\tAgent Configuration in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      " } }, "healthCheck": { @@ -1319,7 +1319,7 @@ "systemControls": { "target": "com.amazonaws.ecs#SystemControls", "traits": { - "smithy.api#documentation": "

                                      A list of namespaced kernel parameters to set in the container. This parameter maps to\n\t\t\t\tSysctls in the Create a container section of the\n\t\t\tDocker Remote API and the --sysctl option to docker run.

                                      \n\t\t \n\t\t\t

                                      It is not recommended that you specify network-related systemControls\n\t\t\t\tparameters for multiple containers in a single task that also uses either the\n\t\t\t\t\tawsvpc or host network modes. For tasks that use the\n\t\t\t\t\tawsvpc network mode, the container that is started last determines\n\t\t\t\twhich systemControls parameters take effect. For tasks that use the\n\t\t\t\t\thost network mode, it changes the container instance's namespaced\n\t\t\t\tkernel parameters as well as the containers.

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

                                      A list of namespaced kernel parameters to set in the container. This parameter maps to\n\t\t\t\tSysctls in the Create a container section of the\n\t\t\tDocker Remote API and the --sysctl option to docker run.

                                      \n\t\t \n\t\t\t

                                      We don't recommended that you specify network-related systemControls\n\t\t\t\tparameters for multiple containers in a single task that also uses either the\n\t\t\t\t\tawsvpc or host network modes. For tasks that use the\n\t\t\t\t\tawsvpc network mode, the container that's started last determines\n\t\t\t\twhich systemControls parameters take effect. For tasks that use the\n\t\t\t\t\thost network mode, it changes the container instance's namespaced\n\t\t\t\tkernel parameters as well as the containers.

                                      \n\t\t
                                      " } }, "resourceRequirements": { @@ -1364,13 +1364,13 @@ "condition": { "target": "com.amazonaws.ecs#ContainerCondition", "traits": { - "smithy.api#documentation": "

                                      The dependency condition of the container. The following are the available conditions\n\t\t\tand their behavior:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n START - This condition emulates the behavior of links and\n\t\t\t\t\tvolumes today. It validates that a dependent container is started before\n\t\t\t\t\tpermitting other containers to start.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n COMPLETE - This condition validates that a dependent\n\t\t\t\t\tcontainer runs to completion (exits) before permitting other containers to\n\t\t\t\t\tstart. This can be useful for nonessential containers that run a script and then\n\t\t\t\t\texit. This condition cannot be set on an essential container.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n SUCCESS - This condition is the same as\n\t\t\t\t\t\tCOMPLETE, but it also requires that the container exits with a\n\t\t\t\t\t\tzero status. This condition cannot be set on an essential\n\t\t\t\t\tcontainer.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n HEALTHY - This condition validates that the dependent\n\t\t\t\t\tcontainer passes its Docker health check before permitting other containers to\n\t\t\t\t\tstart. This requires that the dependent container has health checks configured.\n\t\t\t\t\tThis condition is confirmed only at task startup.

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

                                      The dependency condition of the container. The following are the available conditions\n\t\t\tand their behavior:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n START - This condition emulates the behavior of links and\n\t\t\t\t\tvolumes today. It validates that a dependent container is started before\n\t\t\t\t\tpermitting other containers to start.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n COMPLETE - This condition validates that a dependent\n\t\t\t\t\tcontainer runs to completion (exits) before permitting other containers to\n\t\t\t\t\tstart. This can be useful for nonessential containers that run a script and then\n\t\t\t\t\texit. This condition can't be set on an essential container.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n SUCCESS - This condition is the same as\n\t\t\t\t\t\tCOMPLETE, but it also requires that the container exits with a\n\t\t\t\t\t\tzero status. This condition can't be set on an essential\n\t\t\t\t\tcontainer.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n HEALTHY - This condition validates that the dependent\n\t\t\t\t\tcontainer passes its Docker health check before permitting other containers to\n\t\t\t\t\tstart. This requires that the dependent container has health checks configured.\n\t\t\t\t\tThis condition is confirmed only at task startup.

                                        \n\t\t\t
                                      • \n
                                      ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

                                      The dependencies defined for container startup and shutdown. A container can contain\n\t\t\tmultiple dependencies. When a dependency is defined for container startup, for container\n\t\t\tshutdown it is reversed.

                                      \n\t\t

                                      Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n\t\t\tto enable container dependencies. However, we recommend using the latest container agent\n\t\t\tversion. For information about checking your agent version and updating to the latest\n\t\t\tversion, see Updating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you are\n\t\t\tusing an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      For tasks using the Fargate launch type, the task or service requires the followiwng platforms:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform\n\t\t\t\t\t\tversion 1.3.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform\n\t\t\t\t\t\tversion 1.0.0 or later.

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

                                      The dependencies defined for container startup and shutdown. A container can contain\n\t\t\tmultiple dependencies. When a dependency is defined for container startup, for container\n\t\t\tshutdown it is reversed.

                                      \n\t\t

                                      Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n\t\t\tto enable container dependencies. However, we recommend using the latest container agent\n\t\t\tversion. For information about checking your agent version and updating to the latest\n\t\t\tversion, see Updating the Amazon ECS\n\t\t\t\tContainer Agent in the Amazon Elastic Container Service Developer Guide. If you're using\n\t\t\tan Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the\n\t\t\t\tecs-init package. If your container instances are launched from version\n\t\t\t\t20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      For tasks that use the Fargate launch type, the task or service\n\t\t\t\trequires the following platforms:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform version 1.3.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#ContainerInstance": { @@ -1391,13 +1391,13 @@ "capacityProviderName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The capacity provider associated with the container instance.

                                      " + "smithy.api#documentation": "

                                      The capacity provider that's associated with the container instance.

                                      " } }, "version": { "target": "com.amazonaws.ecs#Long", "traits": { - "smithy.api#documentation": "

                                      The version counter for the container instance. Every time a container instance\n\t\t\texperiences a change that triggers a CloudWatch event, the version counter is\n\t\t\tincremented. If you are replicating your Amazon ECS container instance state with CloudWatch\n\t\t\tEvents, you can compare the version of a container instance reported by the Amazon ECS APIs\n\t\t\twith the version reported in CloudWatch Events for the container instance (inside the\n\t\t\t\tdetail object) to verify that the version in your event stream is\n\t\t\tcurrent.

                                      " + "smithy.api#documentation": "

                                      The version counter for the container instance. Every time a container instance\n\t\t\texperiences a change that triggers a CloudWatch event, the version counter is\n\t\t\tincremented. If you're replicating your Amazon ECS container instance state with CloudWatch\n\t\t\tEvents, you can compare the version of a container instance reported by the Amazon ECS APIs\n\t\t\twith the version reported in CloudWatch Events for the container instance (inside the\n\t\t\t\tdetail object) to verify that the version in your event stream is\n\t\t\tcurrent.

                                      " } }, "versionInfo": { @@ -1409,7 +1409,7 @@ "remainingResources": { "target": "com.amazonaws.ecs#Resources", "traits": { - "smithy.api#documentation": "

                                      For CPU and memory resource types, this parameter describes the remaining CPU and\n\t\t\tmemory that has not already been allocated to tasks and is therefore available for new\n\t\t\ttasks. For port resource types, this parameter describes the ports that were reserved by\n\t\t\tthe Amazon ECS container agent (at instance registration time) and any task containers that\n\t\t\thave reserved port mappings on the host (with the host or\n\t\t\t\tbridge network mode). Any port that is not specified here is available\n\t\t\tfor new tasks.

                                      " + "smithy.api#documentation": "

                                      For CPU and memory resource types, this parameter describes the remaining CPU and\n\t\t\tmemory that wasn't already allocated to tasks and is therefore available for new tasks.\n\t\t\tFor port resource types, this parameter describes the ports that were reserved by the\n\t\t\tAmazon ECS container agent (at instance registration time) and any task containers that have\n\t\t\treserved port mappings on the host (with the host or bridge\n\t\t\tnetwork mode). Any port that's not specified here is available for new tasks.

                                      " } }, "registeredResources": { @@ -1421,7 +1421,7 @@ "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The status of the container instance. The valid values are REGISTERING,\n\t\t\t\tREGISTRATION_FAILED, ACTIVE, INACTIVE,\n\t\t\t\tDEREGISTERING, or DRAINING.

                                      \n\t\t

                                      If your account has opted in to the awsvpcTrunking account setting, then\n\t\t\tany newly registered container instance will transition to a REGISTERING\n\t\t\tstatus while the trunk elastic network interface is provisioned for the instance. If the\n\t\t\tregistration fails, the instance will transition to a REGISTRATION_FAILED\n\t\t\tstatus. You can describe the container instance and see the reason for failure in the\n\t\t\t\tstatusReason parameter. Once the container instance is terminated, the\n\t\t\tinstance transitions to a DEREGISTERING status while the trunk elastic\n\t\t\tnetwork interface is deprovisioned. The instance then transitions to an\n\t\t\t\tINACTIVE status.

                                      \n\t\t

                                      The ACTIVE status indicates that the container instance can accept tasks.\n\t\t\tThe DRAINING indicates that new tasks are not placed on the container\n\t\t\tinstance and any service tasks running on the container instance are removed if\n\t\t\tpossible. For more information, see Container Instance Draining in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The status of the container instance. The valid values are REGISTERING,\n\t\t\t\tREGISTRATION_FAILED, ACTIVE, INACTIVE,\n\t\t\t\tDEREGISTERING, or DRAINING.

                                      \n\t\t

                                      If your account has opted in to the awsvpcTrunking account setting, then\n\t\t\tany newly registered container instance will transition to a REGISTERING\n\t\t\tstatus while the trunk elastic network interface is provisioned for the instance. If the\n\t\t\tregistration fails, the instance will transition to a REGISTRATION_FAILED\n\t\t\tstatus. You can describe the container instance and see the reason for failure in the\n\t\t\t\tstatusReason parameter. Once the container instance is terminated, the\n\t\t\tinstance transitions to a DEREGISTERING status while the trunk elastic\n\t\t\tnetwork interface is deprovisioned. The instance then transitions to an\n\t\t\t\tINACTIVE status.

                                      \n\t\t

                                      The ACTIVE status indicates that the container instance can accept tasks.\n\t\t\tThe DRAINING indicates that new tasks aren't placed on the container\n\t\t\tinstance and any service tasks running on the container instance are removed if\n\t\t\tpossible. For more information, see Container Instance Draining in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "statusReason": { @@ -1451,7 +1451,7 @@ "agentUpdateStatus": { "target": "com.amazonaws.ecs#AgentUpdateStatus", "traits": { - "smithy.api#documentation": "

                                      The status of the most recent agent update. If an update has never been requested,\n\t\t\tthis value is NULL.

                                      " + "smithy.api#documentation": "

                                      The status of the most recent agent update. If an update wasn't ever requested, this\n\t\t\tvalue is NULL.

                                      " } }, "attributes": { @@ -1463,7 +1463,7 @@ "registeredAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the container instance was registered.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the container instance was registered.

                                      " } }, "attachments": { @@ -1475,12 +1475,18 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the container instance to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the container instance to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " + } + }, + "healthStatus": { + "target": "com.amazonaws.ecs#ContainerInstanceHealthStatus", + "traits": { + "smithy.api#documentation": "

                                      An object representing the health status of the container instance.

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

                                      An EC2 instance that is running the Amazon ECS agent and has been registered with a\n\t\t\tcluster.

                                      " + "smithy.api#documentation": "

                                      An EC2 instance that's running the Amazon ECS agent and has been registered with a\n\t\t\tcluster.

                                      " } }, "com.amazonaws.ecs#ContainerInstanceField": { @@ -1490,6 +1496,10 @@ { "value": "TAGS", "name": "TAGS" + }, + { + "value": "CONTAINER_INSTANCE_HEALTH", + "name": "CONTAINER_INSTANCE_HEALTH" } ] } @@ -1500,6 +1510,26 @@ "target": "com.amazonaws.ecs#ContainerInstanceField" } }, + "com.amazonaws.ecs#ContainerInstanceHealthStatus": { + "type": "structure", + "members": { + "overallStatus": { + "target": "com.amazonaws.ecs#InstanceHealthCheckState", + "traits": { + "smithy.api#documentation": "

                                      The overall health status of the container instance. This is an aggregate status of\n\t\t\tall container instance health checks.

                                      " + } + }, + "details": { + "target": "com.amazonaws.ecs#InstanceHealthCheckResultList", + "traits": { + "smithy.api#documentation": "

                                      An array of objects representing the details of the container instance health\n\t\t\tstatus.

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

                                      An object representing the health status of the container instance.

                                      " + } + }, "com.amazonaws.ecs#ContainerInstanceStatus": { "type": "string", "traits": { @@ -1586,7 +1616,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The overrides that should be sent to a container. An empty container override can be\n\t\t\tpassed in. An example of an empty container override would be\n\t\t\t\t{\"containerOverrides\": [ ] }. If a non-empty container override is\n\t\t\tspecified, the name parameter must be included.

                                      " + "smithy.api#documentation": "

                                      The overrides that are sent to a container. An empty container override can be passed\n\t\t\tin. An example of an empty container override is {\"containerOverrides\": [ ]\n\t\t\t\t}. If a non-empty container override is specified, the name\n\t\t\tparameter must be included.

                                      " } }, "com.amazonaws.ecs#ContainerOverrides": { @@ -1625,7 +1655,7 @@ "networkBindings": { "target": "com.amazonaws.ecs#NetworkBindings", "traits": { - "smithy.api#documentation": "

                                      Any network bindings associated with the container.

                                      " + "smithy.api#documentation": "

                                      Any network bindings that are associated with the container.

                                      " } }, "reason": { @@ -1642,7 +1672,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      An object representing a change in state for a container.

                                      " + "smithy.api#documentation": "

                                      An object that represents a change in state for a container.

                                      " } }, "com.amazonaws.ecs#ContainerStateChanges": { @@ -1683,7 +1713,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Creates a new capacity provider. Capacity providers are associated with an Amazon ECS\n\t\t\tcluster and are used in capacity provider strategies to facilitate cluster auto\n\t\t\tscaling.

                                      \n\t\t

                                      Only capacity providers using an Auto Scaling group can be created. Amazon ECS tasks on\n\t\t\tFargate use the FARGATE and FARGATE_SPOT capacity providers\n\t\t\twhich are already created and available to all accounts in Regions supported by\n\t\t\tFargate.

                                      " + "smithy.api#documentation": "

                                      Creates a new capacity provider. Capacity providers are associated with an Amazon ECS\n\t\t\tcluster and are used in capacity provider strategies to facilitate cluster auto\n\t\t\tscaling.

                                      \n\t\t

                                      Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on\n\t\t\tFargate use the FARGATE and FARGATE_SPOT capacity providers.\n\t\t\tThese providers are available to all accounts in the Amazon Web Services Regions that Fargate\n\t\t\tsupports.

                                      " } }, "com.amazonaws.ecs#CreateCapacityProviderRequest": { @@ -1692,7 +1722,7 @@ "name": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of the capacity provider. Up to 255 characters are allowed, including letters\n\t\t\t(upper and lowercase), numbers, underscores, and hyphens. The name cannot be prefixed\n\t\t\twith \"aws\", \"ecs\", or \"fargate\".

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

                                      The name of the capacity provider. Up to 255 characters are allowed. They include\n\t\t\tletters (both upper and lowercase letters), numbers, underscores (_), and hyphens (-).\n\t\t\tThe name can't be prefixed with \"aws\", \"ecs\", or\n\t\t\t\t\"fargate\".

                                      ", "smithy.api#required": {} } }, @@ -1706,7 +1736,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the capacity provider to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the capacity provider to categorize and organize them\n\t\t\tmore conveniently. Each tag consists of a key and an optional value. You define both of\n\t\t\tthem.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      Creates a new Amazon ECS cluster. By default, your account receives a default\n\t\t\tcluster when you launch your first container instance. However, you can create your own\n\t\t\tcluster with a unique name with the CreateCluster action.

                                      \n\t\t \n\t\t\t

                                      When you call the CreateCluster API operation, Amazon ECS attempts to\n\t\t\t\tcreate the Amazon ECS service-linked role for your account so that required resources in\n\t\t\t\tother Amazon Web Services services can be managed on your behalf. However, if the IAM user that\n\t\t\t\tmakes the call does not have permissions to create the service-linked role, it is\n\t\t\t\tnot created. For more information, see Using\n\t\t\t\t\tService-Linked Roles for Amazon ECS in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

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

                                      Creates a new Amazon ECS cluster. By default, your account receives a default\n\t\t\tcluster when you launch your first container instance. However, you can create your own\n\t\t\tcluster with a unique name with the CreateCluster action.

                                      \n\t\t \n\t\t\t

                                      When you call the CreateCluster API operation, Amazon ECS attempts to\n\t\t\t\tcreate the Amazon ECS service-linked role for your account. This is so that it can manage\n\t\t\t\trequired resources in other Amazon Web Services services on your behalf. However, if the IAM user\n\t\t\t\tthat makes the call doesn't have permissions to create the service-linked role, it\n\t\t\t\tisn't created. For more information, see Using\n\t\t\t\t\tService-Linked Roles for Amazon ECS in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#CreateClusterRequest": { @@ -1751,37 +1781,37 @@ "clusterName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of your cluster. If you do not specify a name for your cluster, you create a\n\t\t\tcluster named default. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                      " + "smithy.api#documentation": "

                                      The name of your cluster. If you don't specify a name for your cluster, you create a\n\t\t\tcluster that's named default. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the cluster to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the cluster to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "settings": { "target": "com.amazonaws.ecs#ClusterSettings", "traits": { - "smithy.api#documentation": "

                                      The setting to use when creating a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster. If this value is specified, it will override the\n\t\t\t\tcontainerInsights value set with PutAccountSetting or\n\t\t\t\tPutAccountSettingDefault.

                                      " + "smithy.api#documentation": "

                                      The setting to use when creating a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster. If this value is specified, it overrides the\n\t\t\t\tcontainerInsights value set with PutAccountSetting or\n\t\t\t\tPutAccountSettingDefault.

                                      " } }, "configuration": { "target": "com.amazonaws.ecs#ClusterConfiguration", "traits": { - "smithy.api#documentation": "

                                      The execute command configuration for the cluster.

                                      " + "smithy.api#documentation": "

                                      The\n\t\t\texecute command configuration for the cluster.

                                      " } }, "capacityProviders": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The short name of one or more capacity providers to associate with the cluster. A\n\t\t\tcapacity provider must be associated with a cluster before it can be included as part of\n\t\t\tthe default capacity provider strategy of the cluster or used in a capacity provider\n\t\t\tstrategy when calling the CreateService or RunTask\n\t\t\tactions.

                                      \n\t\t

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created and not already associated with another cluster. New\n\t\t\tAuto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.

                                      \n\t\t

                                      To use a Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

                                      \n\t\t

                                      The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

                                      " + "smithy.api#documentation": "

                                      The short name of one or more capacity providers to associate with the cluster. A\n\t\t\tcapacity provider must be associated with a cluster before it can be included as part of\n\t\t\tthe default capacity provider strategy of the cluster or used in a capacity provider\n\t\t\tstrategy when calling the CreateService or RunTask\n\t\t\tactions.

                                      \n\t\t

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must be created but not associated with another cluster. New Auto Scaling group\n\t\t\tcapacity providers can be created with the CreateCapacityProvider API\n\t\t\toperation.

                                      \n\t\t

                                      To use a Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

                                      \n\t\t

                                      The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

                                      " } }, "defaultCapacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                      The capacity provider strategy to set as the default for the cluster. When a default\n\t\t\tcapacity provider strategy is set for a cluster, when calling the RunTask or CreateService APIs with no capacity\n\t\t\tprovider strategy or launch type specified, the default capacity provider strategy for\n\t\t\tthe cluster is used.

                                      \n\t\t

                                      If a default capacity provider strategy is not defined for a cluster during creation,\n\t\t\tit can be defined later with the PutClusterCapacityProviders API\n\t\t\toperation.

                                      " + "smithy.api#documentation": "

                                      The capacity provider strategy to set as the default for the cluster. After a default\n\t\t\tcapacity provider strategy is set for a cluster, when you call the RunTask or CreateService APIs with no capacity\n\t\t\tprovider strategy or launch type specified, the default capacity provider strategy for\n\t\t\tthe cluster is used.

                                      \n\t\t

                                      If a default capacity provider strategy isn't defined for a cluster when it was\n\t\t\tcreated, it can be defined later with the PutClusterCapacityProviders\n\t\t\tAPI operation.

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

                                      Runs and maintains a desired number of tasks from a specified task definition. If the\n\t\t\tnumber of tasks running in a service drops below the desiredCount, Amazon ECS\n\t\t\truns another copy of the task in the specified cluster. To update an existing service,\n\t\t\tsee the UpdateService action.

                                      \n\t\t

                                      In addition to maintaining the desired count of tasks in your service, you can\n\t\t\toptionally run your service behind one or more load balancers. The load balancers\n\t\t\tdistribute traffic across the tasks that are associated with the service. For more\n\t\t\tinformation, see Service Load Balancing in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      Tasks for services that do not use a load balancer are considered\n\t\t\thealthy if they're in the RUNNING state. Tasks for services that\n\t\t\t\tdo use a load balancer are considered healthy if they're in the\n\t\t\t\tRUNNING state and the container instance that they're hosted on is\n\t\t\treported as healthy by the load balancer.

                                      \n\t\t

                                      There are two service scheduler strategies available:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n REPLICA - The replica scheduling strategy places and\n\t\t\t\t\tmaintains the desired number of tasks across your cluster. By default, the\n\t\t\t\t\tservice scheduler spreads tasks across Availability Zones. You can use task\n\t\t\t\t\tplacement strategies and constraints to customize task placement decisions. For\n\t\t\t\t\tmore information, see Service Scheduler Concepts in the\n\t\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n DAEMON - The daemon scheduling strategy deploys exactly one\n\t\t\t\t\ttask on each active container instance that meets all of the task placement\n\t\t\t\t\tconstraints that you specify in your cluster. The service scheduler also\n\t\t\t\t\tevaluates the task placement constraints for running tasks and will stop tasks\n\t\t\t\t\tthat do not meet the placement constraints. When using this strategy, you don't\n\t\t\t\t\tneed to specify a desired number of tasks, a task placement strategy, or use\n\t\t\t\t\tService Auto Scaling policies. For more information, see Service Scheduler Concepts in the\n\t\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      You can optionally specify a deployment configuration for your service. The deployment\n\t\t\tis triggered by changing properties, such as the task definition or the desired count of\n\t\t\ta service, with an UpdateService operation. The default value for a\n\t\t\treplica service for minimumHealthyPercent is 100%. The default value for a\n\t\t\tdaemon service for minimumHealthyPercent is 0%.

                                      \n\t\t

                                      If a service is using the ECS deployment controller, the minimum healthy\n\t\t\tpercent represents a lower limit on the number of tasks in a service that must remain in\n\t\t\tthe RUNNING state during a deployment, as a percentage of the desired\n\t\t\tnumber of tasks (rounded up to the nearest integer), and while any container instances\n\t\t\tare in the DRAINING state if the service contains tasks using the\n\t\t\tEC2 launch type. This parameter enables you to deploy without using\n\t\t\tadditional cluster capacity. For example, if your service has a desired number of four\n\t\t\ttasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks\n\t\t\tto free up cluster capacity before starting two new tasks. Tasks for services that\n\t\t\t\tdo not use a load balancer are considered healthy if they're in\n\t\t\tthe RUNNING state. Tasks for services that do use a\n\t\t\tload balancer are considered healthy if they're in the RUNNING state and\n\t\t\tthey're reported as healthy by the load balancer. The default value for minimum healthy\n\t\t\tpercent is 100%.

                                      \n\t\t

                                      If a service is using the ECS deployment controller, the maximum percent parameter represents an upper limit on the\n\t\t\tnumber of tasks in a service that are allowed in the RUNNING or\n\t\t\t\tPENDING state during a deployment, as a percentage of the desired\n\t\t\tnumber of tasks (rounded down to the nearest integer), and while any container instances\n\t\t\tare in the DRAINING state if the service contains tasks using the\n\t\t\tEC2 launch type. This parameter enables you to define the deployment batch\n\t\t\tsize. For example, if your service has a desired number of four tasks and a maximum\n\t\t\tpercent value of 200%, the scheduler may start four new tasks before stopping the four\n\t\t\tolder tasks (provided that the cluster resources required to do this are available). The\n\t\t\tdefault value for maximum percent is 200%.

                                      \n\t\t

                                      If a service is using either the CODE_DEPLOY or EXTERNAL\n\t\t\tdeployment controller types and tasks that use the EC2 launch type, the\n\t\t\t\tminimum healthy percent and maximum percent values are used only to define the lower and upper limit\n\t\t\ton the number of the tasks in the service that remain in the RUNNING state\n\t\t\twhile the container instances are in the DRAINING state. If the tasks in\n\t\t\tthe service use the Fargate launch type, the minimum healthy percent and\n\t\t\tmaximum percent values aren't used, although they're currently visible when describing\n\t\t\tyour service.

                                      \n\t\t

                                      When creating a service that uses the EXTERNAL deployment controller, you\n\t\t\tcan specify only parameters that aren't controlled at the task set level. The only\n\t\t\trequired parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster using the following logic:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Determine which of the container instances in your cluster can support your\n\t\t\t\t\tservice's task definition (for example, they have the required CPU, memory,\n\t\t\t\t\tports, and container instance attributes).

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        By default, the service scheduler attempts to balance tasks across\n\t\t\t\t\tAvailability Zones in this manner (although you can choose a different placement\n\t\t\t\t\tstrategy) with the placementStrategy parameter):

                                        \n\t\t\t\t
                                          \n
                                        • \n\t\t\t\t\t\t

                                          Sort the valid container instances, giving priority to instances that\n\t\t\t\t\t\t\thave the fewest number of running tasks for this service in their\n\t\t\t\t\t\t\trespective Availability Zone. For example, if zone A has one running\n\t\t\t\t\t\t\tservice task and zones B and C each have zero, valid container instances\n\t\t\t\t\t\t\tin either zone B or C are considered optimal for placement.

                                          \n\t\t\t\t\t
                                        • \n
                                        • \n\t\t\t\t\t\t

                                          Place the new service task on a valid container instance in an optimal\n\t\t\t\t\t\t\tAvailability Zone (based on the previous steps), favoring container\n\t\t\t\t\t\t\tinstances with the fewest number of running tasks for this\n\t\t\t\t\t\t\tservice.

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

                                      Runs and maintains your desired number of tasks from a specified task definition. If\n\t\t\tthe number of tasks running in a service drops below the desiredCount,\n\t\t\tAmazon ECS runs another copy of the task in the specified cluster. To update an existing\n\t\t\tservice, see the UpdateService action.

                                      \n\t\t

                                      In addition to maintaining the desired count of tasks in your service, you can\n\t\t\toptionally run your service behind one or more load balancers. The load balancers\n\t\t\tdistribute traffic across the tasks that are associated with the service. For more\n\t\t\tinformation, see Service Load Balancing in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      Tasks for services that don't use a load balancer are considered healthy if they're in\n\t\t\tthe RUNNING state. Tasks for services that use a load balancer are\n\t\t\tconsidered healthy if they're in the RUNNING state and the container\n\t\t\tinstance that they're hosted on is reported as healthy by the load balancer.

                                      \n\t\t

                                      There are two service scheduler strategies available:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n REPLICA - The replica scheduling strategy places and\n\t\t\t\t\tmaintains your desired number of tasks across your cluster. By default, the\n\t\t\t\t\tservice scheduler spreads tasks across Availability Zones. You can use task\n\t\t\t\t\tplacement strategies and constraints to customize task placement decisions. For\n\t\t\t\t\tmore information, see Service Scheduler Concepts in the\n\t\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n DAEMON - The daemon scheduling strategy deploys exactly one\n\t\t\t\t\ttask on each active container instance that meets all of the task placement\n\t\t\t\t\tconstraints that you specify in your cluster. The service scheduler also\n\t\t\t\t\tevaluates the task placement constraints for running tasks. It also stops tasks\n\t\t\t\t\tthat don't meet the placement constraints. When using this strategy, you don't\n\t\t\t\t\tneed to specify a desired number of tasks, a task placement strategy, or use\n\t\t\t\t\tService Auto Scaling policies. For more information, see Service Scheduler Concepts in the\n\t\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      You can optionally specify a deployment configuration for your service. The deployment\n\t\t\tis initiated by changing properties. For example, the deployment might be initiated by\n\t\t\tthe task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for\n\t\t\t\tminimumHealthyPercent is 100%. The default value for a daemon service\n\t\t\tfor minimumHealthyPercent is 0%.

                                      \n\t\t

                                      If a service uses the ECS deployment controller, the minimum healthy\n\t\t\tpercent represents a lower limit on the number of tasks in a service that must remain in\n\t\t\tthe RUNNING state during a deployment. Specifically, it represents it as a\n\t\t\tpercentage of your desired number of tasks (rounded up to the nearest integer). This\n\t\t\thappens when any of your container instances are in the DRAINING state if\n\t\t\tthe service contains tasks using the EC2 launch type. Using this\n\t\t\tparameter, you can deploy without using additional cluster capacity. For example, if you\n\t\t\tset your service to have desired number of four tasks and a minimum healthy percent of\n\t\t\t50%, the scheduler might stop two existing tasks to free up cluster capacity before\n\t\t\tstarting two new tasks. If they're in the RUNNING state, tasks for services\n\t\t\tthat don't use a load balancer are considered healthy . If they're in the\n\t\t\t\tRUNNING state and reported as healthy by the load balancer, tasks for\n\t\t\tservices that do use a load balancer are considered healthy . The\n\t\t\tdefault value for minimum healthy percent is 100%.

                                      \n\t\t

                                      If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the\n\t\t\tnumber of tasks in a service that are allowed in the RUNNING or\n\t\t\t\tPENDING state during a deployment. Specifically, it represents it as a\n\t\t\tpercentage of the desired number of tasks (rounded down to the nearest integer). This\n\t\t\thappens when any of your container instances are in the DRAINING state if\n\t\t\tthe service contains tasks using the EC2 launch type. Using this\n\t\t\tparameter, you can define the deployment batch size. For example, if your service has a\n\t\t\tdesired number of four tasks and a maximum percent value of 200%, the scheduler may\n\t\t\tstart four new tasks before stopping the four older tasks (provided that the cluster\n\t\t\tresources required to do this are available). The default value for maximum percent is\n\t\t\t200%.

                                      \n\t\t

                                      If a service uses either the CODE_DEPLOY or EXTERNAL\n\t\t\tdeployment controller types and tasks that use the EC2 launch type, the\n\t\t\t\tminimum healthy percent and maximum percent values are used only to define the lower and upper limit\n\t\t\ton the number of the tasks in the service that remain in the RUNNING state.\n\t\t\tThis is while the container instances are in the DRAINING state. If the\n\t\t\ttasks in the service use the Fargate launch type, the minimum healthy\n\t\t\tpercent and maximum percent values aren't used. This is the case even if they're\n\t\t\tcurrently visible when describing your service.

                                      \n\t\t

                                      When creating a service that uses the EXTERNAL deployment controller, you\n\t\t\tcan specify only parameters that aren't controlled at the task set level. The only\n\t\t\trequired parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster using the following logic:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Determine which of the container instances in your cluster can support the\n\t\t\t\t\ttask definition of your service. For example, they have the required CPU,\n\t\t\t\t\tmemory, ports, and container instance attributes.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        By default, the service scheduler attempts to balance tasks across\n\t\t\t\t\tAvailability Zones in this manner. This is the case even if you can choose a\n\t\t\t\t\tdifferent placement strategy with the placementStrategy\n\t\t\t\t\tparameter.

                                        \n\t\t\t\t
                                          \n
                                        • \n\t\t\t\t\t\t

                                          Sort the valid container instances, giving priority to instances that\n\t\t\t\t\t\t\thave the fewest number of running tasks for this service in their\n\t\t\t\t\t\t\trespective Availability Zone. For example, if zone A has one running\n\t\t\t\t\t\t\tservice task and zones B and C each have zero, valid container instances\n\t\t\t\t\t\t\tin either zone B or C are considered optimal for placement.

                                          \n\t\t\t\t\t
                                        • \n
                                        • \n\t\t\t\t\t\t

                                          Place the new service task on a valid container instance in an optimal\n\t\t\t\t\t\t\tAvailability Zone based on the previous steps, favoring container\n\t\t\t\t\t\t\tinstances with the fewest number of running tasks for this\n\t\t\t\t\t\t\tservice.

                                          \n\t\t\t\t\t
                                        • \n
                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#CreateServiceRequest": { @@ -1841,7 +1871,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster on which to run your service.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster that you run your service on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " } }, "serviceName": { @@ -1854,37 +1884,37 @@ "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run in your service. If a revision is\n\t\t\tnot specified, the latest ACTIVE revision is used.

                                      \n\t\t

                                      A task definition must be specified if the service is using either the\n\t\t\t\tECS or CODE_DEPLOY deployment controllers.

                                      " + "smithy.api#documentation": "

                                      The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run in your service. If a revision\n\t\t\tisn't specified, the latest ACTIVE revision is used.

                                      \n\t\t

                                      A task definition must be specified if the service uses either the ECS or\n\t\t\t\tCODE_DEPLOY deployment controllers.

                                      " } }, "loadBalancers": { "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

                                      A load balancer object representing the load balancers to use with your service. For\n\t\t\tmore information, see Service Load Balancing in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If the service is using the rolling update (ECS) deployment controller\n\t\t\tand using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to\n\t\t\tattach to the service. The service-linked role is required for services that make use of\n\t\t\tmultiple target groups. For more information, see Using service-linked roles for Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If the service is using the CODE_DEPLOY deployment controller, the\n\t\t\tservice is required to use either an Application Load Balancer or Network Load Balancer. When creating an CodeDeploy deployment\n\t\t\tgroup, you specify two target groups (referred to as a targetGroupPair).\n\t\t\tDuring a deployment, CodeDeploy determines which task set in your service has the status\n\t\t\t\tPRIMARY and associates one target group with it, and then associates\n\t\t\tthe other target group with the replacement task set. The load balancer can also have up\n\t\t\tto two listeners: a required listener for production traffic and an optional listener\n\t\t\tthat allows you perform validation tests with Lambda functions before routing production\n\t\t\ttraffic to it.

                                      \n\t\t

                                      After you create a service using the ECS deployment controller, the load\n\t\t\tbalancer name or target group ARN, container name, and container port specified in the\n\t\t\tservice definition are immutable. If you are using the CODE_DEPLOY\n\t\t\tdeployment controller, these values can be changed when updating the service.

                                      \n\t\t

                                      For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN,\n\t\t\tthe container name (as it appears in a container definition), and the container port to\n\t\t\taccess from the load balancer. The load balancer name parameter must be omitted. When a\n\t\t\ttask from this service is placed on a container instance, the container instance and\n\t\t\tport combination is registered as a target in the target group specified here.

                                      \n\t\t

                                      For Classic Load Balancers, this object must contain the load balancer name, the container name (as it\n\t\t\tappears in a container definition), and the container port to access from the load\n\t\t\tbalancer. The target group ARN parameter must be omitted. When a task from this service\n\t\t\tis placed on a container instance, the container instance is registered with the load\n\t\t\tbalancer specified here.

                                      \n\t\t

                                      Services with tasks that use the awsvpc network mode (for example, those\n\t\t\twith the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers are\n\t\t\tnot supported. Also, when you create any target groups for these services, you must\n\t\t\tchoose ip as the target type, not instance, because tasks that\n\t\t\tuse the awsvpc network mode are associated with an elastic network\n\t\t\tinterface, not an Amazon EC2 instance.

                                      " + "smithy.api#documentation": "

                                      A load balancer object representing the load balancers to use with your service. For\n\t\t\tmore information, see Service Load Balancing in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If the service uses the rolling update (ECS) deployment controller and\n\t\t\tusing either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to attach\n\t\t\tto the service. The service-linked role is required for services that use multiple\n\t\t\ttarget groups. For more information, see Using service-linked roles for Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If the service uses the CODE_DEPLOY deployment controller, the service is\n\t\t\trequired to use either an Application Load Balancer or Network Load Balancer. When creating an CodeDeploy deployment group, you\n\t\t\tspecify two target groups (referred to as a targetGroupPair). During a\n\t\t\tdeployment, CodeDeploy determines which task set in your service has the status\n\t\t\t\tPRIMARY, and it associates one target group with it. Then, it also\n\t\t\tassociates the other target group with the replacement task set. The load balancer can\n\t\t\talso have up to two listeners: a required listener for production traffic and an\n\t\t\toptional listener that you can use to perform validation tests with Lambda functions\n\t\t\tbefore routing production traffic to it.

                                      \n\t\t

                                      After you create a service using the ECS deployment controller, the load\n\t\t\tbalancer name or target group ARN, container name, and container port that's specified\n\t\t\tin the service definition are immutable. If you use the CODE_DEPLOY\n\t\t\tdeployment controller, these values can be changed when updating the service.

                                      \n\t\t

                                      For Application Load Balancers and Network Load Balancers, this object must contain the load balancer target group ARN,\n\t\t\tthe container name, and the container port to access from the load balancer. The\n\t\t\tcontainer name must be as it appears in a container definition. The load balancer name\n\t\t\tparameter must be omitted. When a task from this service is placed on a container\n\t\t\tinstance, the container instance and port combination is registered as a target in the\n\t\t\ttarget group that's specified here.

                                      \n\t\t

                                      For Classic Load Balancers, this object must contain the load balancer name, the container name , and\n\t\t\tthe container port to access from the load balancer. The container name must be as it\n\t\t\tappears in a container definition. The target group ARN parameter must be omitted. When\n\t\t\ta task from this service is placed on a container instance, the container instance is\n\t\t\tregistered with the load balancer that's specified here.

                                      \n\t\t

                                      Services with tasks that use the awsvpc network mode (for example, those\n\t\t\twith the Fargate launch type) only support Application Load Balancers and Network Load Balancers. Classic Load Balancers\n\t\t\taren't supported. Also, when you create any target groups for these services, you must\n\t\t\tchoose ip as the target type, not instance. This is because\n\t\t\ttasks that use the awsvpc network mode are associated with an elastic\n\t\t\tnetwork interface, not an Amazon EC2 instance.

                                      " } }, "serviceRegistries": { "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

                                      The details of the service discovery registry to associate with this service. For more\n\t\t\tinformation, see Service\n\t\t\t\tdiscovery.

                                      \n\t\t \n\t\t\t

                                      Each service may be associated with one service registry. Multiple service\n\t\t\t\tregistries per service isn't supported.

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

                                      The details of the service discovery registry to associate with this service. For more\n\t\t\tinformation, see Service\n\t\t\t\tdiscovery.

                                      \n\t\t \n\t\t\t

                                      Each service may be associated with one service registry. Multiple service\n\t\t\t\tregistries for each service isn't supported.

                                      \n\t\t
                                      " } }, "desiredCount": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The number of instantiations of the specified task definition to place and keep\n\t\t\trunning on your cluster.

                                      \n\t\t

                                      This is required if schedulingStrategy is REPLICA or is not\n\t\t\tspecified. If schedulingStrategy is DAEMON then this is not\n\t\t\trequired.

                                      " + "smithy.api#documentation": "

                                      The number of instantiations of the specified task definition to place and keep\n\t\t\trunning on your cluster.

                                      \n\t\t

                                      This is required if schedulingStrategy is REPLICA or isn't\n\t\t\tspecified. If schedulingStrategy is DAEMON then this isn't\n\t\t\trequired.

                                      " } }, "clientToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n\t\t\trequest. Up to 32 ASCII characters are allowed.

                                      " + "smithy.api#documentation": "

                                      An identifier that you provide to ensure the idempotency of the request. It must be\n\t\t\tunique and is case sensitive. Up to 32 ASCII characters are allowed.

                                      " } }, "launchType": { "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

                                      The infrastructure on which to run your service. For more information, see Amazon ECS\n\t\t\t\tlaunch types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      The FARGATE launch type runs your tasks on Fargate On-Demand\n\t\t\tinfrastructure.

                                      \n\t\t \n\t\t\t

                                      Fargate Spot infrastructure is available for use but a capacity provider\n\t\t\t\tstrategy must be used. For more information, see Fargate capacity providers in the\n\t\t\t\t\tAmazon ECS User Guide for Fargate.

                                      \n\t\t
                                      \n\t\t

                                      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your\n\t\t\tcluster.

                                      \n\t\t

                                      The EXTERNAL launch type runs your tasks on your on-premise server or\n\t\t\tvirtual machine (VM) capacity registered to your cluster.

                                      \n\t\t

                                      A service can use either a launch type or a capacity provider strategy. If a\n\t\t\t\tlaunchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

                                      " + "smithy.api#documentation": "

                                      The infrastructure that you run your service on. For more information, see Amazon ECS\n\t\t\t\tlaunch types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      The FARGATE launch type runs your tasks on Fargate On-Demand\n\t\t\tinfrastructure.

                                      \n\t\t \n\t\t\t

                                      Fargate Spot infrastructure is available for use but a capacity provider\n\t\t\t\tstrategy must be used. For more information, see Fargate capacity providers in the\n\t\t\t\t\tAmazon ECS User Guide for Fargate.

                                      \n\t\t
                                      \n\t\t

                                      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your\n\t\t\tcluster.

                                      \n\t\t

                                      The EXTERNAL launch type runs your tasks on your on-premises server or\n\t\t\tvirtual machine (VM) capacity registered to your cluster.

                                      \n\t\t

                                      A service can use either a launch type or a capacity provider strategy. If a\n\t\t\t\tlaunchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

                                      " } }, "capacityProviderStrategy": { @@ -1896,13 +1926,13 @@ "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version that your tasks in the service are running on. A platform version\n\t\t\tis specified only for tasks using the Fargate launch type. If one isn't\n\t\t\tspecified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see Fargate platform\n\t\t\t\tversions in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The platform version that your tasks in the service are running on. A platform version\n\t\t\tis specified only for tasks using the Fargate launch type. If one isn't\n\t\t\tspecified, the LATEST platform version is used. For more information, see\n\t\t\t\tFargate platform\n\t\t\t\tversions in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "role": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your\n\t\t\tload balancer on your behalf. This parameter is only permitted if you are using a load\n\t\t\tbalancer with your service and your task definition does not use the awsvpc\n\t\t\tnetwork mode. If you specify the role parameter, you must also specify a\n\t\t\tload balancer object with the loadBalancers parameter.

                                      \n\t\t \n\t\t\t

                                      If your account has already created the Amazon ECS service-linked role, that role is\n\t\t\t\tused by default for your service unless you specify a role here. The service-linked\n\t\t\t\trole is required if your task definition uses the awsvpc network mode\n\t\t\t\tor if the service is configured to use service discovery, an external deployment\n\t\t\t\tcontroller, multiple target groups, or Elastic Inference accelerators in which case\n\t\t\t\tyou should not specify a role here. For more information, see Using\n\t\t\t\t\tservice-linked roles for Amazon ECS in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      \n\t\t

                                      If your specified role has a path other than /, then you must either\n\t\t\tspecify the full role ARN (this is recommended) or prefix the role name with the path.\n\t\t\tFor example, if a role with the name bar has a path of /foo/\n\t\t\tthen you would specify /foo/bar as the role name. For more information, see\n\t\t\t\tFriendly names and paths in the IAM User Guide.

                                      " + "smithy.api#documentation": "

                                      The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your\n\t\t\tload balancer on your behalf. This parameter is only permitted if you are using a load\n\t\t\tbalancer with your service and your task definition doesn't use the awsvpc\n\t\t\tnetwork mode. If you specify the role parameter, you must also specify a\n\t\t\tload balancer object with the loadBalancers parameter.

                                      \n\t\t \n\t\t\t

                                      If your account has already created the Amazon ECS service-linked role, that role is\n\t\t\t\tused for your service unless you specify a role here. The service-linked role is\n\t\t\t\trequired if your task definition uses the awsvpc network mode or if the\n\t\t\t\tservice is configured to use service discovery, an external deployment controller,\n\t\t\t\tmultiple target groups, or Elastic Inference accelerators in which case you don't\n\t\t\t\tspecify a role here. For more information, see Using\n\t\t\t\t\tservice-linked roles for Amazon ECS in the\n\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      \n\t\t

                                      If your specified role has a path other than /, then you must either\n\t\t\tspecify the full role ARN (this is recommended) or prefix the role name with the path.\n\t\t\tFor example, if a role with the name bar has a path of /foo/\n\t\t\tthen you would specify /foo/bar as the role name. For more information, see\n\t\t\t\tFriendly names and paths in the IAM User Guide.

                                      " } }, "deploymentConfiguration": { @@ -1914,31 +1944,31 @@ "placementConstraints": { "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

                                      An array of placement constraint objects to use for tasks in your service. You can\n\t\t\tspecify a maximum of 10 constraints per task (this limit includes constraints in the\n\t\t\ttask definition and those specified at runtime).

                                      " + "smithy.api#documentation": "

                                      An array of placement constraint objects to use for tasks in your service. You can\n\t\t\tspecify a maximum of 10 constraints for each task. This limit includes constraints in\n\t\t\tthe task definition and those specified at runtime.

                                      " } }, "placementStrategy": { "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

                                      The placement strategy objects to use for tasks in your service. You can specify a\n\t\t\tmaximum of 5 strategy rules per service.

                                      " + "smithy.api#documentation": "

                                      The placement strategy objects to use for tasks in your service. You can specify a\n\t\t\tmaximum of 5 strategy rules for each service.

                                      " } }, "networkConfiguration": { "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

                                      The network configuration for the service. This parameter is required for task\n\t\t\tdefinitions that use the awsvpc network mode to receive their own elastic\n\t\t\tnetwork interface, and it is not supported for other network modes. For more\n\t\t\tinformation, see Task networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The network configuration for the service. This parameter is required for task\n\t\t\tdefinitions that use the awsvpc network mode to receive their own elastic\n\t\t\tnetwork interface, and it isn't supported for other network modes. For more information,\n\t\t\tsee Task networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " } }, "healthCheckGracePeriodSeconds": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The period of time, in seconds, that the Amazon ECS service scheduler should ignore\n\t\t\tunhealthy Elastic Load Balancing target health checks after a task has first started. This is only used\n\t\t\twhen your service is configured to use a load balancer. If your service has a load\n\t\t\tbalancer defined and you don't specify a health check grace period value, the default\n\t\t\tvalue of 0 is used.

                                      \n\t\t

                                      If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you\n\t\t\tcan specify a health check grace period of up to 2,147,483,647 seconds. During that\n\t\t\ttime, the Amazon ECS service scheduler ignores health check status. This grace period can\n\t\t\tprevent the service scheduler from marking tasks as unhealthy and stopping them before\n\t\t\tthey have time to come up.

                                      " + "smithy.api#documentation": "

                                      The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy\n\t\t\tElastic Load Balancing target health checks after a task has first started. This is only used when your\n\t\t\tservice is configured to use a load balancer. If your service has a load balancer\n\t\t\tdefined and you don't specify a health check grace period value, the default value of\n\t\t\t\t0 is used.

                                      \n\t\t

                                      If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you\n\t\t\tcan specify a health check grace period of up to\n\t\t\t2,147,483,647\n\t\t\tseconds (about 69 years). During that time, the Amazon ECS service\n\t\t\tscheduler ignores health check status. This grace period can prevent the service\n\t\t\tscheduler from marking tasks as unhealthy and stopping them before they have time to\n\t\t\tcome up.

                                      " } }, "schedulingStrategy": { "target": "com.amazonaws.ecs#SchedulingStrategy", "traits": { - "smithy.api#documentation": "

                                      The scheduling strategy to use for the service. For more information, see Services.

                                      \n\t\t

                                      There are two service scheduler strategies available:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n REPLICA-The replica scheduling strategy places and\n\t\t\t\t\tmaintains the desired number of tasks across your cluster. By default, the\n\t\t\t\t\tservice scheduler spreads tasks across Availability Zones. You can use task\n\t\t\t\t\tplacement strategies and constraints to customize task placement decisions. This\n\t\t\t\t\tscheduler strategy is required if the service is using the\n\t\t\t\t\t\tCODE_DEPLOY or EXTERNAL deployment controller\n\t\t\t\t\ttypes.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n DAEMON-The daemon scheduling strategy deploys exactly one\n\t\t\t\t\ttask on each active container instance that meets all of the task placement\n\t\t\t\t\tconstraints that you specify in your cluster. The service scheduler also\n\t\t\t\t\tevaluates the task placement constraints for running tasks and will stop tasks\n\t\t\t\t\tthat do not meet the placement constraints. When you're using this strategy, you\n\t\t\t\t\tdon't need to specify a desired number of tasks, a task placement strategy, or\n\t\t\t\t\tuse Service Auto Scaling policies.

                                        \n\t\t\t\t \n\t\t\t\t\t

                                        Tasks using the Fargate launch type or the\n\t\t\t\t\t\t\tCODE_DEPLOY or EXTERNAL deployment controller\n\t\t\t\t\t\ttypes don't support the DAEMON scheduling strategy.

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

                                      The scheduling strategy to use for the service. For more information, see Services.

                                      \n\t\t

                                      There are two service scheduler strategies available:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n REPLICA-The replica scheduling strategy places and\n\t\t\t\t\tmaintains the desired number of tasks across your cluster. By default, the\n\t\t\t\t\tservice scheduler spreads tasks across Availability Zones. You can use task\n\t\t\t\t\tplacement strategies and constraints to customize task placement decisions. This\n\t\t\t\t\tscheduler strategy is required if the service uses the CODE_DEPLOY\n\t\t\t\t\tor EXTERNAL deployment controller types.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n DAEMON-The daemon scheduling strategy deploys exactly one\n\t\t\t\t\ttask on each active container instance that meets all of the task placement\n\t\t\t\t\tconstraints that you specify in your cluster. The service scheduler also\n\t\t\t\t\tevaluates the task placement constraints for running tasks and will stop tasks\n\t\t\t\t\tthat don't meet the placement constraints. When you're using this strategy, you\n\t\t\t\t\tdon't need to specify a desired number of tasks, a task placement strategy, or\n\t\t\t\t\tuse Service Auto Scaling policies.

                                        \n\t\t\t\t \n\t\t\t\t\t

                                        Tasks using the Fargate launch type or the\n\t\t\t\t\t\t\tCODE_DEPLOY or EXTERNAL deployment controller\n\t\t\t\t\t\ttypes don't support the DAEMON scheduling strategy.

                                        \n\t\t\t\t
                                        \n\t\t\t
                                      • \n
                                      " } }, "deploymentController": { @@ -1950,7 +1980,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the service to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define. When a\n\t\t\tservice is deleted, the tags are deleted as well.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the service to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define. When a\n\t\t\tservice is deleted, the tags are deleted as well.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "enableECSManagedTags": { @@ -1962,13 +1992,13 @@ "propagateTags": { "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttasks in the service. If no value is specified, the tags are not propagated. Tags can\n\t\t\tonly be propagated to the tasks within the service during service creation. To add tags\n\t\t\tto a task after service creation or task creation, use the TagResource API\n\t\t\taction.

                                      " + "smithy.api#documentation": "

                                      Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttasks in the service. If no value is specified, the tags aren't propagated. Tags can\n\t\t\tonly be propagated to the tasks within the service during service creation. To add tags\n\t\t\tto a task after service creation or task creation, use the TagResource\n\t\t\tAPI action.

                                      " } }, "enableExecuteCommand": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not the execute command functionality is enabled for the service. If\n\t\t\t\ttrue, this enables execute command functionality on all containers in\n\t\t\tthe service tasks.

                                      " + "smithy.api#documentation": "

                                      Determines whether the execute command functionality is enabled for the service. If\n\t\t\t\ttrue, this enables execute command functionality on all containers in\n\t\t\tthe service tasks.

                                      " } } } @@ -1979,7 +2009,7 @@ "service": { "target": "com.amazonaws.ecs#Service", "traits": { - "smithy.api#documentation": "

                                      The full description of your service following the create call.

                                      \n\t\t

                                      A service will return either a capacityProviderStrategy or\n\t\t\t\tlaunchType parameter, but not both, depending on which one was\n\t\t\tspecified during creation.

                                      \n\t\t

                                      If a service is using the ECS deployment controller, the\n\t\t\t\tdeploymentController and taskSets parameters will not be\n\t\t\treturned.

                                      \n\t\t

                                      If the service is using the CODE_DEPLOY deployment controller, the\n\t\t\t\tdeploymentController, taskSets and\n\t\t\t\tdeployments parameters will be returned, however the\n\t\t\t\tdeployments parameter will be an empty list.

                                      " + "smithy.api#documentation": "

                                      The full description of your service following the create call.

                                      \n\t\t

                                      A service will return either a capacityProviderStrategy or\n\t\t\t\tlaunchType parameter, but not both, depending where one was specified\n\t\t\twhen it was created.

                                      \n\t\t

                                      If a service is using the ECS deployment controller, the\n\t\t\t\tdeploymentController and taskSets parameters will not be\n\t\t\treturned.

                                      \n\t\t

                                      if the service uses the CODE_DEPLOY deployment controller, the\n\t\t\t\tdeploymentController, taskSets and\n\t\t\t\tdeployments parameters will be returned, however the\n\t\t\t\tdeployments parameter will be an empty list.

                                      " } } } @@ -2079,7 +2109,7 @@ "launchType": { "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

                                      The launch type that new tasks in the task set will use. For more information, see\n\t\t\t\tAmazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If a launchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

                                      " + "smithy.api#documentation": "

                                      The launch type that new tasks in the task set uses. For more information, see Amazon ECS\n\t\t\t\tLaunch Types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If a launchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

                                      " } }, "capacityProviderStrategy": { @@ -2091,7 +2121,7 @@ "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version that the tasks in the task set should use. A platform version is\n\t\t\tspecified only for tasks using the Fargate launch type. If one isn't\n\t\t\tspecified, the LATEST platform version is used by default.

                                      " + "smithy.api#documentation": "

                                      The platform version that the tasks in the task set uses. A platform version is\n\t\t\tspecified only for tasks using the Fargate launch type. If one isn't\n\t\t\tspecified, the LATEST platform version is used.

                                      " } }, "scale": { @@ -2103,13 +2133,13 @@ "clientToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n\t\t\trequest. Up to 32 ASCII characters are allowed.

                                      " + "smithy.api#documentation": "

                                      The identifier that you provide to ensure the idempotency of the request. It's case\n\t\t\tsensitive and must be unique. It can be up to 32 ASCII characters are allowed.

                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the task set to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define. When a\n\t\t\tservice is deleted, the tags are deleted as well.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the task set to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value. You define both. When a service is\n\t\t\tdeleted, the tags are deleted.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } } } @@ -2154,14 +2184,14 @@ "name": { "target": "com.amazonaws.ecs#SettingName", "traits": { - "smithy.api#documentation": "

                                      The resource name for which to disable the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected.

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

                                      The resource name to disable the account setting for. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected.

                                      ", "smithy.api#required": {} } }, "principalArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you\n\t\t\tspecify the root user, it disables the account setting for all IAM users, IAM roles, and\n\t\t\tthe root user of the account unless an IAM user or role explicitly overrides these\n\t\t\tsettings. If this field is omitted, the setting is changed only for the authenticated\n\t\t\tuser.

                                      " + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the principal. It can be an IAM user, IAM role, or\n\t\t\tthe root user. If you specify the root user, it disables the account setting for all IAM\n\t\t\tusers, IAM roles, and the root user of the account unless an IAM user or role explicitly\n\t\t\toverrides these settings. If this field is omitted, the setting is changed only for the\n\t\t\tauthenticated user.

                                      " } } } @@ -2212,7 +2242,7 @@ "attributes": { "target": "com.amazonaws.ecs#Attributes", "traits": { - "smithy.api#documentation": "

                                      The attributes to delete from your resource. You can specify up to 10 attributes per\n\t\t\trequest. For custom attributes, specify the attribute name and target ID, but do not\n\t\t\tspecify the value. If you specify the target ID using the short form, you must also\n\t\t\tspecify the target type.

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

                                      The attributes to delete from your resource. You can specify up to 10 attributes for\n\t\t\teach request. For custom attributes, specify the attribute name and target ID, but don't\n\t\t\tspecify the value. If you specify the target ID using the short form, you must also\n\t\t\tspecify the target type.

                                      ", "smithy.api#required": {} } } @@ -2249,7 +2279,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Deletes the specified capacity provider.

                                      \n\t\t \n\t\t\t

                                      The FARGATE and FARGATE_SPOT capacity providers are\n\t\t\t\treserved and cannot be deleted. You can disassociate them from a cluster using\n\t\t\t\teither the PutClusterCapacityProviders API or by deleting the\n\t\t\t\tcluster.

                                      \n\t\t
                                      \n\t\t

                                      Prior to a capacity provider being deleted, the capacity provider must be removed from\n\t\t\tthe capacity provider strategy from all services. The UpdateService\n\t\t\tAPI can be used to remove a capacity provider from a service's capacity provider\n\t\t\tstrategy. When updating a service, the forceNewDeployment option can be\n\t\t\tused to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity\n\t\t\tprovider are transitioned to use the capacity from the remaining capacity providers.\n\t\t\tOnly capacity providers that are not associated with a cluster can be deleted. To remove\n\t\t\ta capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

                                      " + "smithy.api#documentation": "

                                      Deletes the specified capacity provider.

                                      \n\t\t \n\t\t\t

                                      The FARGATE and FARGATE_SPOT capacity providers are\n\t\t\t\treserved and can't be deleted. You can disassociate them from a cluster using either\n\t\t\t\tthe PutClusterCapacityProviders API or by deleting the\n\t\t\t\tcluster.

                                      \n\t\t
                                      \n\t\t

                                      Prior to a capacity provider being deleted, the capacity provider must be removed from\n\t\t\tthe capacity provider strategy from all services. The UpdateService\n\t\t\tAPI can be used to remove a capacity provider from a service's capacity provider\n\t\t\tstrategy. When updating a service, the forceNewDeployment option can be\n\t\t\tused to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity\n\t\t\tprovider are transitioned to use the capacity from the remaining capacity providers.\n\t\t\tOnly capacity providers that aren't associated with a cluster can be deleted. To remove\n\t\t\ta capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

                                      " } }, "com.amazonaws.ecs#DeleteCapacityProviderRequest": { @@ -2310,7 +2340,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Deletes the specified cluster. The cluster will transition to the\n\t\t\t\tINACTIVE state. Clusters with an INACTIVE status may\n\t\t\tremain discoverable in your account for a period of time. However, this behavior is\n\t\t\tsubject to change in the future, so you should not rely on INACTIVE\n\t\t\tclusters persisting.

                                      \n\t\t

                                      You must deregister all container instances from this cluster before you may delete\n\t\t\tit. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

                                      " + "smithy.api#documentation": "

                                      Deletes the specified cluster. The cluster transitions to the INACTIVE\n\t\t\tstate. Clusters with an INACTIVE status might remain discoverable in your\n\t\t\taccount for a period of time. However, this behavior is subject to change in the future.\n\t\t\tWe don't recommend that you rely on INACTIVE clusters persisting.

                                      \n\t\t

                                      You must deregister all container instances from this cluster before you may delete\n\t\t\tit. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.

                                      " } }, "com.amazonaws.ecs#DeleteClusterRequest": { @@ -2362,7 +2392,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Deletes a specified service within a cluster. You can delete a service if you have no\n\t\t\trunning tasks in it and the desired task count is zero. If the service is actively\n\t\t\tmaintaining tasks, you cannot delete it, and you must update the service to a desired\n\t\t\ttask count of zero. For more information, see UpdateService.

                                      \n\t\t \n\t\t\t

                                      When you delete a service, if there are still running tasks that require cleanup,\n\t\t\t\tthe service status moves from ACTIVE to DRAINING, and the\n\t\t\t\tservice is no longer visible in the console or in the ListServices\n\t\t\t\tAPI operation. After all tasks have transitioned to either STOPPING or\n\t\t\t\t\tSTOPPED status, the service status moves from DRAINING\n\t\t\t\tto INACTIVE. Services in the DRAINING or\n\t\t\t\t\tINACTIVE status can still be viewed with the DescribeServices API operation. However, in the future,\n\t\t\t\t\tINACTIVE services may be cleaned up and purged from Amazon ECS record\n\t\t\t\tkeeping, and DescribeServices calls on those services return a\n\t\t\t\t\tServiceNotFoundException error.

                                      \n\t\t
                                      \n\t\t \n\t\t\t

                                      If you attempt to create a new service with the same name as an existing service\n\t\t\t\tin either ACTIVE or DRAINING status, you receive an\n\t\t\t\terror.

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

                                      Deletes a specified service within a cluster. You can delete a service if you have no\n\t\t\trunning tasks in it and the desired task count is zero. If the service is actively\n\t\t\tmaintaining tasks, you can't delete it, and you must update the service to a desired\n\t\t\ttask count of zero. For more information, see UpdateService.

                                      \n\t\t \n\t\t\t

                                      When you delete a service, if there are still running tasks that require cleanup,\n\t\t\t\tthe service status moves from ACTIVE to DRAINING, and the\n\t\t\t\tservice is no longer visible in the console or in the ListServices\n\t\t\t\tAPI operation. After all tasks have transitioned to either STOPPING or\n\t\t\t\t\tSTOPPED status, the service status moves from DRAINING\n\t\t\t\tto INACTIVE. Services in the DRAINING or\n\t\t\t\t\tINACTIVE status can still be viewed with the DescribeServices API operation. However, in the future,\n\t\t\t\t\tINACTIVE services may be cleaned up and purged from Amazon ECS record\n\t\t\t\tkeeping, and DescribeServices calls on those services return a\n\t\t\t\t\tServiceNotFoundException error.

                                      \n\t\t
                                      \n\t\t \n\t\t\t

                                      If you attempt to create a new service with the same name as an existing service\n\t\t\t\tin either ACTIVE or DRAINING status, you receive an\n\t\t\t\terror.

                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#DeleteServiceRequest": { @@ -2384,7 +2414,7 @@ "force": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      If true, allows you to delete a service even if it has not been scaled\n\t\t\tdown to zero tasks. It is only necessary to use this if the service is using the\n\t\t\t\tREPLICA scheduling strategy.

                                      " + "smithy.api#documentation": "

                                      If true, allows you to delete a service even if it wasn't scaled down to\n\t\t\tzero tasks. It's only necessary to use this if the service uses the REPLICA\n\t\t\tscheduling strategy.

                                      " } } } @@ -2447,7 +2477,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset exists in to delete.

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

                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset found in to delete.

                                      ", "smithy.api#required": {} } }, @@ -2468,7 +2498,7 @@ "force": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      If true, this allows you to delete a task set even if it hasn't been\n\t\t\tscaled down to zero.

                                      " + "smithy.api#documentation": "

                                      If true, you can delete a task set even if it hasn't been scaled down to\n\t\t\tzero.

                                      " } } } @@ -2496,7 +2526,7 @@ "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The status of the deployment. The following describes each state:

                                      \n\t\t
                                      \n
                                      PRIMARY
                                      \n
                                      \n\t\t\t\t\t

                                      The most recent deployment of a service.

                                      \n\t\t\t\t
                                      \n
                                      ACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      A service deployment that still has running tasks, but are in the process\n\t\t\t\t\t\tof being replaced with a new PRIMARY deployment.

                                      \n\t\t\t\t
                                      \n
                                      INACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      A deployment that has been completely replaced.

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

                                      The status of the deployment. The following describes each state.

                                      \n\t\t
                                      \n
                                      PRIMARY
                                      \n
                                      \n\t\t\t\t\t

                                      The most recent deployment of a service.

                                      \n\t\t\t\t
                                      \n
                                      ACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      A service deployment that still has running tasks, but are in the process\n\t\t\t\t\t\tof being replaced with a new PRIMARY deployment.

                                      \n\t\t\t\t
                                      \n
                                      INACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      A deployment that has been completely replaced.

                                      \n\t\t\t\t
                                      \n
                                      " } }, "taskDefinition": { @@ -2532,13 +2562,13 @@ "createdAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the service deployment was created.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the service deployment was created.

                                      " } }, "updatedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the service deployment was last updated.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the service deployment was last updated.

                                      " } }, "capacityProviderStrategy": { @@ -2556,13 +2586,13 @@ "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version on which your tasks in the service are running. A platform\n\t\t\tversion is only specified for tasks using the Fargate launch type. If one\n\t\t\tis not specified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The platform version that your tasks in the service run on. A platform version is only\n\t\t\tspecified for tasks using the Fargate launch type. If one isn't specified,\n\t\t\tthe LATEST platform version is used. For more information, see Fargate Platform Versions in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "platformFamily": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The operating system that your tasks in the service, or tasks are running on. A platform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      All tasks that run as part of this service must use the same platformFamily value as the service, for example, LINUX..

                                      " + "smithy.api#documentation": "

                                      The operating system that your tasks in the service, or tasks are running on. A\n\t\t\tplatform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      All tasks that run as part of this service must use the same\n\t\t\t\tplatformFamily value as the service, for example, \n\t\t\tLINUX..

                                      " } }, "networkConfiguration": { @@ -2574,7 +2604,7 @@ "rolloutState": { "target": "com.amazonaws.ecs#DeploymentRolloutState", "traits": { - "smithy.api#documentation": "\n\t\t\t

                                      The rolloutState of a service is only returned for services that use\n\t\t\t\tthe rolling update (ECS) deployment type that are not behind a\n\t\t\t\tClassic Load Balancer.

                                      \n\t\t
                                      \n\t\t

                                      The rollout state of the deployment. When a service deployment is started, it begins\n\t\t\tin an IN_PROGRESS state. When the service reaches a steady state, the\n\t\t\tdeployment will transition to a COMPLETED state. If the service fails to\n\t\t\treach a steady state and circuit breaker is enabled, the deployment will transition to a\n\t\t\t\tFAILED state. A deployment in FAILED state will launch no\n\t\t\tnew tasks. For more information, see DeploymentCircuitBreaker.

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

                                      The rolloutState of a service is only returned for services that use\n\t\t\t\tthe rolling update (ECS) deployment type that aren't behind a\n\t\t\t\tClassic Load Balancer.

                                      \n\t\t
                                      \n\t\t

                                      The rollout state of the deployment. When a service deployment is started, it begins\n\t\t\tin an IN_PROGRESS state. When the service reaches a steady state, the\n\t\t\tdeployment transitions to a COMPLETED state. If the service fails to reach\n\t\t\ta steady state and circuit breaker is enabled, the deployment transitions to a\n\t\t\t\tFAILED state. A deployment in FAILED state doesn't launch\n\t\t\tany new tasks. For more information, see DeploymentCircuitBreaker.

                                      " } }, "rolloutStateReason": { @@ -2594,20 +2624,20 @@ "enable": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether to enable the deployment circuit breaker logic for the service.

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

                                      Determines whether to enable the deployment circuit breaker logic for the\n\t\t\tservice.

                                      ", "smithy.api#required": {} } }, "rollback": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether to enable Amazon ECS to roll back the service if a service deployment fails. If\n\t\t\trollback is enabled, when a service deployment fails, the service is rolled back to the\n\t\t\tlast deployment that completed successfully.

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

                                      Determines whether to enable Amazon ECS to roll back the service if a service deployment\n\t\t\tfails. If rollback is enabled, when a service deployment fails, the service is rolled\n\t\t\tback to the last deployment that completed successfully.

                                      ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "\n\t\t\t

                                      The deployment circuit breaker can only be used for services using the rolling\n\t\t\t\tupdate (ECS) deployment type that are not behind a Classic Load Balancer.

                                      \n\t\t
                                      \n\t\t

                                      The deployment circuit breaker determines whether a\n\t\t\tservice deployment will fail if the service can't reach a steady state. If enabled, a\n\t\t\tservice deployment will transition to a failed state and stop launching new tasks. You\n\t\t\tcan also enable Amazon ECS to roll back your service to the last completed deployment after a\n\t\t\tfailure. For more information, see Rolling\n\t\t\t\tupdate in the Amazon Elastic Container Service Developer Guide.

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

                                      The deployment circuit breaker can only be used for services using the rolling\n\t\t\t\tupdate (ECS) deployment type that aren't behind a Classic Load Balancer.

                                      \n\t\t
                                      \n\t\t

                                      The deployment circuit breaker determines whether a\n\t\t\tservice deployment will fail if the service can't reach a steady state. If enabled, a\n\t\t\tservice deployment will transition to a failed state and stop launching new tasks. You\n\t\t\tcan also enable Amazon ECS to roll back your service to the last completed deployment after a\n\t\t\tfailure. For more information, see Rolling\n\t\t\t\tupdate in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#DeploymentConfiguration": { @@ -2628,7 +2658,7 @@ "minimumHealthyPercent": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      If a service is using the rolling update (ECS) deployment type, the\n\t\t\t\tminimum healthy percent represents a lower limit on\n\t\t\tthe number of tasks in a service that must remain in the RUNNING state\n\t\t\tduring a deployment, as a percentage of the desired number of tasks (rounded up to the\n\t\t\tnearest integer), and while any container instances are in the DRAINING\n\t\t\tstate if the service contains tasks using the EC2 launch type. This\n\t\t\tparameter enables you to deploy without using additional cluster capacity. For example,\n\t\t\tif your service has a desired number of four tasks and a minimum healthy percent of 50%,\n\t\t\tthe scheduler may stop two existing tasks to free up cluster capacity before starting\n\t\t\ttwo new tasks. Tasks for services that do not use a load balancer\n\t\t\tare considered healthy if they are in the RUNNING state; tasks for services\n\t\t\tthat do use a load balancer are considered healthy if they are in\n\t\t\tthe RUNNING state and they are reported as healthy by the load balancer.\n\t\t\tThe default value for minimum healthy percent is 100%.

                                      \n\t\t

                                      If a service is using the blue/green (CODE_DEPLOY) or\n\t\t\t\tEXTERNAL deployment types and tasks that use the EC2\n\t\t\tlaunch type, the minimum healthy percent value is set\n\t\t\tto the default value and is used to define the lower limit on the number of the tasks in\n\t\t\tthe service that remain in the RUNNING state while the container instances\n\t\t\tare in the DRAINING state. If the tasks in the service use the\n\t\t\tFargate launch type, the minimum healthy percent value is not used,\n\t\t\talthough it is returned when describing your service.

                                      " + "smithy.api#documentation": "

                                      If a service is using the rolling update (ECS) deployment type, the\n\t\t\t\tminimum healthy percent represents a lower limit on\n\t\t\tthe number of tasks in a service that must remain in the RUNNING state\n\t\t\tduring a deployment, as a percentage of the desired number of tasks (rounded up to the\n\t\t\tnearest integer), and while any container instances are in the DRAINING\n\t\t\tstate if the service contains tasks using the EC2 launch type. This\n\t\t\tparameter enables you to deploy without using additional cluster capacity. For example,\n\t\t\tif your service has a desired number of four tasks and a minimum healthy percent of 50%,\n\t\t\tthe scheduler may stop two existing tasks to free up cluster capacity before starting\n\t\t\ttwo new tasks. Tasks for services that do not use a load balancer\n\t\t\tare considered healthy if they're in the RUNNING state; tasks for services\n\t\t\tthat do use a load balancer are considered healthy if they're in\n\t\t\tthe RUNNING state and they're reported as healthy by the load balancer. The\n\t\t\tdefault value for minimum healthy percent is 100%.

                                      \n\t\t

                                      If a service is using the blue/green (CODE_DEPLOY) or\n\t\t\t\tEXTERNAL deployment types and tasks that use the EC2\n\t\t\tlaunch type, the minimum healthy percent value is set\n\t\t\tto the default value and is used to define the lower limit on the number of the tasks in\n\t\t\tthe service that remain in the RUNNING state while the container instances\n\t\t\tare in the DRAINING state. If the tasks in the service use the\n\t\t\tFargate launch type, the minimum healthy percent value is not used,\n\t\t\talthough it is returned when describing your service.

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

                                      Deregisters an Amazon ECS container instance from the specified cluster. This instance is\n\t\t\tno longer available to run tasks.

                                      \n\t\t

                                      If you intend to use the container instance for some other purpose after\n\t\t\tderegistration, you should stop all of the tasks running on the container instance\n\t\t\tbefore deregistration. That prevents any orphaned tasks from consuming resources.

                                      \n\t\t

                                      Deregistering a container instance removes the instance from a cluster, but it does\n\t\t\tnot terminate the EC2 instance. If you are finished using the instance, be sure to\n\t\t\tterminate it in the Amazon EC2 console to stop billing.

                                      \n\t\t \n\t\t\t

                                      If you terminate a running container instance, Amazon ECS automatically deregisters the\n\t\t\t\tinstance from your cluster (stopped container instances or instances with\n\t\t\t\tdisconnected agents are not automatically deregistered when terminated).

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

                                      Deregisters an Amazon ECS container instance from the specified cluster. This instance is\n\t\t\tno longer available to run tasks.

                                      \n\t\t

                                      If you intend to use the container instance for some other purpose after\n\t\t\tderegistration, we recommend that you stop all of the tasks running on the container\n\t\t\tinstance before deregistration. That prevents any orphaned tasks from consuming\n\t\t\tresources.

                                      \n\t\t

                                      Deregistering a container instance removes the instance from a cluster, but it doesn't\n\t\t\tterminate the EC2 instance. If you are finished using the instance, be sure to terminate\n\t\t\tit in the Amazon EC2 console to stop billing.

                                      \n\t\t \n\t\t\t

                                      If you terminate a running container instance, Amazon ECS automatically deregisters the\n\t\t\t\tinstance from your cluster (stopped container instances or instances with\n\t\t\t\tdisconnected agents aren't automatically deregistered when terminated).

                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#DeregisterContainerInstanceRequest": { @@ -2740,7 +2770,7 @@ "force": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      Forces the deregistration of the container instance. If you have tasks running on the\n\t\t\tcontainer instance when you deregister it with the force option, these\n\t\t\ttasks remain running until you terminate the instance or the tasks stop through some\n\t\t\tother means, but they are orphaned (no longer monitored or accounted for by Amazon ECS). If\n\t\t\tan orphaned task on your container instance is part of an Amazon ECS service, then the\n\t\t\tservice scheduler starts another copy of that task, on a different container instance if\n\t\t\tpossible.

                                      \n\t\t

                                      Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer\n\t\t\ttarget group are deregistered. They begin connection draining according to the settings\n\t\t\ton the load balancer or target group.

                                      " + "smithy.api#documentation": "

                                      Forces the container instance to be deregistered. If you have tasks running on the\n\t\t\tcontainer instance when you deregister it with the force option, these\n\t\t\ttasks remain running until you terminate the instance or the tasks stop through some\n\t\t\tother means, but they're orphaned (no longer monitored or accounted for by Amazon ECS). If an\n\t\t\torphaned task on your container instance is part of an Amazon ECS service, then the service\n\t\t\tscheduler starts another copy of that task, on a different container instance if\n\t\t\tpossible.

                                      \n\t\t

                                      Any containers in orphaned service tasks that are registered with a Classic Load Balancer or an Application Load Balancer\n\t\t\ttarget group are deregistered. They begin connection draining according to the settings\n\t\t\ton the load balancer or target group.

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

                                      Deregisters the specified task definition by family and revision. Upon deregistration,\n\t\t\tthe task definition is marked as INACTIVE. Existing tasks and services that\n\t\t\treference an INACTIVE task definition continue to run without disruption.\n\t\t\tExisting services that reference an INACTIVE task definition can still\n\t\t\tscale up or down by modifying the service's desired count.

                                      \n\t\t

                                      You cannot use an INACTIVE task definition to run new tasks or create new\n\t\t\tservices, and you cannot update an existing service to reference an\n\t\t\t\tINACTIVE task definition. However, there may be up to a 10-minute\n\t\t\twindow following deregistration where these restrictions have not yet taken\n\t\t\teffect.

                                      \n\t\t \n\t\t\t

                                      At this time, INACTIVE task definitions remain discoverable in your\n\t\t\t\taccount indefinitely. However, this behavior is subject to change in the future, so\n\t\t\t\tyou should not rely on INACTIVE task definitions persisting beyond the\n\t\t\t\tlifecycle of any associated tasks and services.

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

                                      Deregisters the specified task definition by family and revision. Upon deregistration,\n\t\t\tthe task definition is marked as INACTIVE. Existing tasks and services that\n\t\t\treference an INACTIVE task definition continue to run without disruption.\n\t\t\tExisting services that reference an INACTIVE task definition can still\n\t\t\tscale up or down by modifying the service's desired count.

                                      \n\t\t

                                      You can't use an INACTIVE task definition to run new tasks or create new\n\t\t\tservices, and you can't update an existing service to reference an INACTIVE\n\t\t\ttask definition. However, there may be up to a 10-minute window following deregistration\n\t\t\twhere these restrictions have not yet taken effect.

                                      \n\t\t \n\t\t\t

                                      At this time, INACTIVE task definitions remain discoverable in your\n\t\t\t\taccount indefinitely. However, this behavior is subject to change in the future. We\n\t\t\t\tdon't recommend that you rely on INACTIVE task definitions persisting\n\t\t\t\tbeyond the lifecycle of any associated tasks and services.

                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#DeregisterTaskDefinitionRequest": { @@ -2837,7 +2867,7 @@ "include": { "target": "com.amazonaws.ecs#CapacityProviderFieldList", "traits": { - "smithy.api#documentation": "

                                      Specifies whether or not you want to see the resource tags for the capacity provider.\n\t\t\tIf TAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

                                      " + "smithy.api#documentation": "

                                      Specifies whether or not you want to see the resource tags for the capacity provider.\n\t\t\tIf TAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags aren't included in the response.

                                      " } }, "maxResults": { @@ -2912,7 +2942,7 @@ "include": { "target": "com.amazonaws.ecs#ClusterFieldList", "traits": { - "smithy.api#documentation": "

                                      Whether to include additional information about the clusters in the response. If this\n\t\t\tfield is omitted, this information isn't included.

                                      \n\t\t

                                      If ATTACHMENTS is specified, the attachments for the container instances\n\t\t\tor tasks within the cluster are included.

                                      \n\t\t

                                      If SETTINGS is specified, the settings for the cluster are\n\t\t\tincluded.

                                      \n\t\t

                                      If CONFIGURATIONS is specified, the configuration for the cluster is\n\t\t\tincluded.

                                      \n\t\t

                                      If STATISTICS is specified, the task and service count is included,\n\t\t\tseparated by launch type.

                                      \n\t\t

                                      If TAGS is specified, the metadata tags associated with the cluster are\n\t\t\tincluded.

                                      " + "smithy.api#documentation": "

                                      Determines whether to include additional information about the clusters in the\n\t\t\tresponse. If this field is omitted, this information isn't included.

                                      \n\t\t

                                      If ATTACHMENTS is specified, the attachments for the container instances\n\t\t\tor tasks within the cluster are included.

                                      \n\t\t

                                      If SETTINGS is specified, the settings for the cluster are\n\t\t\tincluded.

                                      \n\t\t

                                      If CONFIGURATIONS is specified, the configuration for the cluster is\n\t\t\tincluded.

                                      \n\t\t

                                      If STATISTICS is specified, the task and service count is included,\n\t\t\tseparated by launch type.

                                      \n\t\t

                                      If TAGS is specified, the metadata tags associated with the cluster are\n\t\t\tincluded.

                                      " } } } @@ -2979,7 +3009,7 @@ "include": { "target": "com.amazonaws.ecs#ContainerInstanceFieldList", "traits": { - "smithy.api#documentation": "

                                      Specifies whether you want to see the resource tags for the container instance. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

                                      " + "smithy.api#documentation": "

                                      Specifies whether you want to see the resource tags for the container instance. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If\n\t\t\t\tCONTAINER_INSTANCE_HEALTH is specified, the container instance health\n\t\t\tis included in the response. If this field is omitted, tags and container instance\n\t\t\thealth status aren't included in the response.

                                      " } } } @@ -3073,7 +3103,7 @@ "include": { "target": "com.amazonaws.ecs#ServiceFieldList", "traits": { - "smithy.api#documentation": "

                                      Specifies whether you want to see the resource tags for the service. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

                                      " + "smithy.api#documentation": "

                                      Determines whether you want to see the resource tags for the service. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags aren't included in the response.

                                      " } } } @@ -3131,7 +3161,7 @@ "include": { "target": "com.amazonaws.ecs#TaskDefinitionFieldList", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to see the resource tags for the task definition. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags are not included in the response.

                                      " + "smithy.api#documentation": "

                                      Determines whether to see the resource tags for the task definition. If\n\t\t\t\tTAGS is specified, the tags are included in the response. If this field\n\t\t\tis omitted, tags aren't included in the response.

                                      " } } } @@ -3148,7 +3178,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that is applied to the task definition to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that's applied to the task definition to help you categorize and organize\n\t\t\tthem. Each tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } } } @@ -3217,7 +3247,7 @@ "include": { "target": "com.amazonaws.ecs#TaskSetFieldList", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to see the resource tags for the task set. If TAGS is\n\t\t\tspecified, the tags are included in the response. If this field is omitted, tags are not\n\t\t\tincluded in the response.

                                      " + "smithy.api#documentation": "

                                      Specifies whether to see the resource tags for the task set. If TAGS is\n\t\t\tspecified, the tags are included in the response. If this field is omitted, tags aren't\n\t\t\tincluded in the response.

                                      " } } } @@ -3336,7 +3366,7 @@ "include": { "target": "com.amazonaws.ecs#TaskFieldList", "traits": { - "smithy.api#documentation": "

                                      Specifies whether you want to see the resource tags for the task. If TAGS\n\t\t\tis specified, the tags are included in the response. If this field is omitted, tags are\n\t\t\tnot included in the response.

                                      " + "smithy.api#documentation": "

                                      Specifies whether you want to see the resource tags for the task. If TAGS\n\t\t\tis specified, the tags are included in the response. If this field is omitted, tags\n\t\t\taren't included in the response.

                                      " } } } @@ -3452,7 +3482,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n

                                      Returns an endpoint for\n\t\t\tthe Amazon ECS agent to poll for updates.

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

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n\t\t

                                      Returns an endpoint for the Amazon ECS agent to poll for updates.

                                      " } }, "com.amazonaws.ecs#DiscoverPollEndpointRequest": { @@ -3467,7 +3497,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance\n\t\t\tbelongs.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs\n\t\t\tto.

                                      " } } } @@ -3510,7 +3540,7 @@ "autoprovision": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                                      If this value is true, the Docker volume is created if it does not\n\t\t\talready exist.

                                      \n\t\t \n\t\t\t

                                      This field is only used if the scope is shared.

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

                                      If this value is true, the Docker volume is created if it doesn't already\n\t\t\texist.

                                      \n\t\t \n\t\t\t

                                      This field is only used if the scope is shared.

                                      \n\t\t
                                      " } }, "driver": { @@ -3533,7 +3563,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using Docker volumes. Docker volumes are only\n\t\t\tsupported when you are using the EC2 launch type. Windows containers only\n\t\t\tsupport the use of the local driver. To use bind mounts, specify a\n\t\t\t\thost instead.

                                      " + "smithy.api#documentation": "

                                      This parameter is specified when you're using Docker volumes. Docker volumes are only\n\t\t\tsupported when you're using the EC2 launch type. Windows containers only\n\t\t\tsupport the use of the local driver. To use bind mounts, specify a\n\t\t\t\thost instead.

                                      " } }, "com.amazonaws.ecs#Double": { @@ -3551,7 +3581,7 @@ "iam": { "target": "com.amazonaws.ecs#EFSAuthorizationConfigIAM", "traits": { - "smithy.api#documentation": "

                                      Whether or not to use the Amazon ECS task IAM role defined in a task definition when\n\t\t\tmounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the\n\t\t\t\tEFSVolumeConfiguration. If this parameter is omitted, the default value\n\t\t\tof DISABLED is used. For more information, see Using\n\t\t\t\tAmazon EFS Access Points in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Determines whether to use the Amazon ECS task IAM role defined in a task definition when\n\t\t\tmounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the\n\t\t\t\tEFSVolumeConfiguration. If this parameter is omitted, the default value\n\t\t\tof DISABLED is used. For more information, see Using\n\t\t\t\tAmazon EFS Access Points in the Amazon Elastic Container Service Developer Guide.

                                      " } } }, @@ -3608,7 +3638,7 @@ "transitEncryption": { "target": "com.amazonaws.ecs#EFSTransitEncryption", "traits": { - "smithy.api#documentation": "

                                      Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host\n\t\t\tand the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is\n\t\t\tused. If this parameter is omitted, the default value of DISABLED is used.\n\t\t\tFor more information, see Encrypting Data in Transit in\n\t\t\tthe Amazon Elastic File System User Guide.

                                      " + "smithy.api#documentation": "

                                      Determines whether to enable encryption for Amazon EFS data in transit between the Amazon ECS\n\t\t\thost and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization\n\t\t\tis used. If this parameter is omitted, the default value of DISABLED is\n\t\t\tused. For more information, see Encrypting Data in Transit in\n\t\t\tthe Amazon Elastic File System User Guide.

                                      " } }, "transitEncryptionPort": { @@ -3625,7 +3655,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using an Amazon Elastic File System file system for task\n\t\t\tstorage. For more information, see Amazon EFS Volumes in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This parameter is specified when you're using an Amazon Elastic File System file system for task\n\t\t\tstorage. For more information, see Amazon EFS Volumes in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#EnvironmentFile": { @@ -3647,7 +3677,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      A list of files containing the environment variables to pass to a container. You can\n\t\t\tspecify up to ten environment files. The file must have a .env file\n\t\t\textension. Each line in an environment file should contain an environment variable in\n\t\t\t\tVARIABLE=VALUE format. Lines beginning with # are treated\n\t\t\tas comments and are ignored. For more information on the environment variable file\n\t\t\tsyntax, see Declare default\n\t\t\t\tenvironment variables in file.

                                      \n\t\t

                                      If there are environment variables specified using the environment\n\t\t\tparameter in a container definition, they take precedence over the variables contained\n\t\t\twithin an environment file. If multiple environment files are specified that contain the\n\t\t\tsame variable, they are processed from the top down. It is recommended to use unique\n\t\t\tvariable names. For more information, see Specifying environment\n\t\t\t\tvariables in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform\n\t\t\t\t\tversion 1.4.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform\n\t\t\t\t\tversion 1.0.0 or later.

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

                                      A list of files containing the environment variables to pass to a container. You can\n\t\t\tspecify up to ten environment files. The file must have a .env file\n\t\t\textension. Each line in an environment file should contain an environment variable in\n\t\t\t\tVARIABLE=VALUE format. Lines beginning with # are treated\n\t\t\tas comments and are ignored. For more information about the environment variable file\n\t\t\tsyntax, see Declare default\n\t\t\t\tenvironment variables in file.

                                      \n\t\t

                                      If there are environment variables specified using the environment\n\t\t\tparameter in a container definition, they take precedence over the variables contained\n\t\t\twithin an environment file. If multiple environment files are specified that contain the\n\t\t\tsame variable, they're processed from the top down. We recommend that you use unique\n\t\t\tvariable names. For more information, see Specifying environment\n\t\t\t\tvariables in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      This parameter is only supported for tasks hosted on Fargate using the\n\t\t\tfollowing platform versions:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Linux platform version 1.4.0 or later.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#EnvironmentFileType": { @@ -3685,7 +3715,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.

                                      \n\t\t \n\t\t\t

                                      This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform\n\t\t\t\t\t\tversion 1.4.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform\n\t\t\t\t\t\tversion 1.0.0 or later.

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

                                      The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.

                                      \n\t\t \n\t\t\t

                                      This parameter is only supported for tasks hosted on Fargate using\n\t\t\t\tthe following platform versions:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform version 1.4.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#ExecuteCommand": { @@ -3758,7 +3788,7 @@ "cloudWatchEncryptionEnabled": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not to enable encryption on the CloudWatch logs. If not specified,\n\t\t\tencryption will be disabled.

                                      " + "smithy.api#documentation": "

                                      Determines whether to enable encryption on the CloudWatch logs. If not specified,\n\t\t\tencryption will be disabled.

                                      " } }, "s3BucketName": { @@ -3770,7 +3800,7 @@ "s3EncryptionEnabled": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not to use encryption on the S3 logs. If not specified,\n\t\t\tencryption is not used.

                                      " + "smithy.api#documentation": "

                                      Determines whether to use encryption on the S3 logs. If not specified, encryption is\n\t\t\tnot used.

                                      " } }, "s3KeyPrefix": { @@ -3865,7 +3895,7 @@ "interactive": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not the execute command session is running in interactive mode. Amazon ECS only\n\t\t\tsupports initiating interactive sessions, so you must specify true for this\n\t\t\tvalue.

                                      " + "smithy.api#documentation": "

                                      Determines whether the execute command session is running in interactive mode. Amazon ECS\n\t\t\tonly supports initiating interactive sessions, so you must specify true for\n\t\t\tthis value.

                                      " } }, "session": { @@ -3930,7 +3960,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using Amazon FSx for Windows File Server file system for task\n\t\t\tstorage.

                                      \n\t\t

                                      For more information and the input format, see Amazon FSx for Windows File Server Volumes\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      This parameter is specified when you're using Amazon FSx for Windows File Server file system for task\n\t\t\tstorage.

                                      \n\t\t

                                      For more information and the input format, see Amazon FSx for Windows File Server Volumes\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#Failure": { @@ -4022,7 +4052,7 @@ "command": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      A string array representing the command that the container runs to determine if it is\n\t\t\thealthy. The string array must start with CMD to execute the command\n\t\t\targuments directly, or CMD-SHELL to run the command with the container's\n\t\t\tdefault shell.

                                      \n\t\t

                                      When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, you should enclose the list of commands in brackets, as shown below.

                                      \n\t\t

                                      \n\t\t\t [ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]\n\t\t

                                      \n\t\t

                                      You do not need to include the brackets when you use the Amazon Web Services Management Consoleas shown below.

                                      \n\t\t

                                      \n\t\t\t \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" \n\t\t

                                      \n\t\t

                                      An exit code of 0 indicates success, and non-zero exit code indicates failure. For\n\t\t\tmore information, see HealthCheck in the Create a container\n\t\t\tsection of the Docker Remote API.

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

                                      A string array representing the command that the container runs to determine if it is\n\t\t\thealthy. The string array must start with CMD to execute the command\n\t\t\targuments directly, or CMD-SHELL to run the command with the container's\n\t\t\tdefault shell.

                                      \n\t\t

                                      When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list\n\t\t\tof commands in brackets.

                                      \n\t\t

                                      \n\t\t\t [ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]\n\t\t

                                      \n\t\t

                                      You don't need to include the brackets when you use the Amazon Web Services Management Console.

                                      \n\t\t

                                      \n\t\t\t \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" \n\t\t

                                      \n\t\t

                                      An exit code of 0 indicates success, and non-zero exit code indicates failure. For\n\t\t\tmore information, see HealthCheck in the Create a container\n\t\t\tsection of the Docker Remote API.

                                      ", "smithy.api#required": {} } }, @@ -4047,12 +4077,12 @@ "startPeriod": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The optional grace period within which to provide containers time to bootstrap before\n\t\t\tfailed health checks count towards the maximum number of retries. You may specify\n\t\t\tbetween 0 and 300 seconds. The startPeriod is disabled by default.

                                      \n\t\t \n\t\t\t

                                      If a health check succeeds within the startPeriod, then the container\n\t\t\t\tis considered healthy and any subsequent failures count toward the maximum number of\n\t\t\t\tretries.

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

                                      The optional grace period to provide containers time to bootstrap before failed health\n\t\t\tchecks count towards the maximum number of retries. You can specify between 0 and 300\n\t\t\tseconds. By default, the startPeriod is disabled.

                                      \n\t\t \n\t\t\t

                                      If a health check succeeds within the startPeriod, then the container\n\t\t\t\tis considered healthy and any subsequent failures count toward the maximum number of\n\t\t\t\tretries.

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

                                      An object representing a container health check. Health check parameters that are\n\t\t\tspecified in a container definition override any Docker health checks that exist in the\n\t\t\tcontainer image (such as those specified in a parent image or from the image's\n\t\t\tDockerfile).

                                      \n\t\t

                                      You can view the health status of both individual containers and a task with the\n\t\t\tDescribeTasks API operation or when viewing the task details in the console.

                                      \n\t\t

                                      The following describes the possible healthStatus values for a\n\t\t\tcontainer:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n HEALTHY-The container health check has passed\n\t\t\t\t\tsuccessfully.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNHEALTHY-The container health check has failed.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNKNOWN-The container health check is being evaluated or\n\t\t\t\t\tthere is no container health check defined.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      The following describes the possible healthStatus values for a task. The\n\t\t\tcontainer health check status of nonessential containers do not have an effect on the\n\t\t\thealth status of a task.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n HEALTHY-All essential containers within the task have\n\t\t\t\t\tpassed their health checks.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNHEALTHY-One or more essential containers have failed\n\t\t\t\t\ttheir health check.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNKNOWN-The essential containers within the task are still\n\t\t\t\t\thaving their health checks evaluated or there are no container health checks\n\t\t\t\t\tdefined.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      If a task is run manually, and not as part of a service, the task will continue its\n\t\t\tlifecycle regardless of its health status. For tasks that are part of a service, if the\n\t\t\ttask reports as unhealthy then the task will be stopped and the service scheduler will\n\t\t\treplace it.

                                      \n\t\t

                                      The following are notes about container health check support:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Container health checks require version 1.17.0 or greater of the Amazon ECS\n\t\t\t\t\tcontainer agent. For more information, see Updating the\n\t\t\t\t\t\tAmazon ECS Container Agent.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Container health checks are supported for Fargate tasks if you\n\t\t\t\t\tare using platform version 1.1.0 or greater. For more information, see Fargate\n\t\t\t\t\t\tPlatform Versions.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Container health checks are not supported for tasks that are part of a service\n\t\t\t\t\tthat is configured to use a Classic Load Balancer.

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

                                      An object representing a container health check. Health check parameters that are\n\t\t\tspecified in a container definition override any Docker health checks that exist in the\n\t\t\tcontainer image (such as those specified in a parent image or from the image's\n\t\t\tDockerfile).

                                      \n\t\t

                                      You can view the health status of both individual containers and a task with the\n\t\t\tDescribeTasks API operation or when viewing the task details in the console.

                                      \n\t\t

                                      The following describes the possible healthStatus values for a\n\t\t\tcontainer:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n HEALTHY-The container health check has passed\n\t\t\t\t\tsuccessfully.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNHEALTHY-The container health check has failed.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNKNOWN-The container health check is being evaluated or\n\t\t\t\t\tthere's no container health check defined.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      The following describes the possible healthStatus values for a task. The\n\t\t\tcontainer health check status of nonessential containers do not have an effect on the\n\t\t\thealth status of a task.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n HEALTHY-All essential containers within the task have\n\t\t\t\t\tpassed their health checks.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNHEALTHY-One or more essential containers have failed\n\t\t\t\t\ttheir health check.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n UNKNOWN-The essential containers within the task are still\n\t\t\t\t\thaving their health checks evaluated or there are no container health checks\n\t\t\t\t\tdefined.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      If a task is run manually, and not as part of a service, the task will continue its\n\t\t\tlifecycle regardless of its health status. For tasks that are part of a service, if the\n\t\t\ttask reports as unhealthy then the task will be stopped and the service scheduler will\n\t\t\treplace it.

                                      \n\t\t

                                      The following are notes about container health check support:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Container health checks require version 1.17.0 or greater of the Amazon ECS\n\t\t\t\t\tcontainer agent. For more information, see Updating the\n\t\t\t\t\t\tAmazon ECS Container Agent.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Container health checks are supported for Fargate tasks if\n\t\t\t\t\tyou're using platform version 1.1.0 or greater. For more information, see Fargate\n\t\t\t\t\t\tPlatform Versions.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Container health checks aren't supported for tasks that are part of a service\n\t\t\t\t\tthat's configured to use a Classic Load Balancer.

                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#HealthStatus": { @@ -4108,7 +4138,7 @@ "sourcePath": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      When the host parameter is used, specify a sourcePath to\n\t\t\tdeclare the path on the host container instance that is presented to the container. If\n\t\t\tthis parameter is empty, then the Docker daemon has assigned a host path for you. If the\n\t\t\t\thost parameter contains a sourcePath file location, then\n\t\t\tthe data volume persists at the specified location on the host container instance until\n\t\t\tyou delete it manually. If the sourcePath value does not exist on the host\n\t\t\tcontainer instance, the Docker daemon creates it. If the location does exist, the\n\t\t\tcontents of the source path folder are exported.

                                      \n\t\t

                                      If you are using the Fargate launch type, the sourcePath\n\t\t\tparameter is not supported.

                                      " + "smithy.api#documentation": "

                                      When the host parameter is used, specify a sourcePath to\n\t\t\tdeclare the path on the host container instance that's presented to the container. If\n\t\t\tthis parameter is empty, then the Docker daemon has assigned a host path for you. If the\n\t\t\t\thost parameter contains a sourcePath file location, then\n\t\t\tthe data volume persists at the specified location on the host container instance until\n\t\t\tyou delete it manually. If the sourcePath value doesn't exist on the host\n\t\t\tcontainer instance, the Docker daemon creates it. If the location does exist, the\n\t\t\tcontents of the source path folder are exported.

                                      \n\t\t

                                      If you're using the Fargate launch type, the sourcePath\n\t\t\tparameter is not supported.

                                      " } } }, @@ -4135,7 +4165,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Details on a Elastic Inference accelerator. For more information, see Working with\n\t\t\t\tAmazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Details on an Elastic Inference accelerator. For more information, see Working with Amazon Elastic Inference on\n\t\t\t\tAmazon ECS in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#InferenceAcceleratorOverride": { @@ -4155,7 +4185,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Details on an Elastic Inference accelerator task override. This parameter is used to\n\t\t\toverride the Elastic Inference accelerator specified in the task definition. For more\n\t\t\tinformation, see Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Details on an Elastic Inference accelerator task override. This parameter is used to\n\t\t\toverride the Elastic Inference accelerator specified in the task definition. For more\n\t\t\tinformation, see Working with Amazon\n\t\t\t\tElastic Inference on Amazon ECS in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#InferenceAcceleratorOverrides": { @@ -4170,6 +4200,78 @@ "target": "com.amazonaws.ecs#InferenceAccelerator" } }, + "com.amazonaws.ecs#InstanceHealthCheckResult": { + "type": "structure", + "members": { + "type": { + "target": "com.amazonaws.ecs#InstanceHealthCheckType", + "traits": { + "smithy.api#documentation": "

                                      The type of container instance health status that was verified.

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

                                      The container instance health status.

                                      " + } + }, + "lastUpdated": { + "target": "com.amazonaws.ecs#Timestamp", + "traits": { + "smithy.api#documentation": "

                                      The Unix timestamp for when the container instance health status was last\n\t\t\tupdated.

                                      " + } + }, + "lastStatusChange": { + "target": "com.amazonaws.ecs#Timestamp", + "traits": { + "smithy.api#documentation": "

                                      The Unix timestamp for when the container instance health status last changed.

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

                                      An object representing the result of a container instance health status check.

                                      " + } + }, + "com.amazonaws.ecs#InstanceHealthCheckResultList": { + "type": "list", + "member": { + "target": "com.amazonaws.ecs#InstanceHealthCheckResult" + } + }, + "com.amazonaws.ecs#InstanceHealthCheckState": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "OK", + "name": "OK" + }, + { + "value": "IMPAIRED", + "name": "IMPAIRED" + }, + { + "value": "INSUFFICIENT_DATA", + "name": "INSUFFICIENT_DATA" + }, + { + "value": "INITIALIZING", + "name": "INITIALIZING" + } + ] + } + }, + "com.amazonaws.ecs#InstanceHealthCheckType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CONTAINER_RUNTIME", + "name": "CONTAINER_RUNTIME" + } + ] + } + }, "com.amazonaws.ecs#Integer": { "type": "integer" }, @@ -4181,7 +4283,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified parameter is invalid. Review the available parameters for the API\n\t\t\trequest.

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

                                      The specified parameter isn't valid. Review the available parameters for the API\n\t\t\trequest.

                                      ", "smithy.api#error": "client" } }, @@ -4221,7 +4323,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The Linux capabilities for the container that are added to or dropped from the default\n\t\t\tconfiguration provided by Docker. For more information on the default capabilities and\n\t\t\tthe non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run\n\t\t\t\treference. For more detailed information on these Linux capabilities, see\n\t\t\tthe capabilities(7) Linux manual page.

                                      " + "smithy.api#documentation": "

                                      The Linux capabilities for the container that are added to or dropped from the default\n\t\t\tconfiguration provided by Docker. For more information about the default capabilities\n\t\t\tand the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run\n\t\t\t\treference. For more detailed information about these Linux capabilities,\n\t\t\tsee the capabilities(7) Linux manual page.

                                      " } }, "com.amazonaws.ecs#KeyValuePair": { @@ -4271,7 +4373,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The limit for the resource has been exceeded.

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

                                      The limit for the resource was exceeded.

                                      ", "smithy.api#error": "client" } }, @@ -4287,7 +4389,7 @@ "devices": { "target": "com.amazonaws.ecs#DevicesList", "traits": { - "smithy.api#documentation": "

                                      Any host devices to expose to the container. This parameter maps to\n\t\t\t\tDevices in the Create a container section of the\n\t\t\tDocker Remote API and the --device option to docker run.

                                      \n\t\t \n\t\t\t

                                      If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tdevices parameter is not supported.

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

                                      Any host devices to expose to the container. This parameter maps to\n\t\t\t\tDevices in the Create a container section of the\n\t\t\tDocker Remote API and the --device option to docker run.

                                      \n\t\t \n\t\t\t

                                      If you're using tasks that use the Fargate launch type, the\n\t\t\t\t\tdevices parameter isn't supported.

                                      \n\t\t
                                      " } }, "initProcessEnabled": { @@ -4305,19 +4407,19 @@ "tmpfs": { "target": "com.amazonaws.ecs#TmpfsList", "traits": { - "smithy.api#documentation": "

                                      The container path, mount options, and size (in MiB) of the tmpfs mount. This\n\t\t\tparameter maps to the --tmpfs option to docker run.

                                      \n\t\t \n\t\t\t

                                      If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\ttmpfs parameter is not supported.

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

                                      The container path, mount options, and size (in MiB) of the tmpfs mount. This\n\t\t\tparameter maps to the --tmpfs option to docker run.

                                      \n\t\t \n\t\t\t

                                      If you're using tasks that use the Fargate launch type, the\n\t\t\t\t\ttmpfs parameter isn't supported.

                                      \n\t\t
                                      " } }, "maxSwap": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The total amount of swap memory (in MiB) a container can use. This parameter will be\n\t\t\ttranslated to the --memory-swap option to docker run where the value would be the sum of\n\t\t\tthe container memory plus the maxSwap value.

                                      \n\t\t

                                      If a maxSwap value of 0 is specified, the container will not\n\t\t\tuse swap. Accepted values are 0 or any positive integer. If the\n\t\t\t\tmaxSwap parameter is omitted, the container will use the swap\n\t\t\tconfiguration for the container instance it is running on. A maxSwap value\n\t\t\tmust be set for the swappiness parameter to be used.

                                      \n\t\t \n\t\t\t

                                      If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tmaxSwap parameter is not supported.

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

                                      The total amount of swap memory (in MiB) a container can use. This parameter will be\n\t\t\ttranslated to the --memory-swap option to docker run where the value would be the sum of\n\t\t\tthe container memory plus the maxSwap value.

                                      \n\t\t

                                      If a maxSwap value of 0 is specified, the container will not\n\t\t\tuse swap. Accepted values are 0 or any positive integer. If the\n\t\t\t\tmaxSwap parameter is omitted, the container will use the swap\n\t\t\tconfiguration for the container instance it is running on. A maxSwap value\n\t\t\tmust be set for the swappiness parameter to be used.

                                      \n\t\t \n\t\t\t

                                      If you're using tasks that use the Fargate launch type, the\n\t\t\t\t\tmaxSwap parameter isn't supported.

                                      \n\t\t
                                      " } }, "swappiness": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      This allows you to tune a container's memory swappiness behavior. A\n\t\t\t\tswappiness value of 0 will cause swapping to not happen\n\t\t\tunless absolutely necessary. A swappiness value of 100 will\n\t\t\tcause pages to be swapped very aggressively. Accepted values are whole numbers between\n\t\t\t\t0 and 100. If the swappiness parameter is not\n\t\t\tspecified, a default value of 60 is used. If a value is not specified for\n\t\t\t\tmaxSwap then this parameter is ignored. This parameter maps to the\n\t\t\t\t--memory-swappiness option to docker run.

                                      \n\t\t \n\t\t\t

                                      If you are using tasks that use the Fargate launch type, the\n\t\t\t\t\tswappiness parameter is not supported.

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

                                      This allows you to tune a container's memory swappiness behavior. A\n\t\t\t\tswappiness value of 0 will cause swapping to not happen\n\t\t\tunless absolutely necessary. A swappiness value of 100 will\n\t\t\tcause pages to be swapped very aggressively. Accepted values are whole numbers between\n\t\t\t\t0 and 100. If the swappiness parameter is not\n\t\t\tspecified, a default value of 60 is used. If a value is not specified for\n\t\t\t\tmaxSwap then this parameter is ignored. This parameter maps to the\n\t\t\t\t--memory-swappiness option to docker run.

                                      \n\t\t \n\t\t\t

                                      If you're using tasks that use the Fargate launch type, the\n\t\t\t\t\tswappiness parameter isn't supported.

                                      \n\t\t
                                      " } } }, @@ -4366,7 +4468,7 @@ "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The value of the account settings with which to filter results. You must also specify\n\t\t\tan account setting name to use this parameter.

                                      " + "smithy.api#documentation": "

                                      The value of the account settings to filter results with. You must also specify an\n\t\t\taccount setting name to use this parameter.

                                      " } }, "principalArn": { @@ -4378,19 +4480,19 @@ "effectiveSettings": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to return the effective settings. If true, the account\n\t\t\tsettings for the root user or the default setting for the principalArn are\n\t\t\treturned. If false, the account settings for the principalArn\n\t\t\tare returned if they are set. Otherwise, no account settings are returned.

                                      " + "smithy.api#documentation": "

                                      Determines whether to return the effective settings. If true, the account\n\t\t\tsettings for the root user or the default setting for the principalArn are\n\t\t\treturned. If false, the account settings for the principalArn\n\t\t\tare returned if they're set. Otherwise, no account settings are returned.

                                      " } }, "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListAccountSettings\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListAccountSettings\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it's possible the number\n\t\t\tof results to be fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

                                      The maximum number of account setting results returned by\n\t\t\t\tListAccountSettings in paginated output. When this parameter is used,\n\t\t\t\tListAccountSettings only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another ListAccountSettings\n\t\t\trequest with the returned nextToken value. This value can be between\n\t\t\t1 and 10. If this\n\t\t\tparameter is not used, then ListAccountSettings returns up to\n\t\t\t10 results and a nextToken value\n\t\t\tif applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of account setting results returned by\n\t\t\t\tListAccountSettings in paginated output. When this parameter is used,\n\t\t\t\tListAccountSettings only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another ListAccountSettings\n\t\t\trequest with the returned nextToken value. This value can be between\n\t\t\t1 and 10. If this\n\t\t\tparameter isn't used, then ListAccountSettings returns up to\n\t\t\t10 results and a nextToken value\n\t\t\tif applicable.

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

                                      Lists the attributes for Amazon ECS resources within a specified target type and cluster.\n\t\t\tWhen you specify a target type and cluster, ListAttributes returns a list\n\t\t\tof attribute objects, one for each attribute on each resource. You can filter the list\n\t\t\tof results to a single attribute name to only return results that have that name. You\n\t\t\tcan also filter the results by attribute name and value, for example, to see which\n\t\t\tcontainer instances in a cluster are running a Linux AMI\n\t\t\t(ecs.os-type=linux).

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

                                      Lists the attributes for Amazon ECS resources within a specified target type and cluster.\n\t\t\tWhen you specify a target type and cluster, ListAttributes returns a list\n\t\t\tof attribute objects, one for each attribute on each resource. You can filter the list\n\t\t\tof results to a single attribute name to only return results that have that name. You\n\t\t\tcan also filter the results by attribute name and value. You can do this, for example,\n\t\t\tto see which container instances in a cluster are running a Linux AMI\n\t\t\t\t(ecs.os-type=linux).

                                      ", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4450,32 +4552,32 @@ "targetType": { "target": "com.amazonaws.ecs#TargetType", "traits": { - "smithy.api#documentation": "

                                      The type of the target with which to list attributes.

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

                                      The type of the target to list attributes with.

                                      ", "smithy.api#required": {} } }, "attributeName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of the attribute with which to filter the results.

                                      " + "smithy.api#documentation": "

                                      The name of the attribute to filter the results with.

                                      " } }, "attributeValue": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The value of the attribute with which to filter results. You must also specify an\n\t\t\tattribute name to use this parameter.

                                      " + "smithy.api#documentation": "

                                      The value of the attribute to filter results with. You must also specify an attribute\n\t\t\tname to use this parameter.

                                      " } }, "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListAttributes request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListAttributes request\n\t\t\tindicating that more results are available to fulfill the request and further calls are\n\t\t\tneeded. If maxResults was provided, it's possible the number of results to\n\t\t\tbe fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of cluster results returned by ListAttributes in\n\t\t\tpaginated output. When this parameter is used, ListAttributes only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListAttributes request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter is not used, then ListAttributes returns up to\n\t\t\t100 results and a nextToken value if applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of cluster results that ListAttributes returned in\n\t\t\tpaginated output. When this parameter is used, ListAttributes only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListAttributes request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter isn't used, then ListAttributes returns up to\n\t\t\t100 results and a nextToken value if applicable.

                                      " } } } @@ -4532,13 +4634,13 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListClusters request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListClusters request\n\t\t\tindicating that more results are available to fulfill the request and further calls are\n\t\t\tneeded. If maxResults was provided, it's possible the number of results to\n\t\t\tbe fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of cluster results returned by ListClusters in\n\t\t\tpaginated output. When this parameter is used, ListClusters only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListClusters request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter is not used, then ListClusters returns up to\n\t\t\t100 results and a nextToken value if applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of cluster results that ListClusters returned in\n\t\t\tpaginated output. When this parameter is used, ListClusters only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListClusters request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter isn't used, then ListClusters returns up to 100\n\t\t\tresults and a nextToken value if applicable.

                                      " } } } @@ -4549,7 +4651,7 @@ "clusterArns": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The list of full Amazon Resource Name (ARN) entries for each cluster associated with your\n\t\t\taccount.

                                      " + "smithy.api#documentation": "

                                      The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your\n\t\t\taccount.

                                      " } }, "nextToken": { @@ -4610,19 +4712,19 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListContainerInstances\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListContainerInstances\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls are needed. If maxResults was provided, it's possible the number of\n\t\t\tresults to be fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of container instance results returned by\n\t\t\t\tListContainerInstances in paginated output. When this parameter is\n\t\t\tused, ListContainerInstances only returns maxResults results\n\t\t\tin a single page along with a nextToken response element. The remaining\n\t\t\tresults of the initial request can be seen by sending another\n\t\t\t\tListContainerInstances request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If this\n\t\t\tparameter is not used, then ListContainerInstances returns up to\n\t\t\t100 results and a nextToken value if applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of container instance results that\n\t\t\t\tListContainerInstances returned in paginated output. When this\n\t\t\tparameter is used, ListContainerInstances only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListContainerInstances request with the returned\n\t\t\t\tnextToken value. This value can be between 1 and\n\t\t\t100. If this parameter isn't used, then\n\t\t\t\tListContainerInstances returns up to 100 results and\n\t\t\ta nextToken value if applicable.

                                      " } }, "status": { "target": "com.amazonaws.ecs#ContainerInstanceStatus", "traits": { - "smithy.api#documentation": "

                                      Filters the container instances by status. For example, if you specify the\n\t\t\t\tDRAINING status, the results include only container instances that have\n\t\t\tbeen set to DRAINING using UpdateContainerInstancesState.\n\t\t\tIf you do not specify this parameter, the default is to include container instances set\n\t\t\tto all states other than INACTIVE.

                                      " + "smithy.api#documentation": "

                                      Filters the container instances by status. For example, if you specify the\n\t\t\t\tDRAINING status, the results include only container instances that have\n\t\t\tbeen set to DRAINING using UpdateContainerInstancesState.\n\t\t\tIf you don't specify this parameter, the default is to include container instances set\n\t\t\tto all states other than INACTIVE.

                                      " } } } @@ -4688,13 +4790,13 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListServices request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListServices request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of service results returned by ListServices in\n\t\t\tpaginated output. When this parameter is used, ListServices only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListServices request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If\n\t\t\tthis parameter is not used, then ListServices returns up to\n\t\t\t10 results and a nextToken value if\n\t\t\tapplicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of service results that ListServices returned in\n\t\t\tpaginated output. When this parameter is used, ListServices only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListServices request with the returned nextToken\n\t\t\tvalue. This value can be between 1 and 100. If\n\t\t\tthis parameter isn't used, then ListServices returns up to\n\t\t\t10 results and a nextToken value if\n\t\t\tapplicable.

                                      " } }, "launchType": { @@ -4717,7 +4819,7 @@ "serviceArns": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The list of full ARN entries for each service associated with the specified\n\t\t\tcluster.

                                      " + "smithy.api#documentation": "

                                      The list of full ARN entries for each service that's associated with the specified\n\t\t\tcluster.

                                      " } }, "nextToken": { @@ -4760,7 +4862,7 @@ "resourceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the\n\t\t\tsupported resources are Amazon ECS tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

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

                                      The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the\n\t\t\tsupported resources are Amazon ECS tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

                                      ", "smithy.api#required": {} } } @@ -4797,7 +4899,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Returns a list of task definition families that are registered to your account (which\n\t\t\tmay include task definition families that no longer have any ACTIVE task\n\t\t\tdefinition revisions).

                                      \n\t\t

                                      You can filter out task definition families that do not contain any\n\t\t\t\tACTIVE task definition revisions by setting the status\n\t\t\tparameter to ACTIVE. You can also filter the results with the\n\t\t\t\tfamilyPrefix parameter.

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

                                      Returns a list of task definition families that are registered to your account. This\n\t\t\tlist includes task definition families that no longer have any ACTIVE task\n\t\t\tdefinition revisions.

                                      \n\t\t

                                      You can filter out task definition families that don't contain any ACTIVE\n\t\t\ttask definition revisions by setting the status parameter to\n\t\t\t\tACTIVE. You can also filter the results with the\n\t\t\t\tfamilyPrefix parameter.

                                      ", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -4812,25 +4914,25 @@ "familyPrefix": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The familyPrefix is a string that is used to filter the results of\n\t\t\t\tListTaskDefinitionFamilies. If you specify a familyPrefix,\n\t\t\tonly task definition family names that begin with the familyPrefix string\n\t\t\tare returned.

                                      " + "smithy.api#documentation": "

                                      The familyPrefix is a string that's used to filter the results of\n\t\t\t\tListTaskDefinitionFamilies. If you specify a familyPrefix,\n\t\t\tonly task definition family names that begin with the familyPrefix string\n\t\t\tare returned.

                                      " } }, "status": { "target": "com.amazonaws.ecs#TaskDefinitionFamilyStatus", "traits": { - "smithy.api#documentation": "

                                      The task definition family status with which to filter the\n\t\t\t\tListTaskDefinitionFamilies results. By default, both\n\t\t\t\tACTIVE and INACTIVE task definition families are listed.\n\t\t\tIf this parameter is set to ACTIVE, only task definition families that have\n\t\t\tan ACTIVE task definition revision are returned. If this parameter is set\n\t\t\tto INACTIVE, only task definition families that do not have any\n\t\t\t\tACTIVE task definition revisions are returned. If you paginate the\n\t\t\tresulting output, be sure to keep the status value constant in each\n\t\t\tsubsequent request.

                                      " + "smithy.api#documentation": "

                                      The task definition family status to filter the\n\t\t\t\tListTaskDefinitionFamilies results with. By default, both\n\t\t\t\tACTIVE and INACTIVE task definition families are listed.\n\t\t\tIf this parameter is set to ACTIVE, only task definition families that have\n\t\t\tan ACTIVE task definition revision are returned. If this parameter is set\n\t\t\tto INACTIVE, only task definition families that do not have any\n\t\t\t\tACTIVE task definition revisions are returned. If you paginate the\n\t\t\tresulting output, be sure to keep the status value constant in each\n\t\t\tsubsequent request.

                                      " } }, "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a\n\t\t\t\tListTaskDefinitionFamilies request indicating that more results are\n\t\t\tavailable to fulfill the request and further calls will be needed. If\n\t\t\t\tmaxResults was provided, it is possible the number of results to be\n\t\t\tfewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a\n\t\t\t\tListTaskDefinitionFamilies request indicating that more results are\n\t\t\tavailable to fulfill the request and further calls will be needed. If\n\t\t\t\tmaxResults was provided, it is possible the number of results to be\n\t\t\tfewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of task definition family results returned by\n\t\t\t\tListTaskDefinitionFamilies in paginated output. When this parameter is\n\t\t\tused, ListTaskDefinitions only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another\n\t\t\t\tListTaskDefinitionFamilies request with the returned\n\t\t\t\tnextToken value. This value can be between 1 and\n\t\t\t100. If this parameter is not used, then\n\t\t\t\tListTaskDefinitionFamilies returns up to 100 results\n\t\t\tand a nextToken value if applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of task definition family results that\n\t\t\t\tListTaskDefinitionFamilies returned in paginated output. When this\n\t\t\tparameter is used, ListTaskDefinitions only returns maxResults\n\t\t\tresults in a single page along with a nextToken response element. The\n\t\t\tremaining results of the initial request can be seen by sending another\n\t\t\t\tListTaskDefinitionFamilies request with the returned\n\t\t\t\tnextToken value. This value can be between 1 and\n\t\t\t100. If this parameter isn't used, then\n\t\t\t\tListTaskDefinitionFamilies returns up to 100 results\n\t\t\tand a nextToken value if applicable.

                                      " } } } @@ -4887,31 +4989,31 @@ "familyPrefix": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The full family name with which to filter the ListTaskDefinitions\n\t\t\tresults. Specifying a familyPrefix limits the listed task definitions to\n\t\t\ttask definition revisions that belong to that family.

                                      " + "smithy.api#documentation": "

                                      The full family name to filter the ListTaskDefinitions results with.\n\t\t\tSpecifying a familyPrefix limits the listed task definitions to task\n\t\t\tdefinition revisions that belong to that family.

                                      " } }, "status": { "target": "com.amazonaws.ecs#TaskDefinitionStatus", "traits": { - "smithy.api#documentation": "

                                      The task definition status with which to filter the ListTaskDefinitions\n\t\t\tresults. By default, only ACTIVE task definitions are listed. By setting\n\t\t\tthis parameter to INACTIVE, you can view task definitions that are\n\t\t\t\tINACTIVE as long as an active task or service still references them. If\n\t\t\tyou paginate the resulting output, be sure to keep the status value\n\t\t\tconstant in each subsequent request.

                                      " + "smithy.api#documentation": "

                                      The task definition status to filter the ListTaskDefinitions results\n\t\t\twith. By default, only ACTIVE task definitions are listed. By setting this\n\t\t\tparameter to INACTIVE, you can view task definitions that are\n\t\t\t\tINACTIVE as long as an active task or service still references them. If\n\t\t\tyou paginate the resulting output, be sure to keep the status value\n\t\t\tconstant in each subsequent request.

                                      " } }, "sort": { "target": "com.amazonaws.ecs#SortOrder", "traits": { - "smithy.api#documentation": "

                                      The order in which to sort the results. Valid values are ASC and\n\t\t\t\tDESC. By default (ASC), task definitions are listed\n\t\t\tlexicographically by family name and in ascending numerical order by revision so that\n\t\t\tthe newest task definitions in a family are listed last. Setting this parameter to\n\t\t\t\tDESC reverses the sort order on family name and revision so that the\n\t\t\tnewest task definitions in a family are listed first.

                                      " + "smithy.api#documentation": "

                                      The order to sort the results in. Valid values are ASC and\n\t\t\t\tDESC. By default, (ASC) task definitions are listed\n\t\t\tlexicographically by family name and in ascending numerical order by revision so that\n\t\t\tthe newest task definitions in a family are listed last. Setting this parameter to\n\t\t\t\tDESC reverses the sort order on family name and revision. This is so\n\t\t\tthat the newest task definitions in a family are listed first.

                                      " } }, "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListTaskDefinitions\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListTaskDefinitions\n\t\t\trequest indicating that more results are available to fulfill the request and further\n\t\t\tcalls will be needed. If maxResults was provided, it is possible the number\n\t\t\tof results to be fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of task definition results returned by\n\t\t\t\tListTaskDefinitions in paginated output. When this parameter is used,\n\t\t\t\tListTaskDefinitions only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another ListTaskDefinitions\n\t\t\trequest with the returned nextToken value. This value can be between\n\t\t\t1 and 100. If this parameter is not used, then\n\t\t\t\tListTaskDefinitions returns up to 100 results and a\n\t\t\t\tnextToken value if applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of task definition results that ListTaskDefinitions\n\t\t\treturned in paginated output. When this parameter is used,\n\t\t\t\tListTaskDefinitions only returns maxResults results in a\n\t\t\tsingle page along with a nextToken response element. The remaining results\n\t\t\tof the initial request can be seen by sending another ListTaskDefinitions\n\t\t\trequest with the returned nextToken value. This value can be between\n\t\t\t1 and 100. If this parameter isn't used, then\n\t\t\t\tListTaskDefinitions returns up to 100 results and a\n\t\t\t\tnextToken value if applicable.

                                      " } } } @@ -4992,19 +5094,19 @@ "nextToken": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The nextToken value returned from a ListTasks request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it is possible the number of results\n\t\t\tto be fewer than maxResults.

                                      \n \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

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

                                      The nextToken value returned from a ListTasks request\n\t\t\tindicating that more results are available to fulfill the request and further calls will\n\t\t\tbe needed. If maxResults was provided, it's possible the number of results\n\t\t\tto be fewer than maxResults.

                                      \n\t\t \n

                                      This token should be treated as an opaque identifier that is only used to\n retrieve the next items in a list and not for other programmatic purposes.

                                      \n
                                      " } }, "maxResults": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The maximum number of task results returned by ListTasks in paginated\n\t\t\toutput. When this parameter is used, ListTasks only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListTasks request with the returned nextToken value.\n\t\t\tThis value can be between 1 and 100. If this parameter is\n\t\t\tnot used, then ListTasks returns up to 100 results and a\n\t\t\t\tnextToken value if applicable.

                                      " + "smithy.api#documentation": "

                                      The maximum number of task results that ListTasks returned in paginated\n\t\t\toutput. When this parameter is used, ListTasks only returns\n\t\t\t\tmaxResults results in a single page along with a nextToken\n\t\t\tresponse element. The remaining results of the initial request can be seen by sending\n\t\t\tanother ListTasks request with the returned nextToken value.\n\t\t\tThis value can be between 1 and 100. If this parameter\n\t\t\tisn't used, then ListTasks returns up to 100 results and\n\t\t\ta nextToken value if applicable.

                                      " } }, "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The startedBy value with which to filter the task results. Specifying a\n\t\t\t\tstartedBy value limits the results to tasks that were started with that\n\t\t\tvalue.

                                      " + "smithy.api#documentation": "

                                      The startedBy value to filter the task results with. Specifying a\n\t\t\t\tstartedBy value limits the results to tasks that were started with that\n\t\t\tvalue.

                                      " } }, "serviceName": { @@ -5016,7 +5118,7 @@ "desiredStatus": { "target": "com.amazonaws.ecs#DesiredStatus", "traits": { - "smithy.api#documentation": "

                                      The task desired status to use when filtering the ListTasks results.\n\t\t\tSpecifying a desiredStatus of STOPPED limits the results to\n\t\t\ttasks that Amazon ECS has set the desired status to STOPPED. This can be useful\n\t\t\tfor debugging tasks that are not starting properly or have died or finished. The default\n\t\t\tstatus filter is RUNNING, which shows tasks that Amazon ECS has set the desired\n\t\t\tstatus to RUNNING.

                                      \n\t\t \n\t\t\t

                                      Although you can filter results based on a desired status of PENDING,\n\t\t\t\tthis does not return any results. Amazon ECS never sets the desired status of a task to\n\t\t\t\tthat value (only a task's lastStatus may have a value of\n\t\t\t\t\tPENDING).

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

                                      The task desired status to use when filtering the ListTasks results.\n\t\t\tSpecifying a desiredStatus of STOPPED limits the results to\n\t\t\ttasks that Amazon ECS has set the desired status to STOPPED. This can be useful\n\t\t\tfor debugging tasks that aren't starting properly or have died or finished. The default\n\t\t\tstatus filter is RUNNING, which shows tasks that Amazon ECS has set the desired\n\t\t\tstatus to RUNNING.

                                      \n\t\t \n\t\t\t

                                      Although you can filter results based on a desired status of PENDING,\n\t\t\t\tthis doesn't return any results. Amazon ECS never sets the desired status of a task to\n\t\t\t\tthat value (only a task's lastStatus may have a value of\n\t\t\t\t\tPENDING).

                                      \n\t\t
                                      " } }, "launchType": { @@ -5050,7 +5152,7 @@ "targetGroupArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or\n\t\t\ttask set.

                                      \n\t\t

                                      A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you are using a\n\t\t\tClassic Load Balancer the target group ARN should be omitted.

                                      \n\t\t

                                      For services using the ECS deployment controller, you can specify one or\n\t\t\tmultiple target groups. For more information, see Registering Multiple Target Groups with a Service in\n\t\t\tthe Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      For services using the CODE_DEPLOY deployment controller, you are\n\t\t\trequired to define two target groups for the load balancer. For more information, see\n\t\t\t\tBlue/Green Deployment with CodeDeploy in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      If your service's task definition uses the awsvpc network mode (which\n\t\t\t\tis required for the Fargate launch type), you must choose\n\t\t\t\t\tip as the target type, not instance, when creating\n\t\t\t\tyour target groups because tasks that use the awsvpc network mode are\n\t\t\t\tassociated with an elastic network interface, not an Amazon EC2 instance.

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

                                      The full Amazon Resource Name (ARN) of the Elastic Load Balancing target group or groups associated with a service or\n\t\t\ttask set.

                                      \n\t\t

                                      A target group ARN is only specified when using an Application Load Balancer or Network Load Balancer. If you're using a\n\t\t\tClassic Load Balancer, omit the target group ARN.

                                      \n\t\t

                                      For services using the ECS deployment controller, you can specify one or\n\t\t\tmultiple target groups. For more information, see Registering Multiple Target Groups with a Service in\n\t\t\tthe Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      For services using the CODE_DEPLOY deployment controller, you're required\n\t\t\tto define two target groups for the load balancer. For more information, see Blue/Green Deployment with CodeDeploy in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      If your service's task definition uses the awsvpc network mode, you\n\t\t\t\tmust choose ip as the target type, not instance. Do this\n\t\t\t\twhen creating your target groups because tasks that use the awsvpc\n\t\t\t\tnetwork mode are associated with an elastic network interface, not an Amazon EC2\n\t\t\t\tinstance. This network mode is required for the Fargate launch\n\t\t\t\ttype.

                                      \n\t\t
                                      " } }, "loadBalancerName": { @@ -5068,7 +5170,7 @@ "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port on the container to associate with the load balancer. This port must\n\t\t\tcorrespond to a containerPort in the task definition the tasks in the\n\t\t\tservice are using. For tasks that use the EC2 launch type, the container\n\t\t\tinstance they are launched on must allow ingress traffic on the hostPort of\n\t\t\tthe port mapping.

                                      " + "smithy.api#documentation": "

                                      The port on the container to associate with the load balancer. This port must\n\t\t\tcorrespond to a containerPort in the task definition the tasks in the\n\t\t\tservice are using. For tasks that use the EC2 launch type, the container\n\t\t\tinstance they're launched on must allow ingress traffic on the hostPort of\n\t\t\tthe port mapping.

                                      " } } }, @@ -5088,7 +5190,7 @@ "logDriver": { "target": "com.amazonaws.ecs#LogDriver", "traits": { - "smithy.api#documentation": "

                                      The log driver to use for the container.

                                      \n\t\t

                                      For tasks on Fargate, the supported log drivers are awslogs,\n\t\t\t\tsplunk, and awsfirelens.

                                      \n\t\t

                                      For tasks hosted on Amazon EC2 instances, the supported log drivers are\n\t\t\t\tawslogs, fluentd, gelf,\n\t\t\t\tjson-file, journald,\n\t\t\t\tlogentries,syslog, splunk, and\n\t\t\t\tawsfirelens.

                                      \n\t\t

                                      For more information about using the awslogs log driver, see Using\n\t\t\t\tthe awslogs log driver in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      For more information about using the awsfirelens log driver, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      If you have a custom driver that is not listed, you can fork the Amazon ECS container\n\t\t\t\tagent project that is available\n\t\t\t\t\ton GitHub and customize it to work with that driver. We encourage you to\n\t\t\t\tsubmit pull requests for changes that you would like to have included. However, we\n\t\t\t\tdo not currently provide support for running modified copies of this\n\t\t\t\tsoftware.

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

                                      The log driver to use for the container.

                                      \n\t\t

                                      For tasks on Fargate, the supported log drivers are awslogs,\n\t\t\t\tsplunk, and awsfirelens.

                                      \n\t\t

                                      For tasks hosted on Amazon EC2 instances, the supported log drivers are\n\t\t\t\tawslogs, fluentd, gelf,\n\t\t\t\tjson-file, journald,\n\t\t\t\tlogentries,syslog, splunk, and\n\t\t\t\tawsfirelens.

                                      \n\t\t

                                      For more information about using the awslogs log driver, see Using\n\t\t\t\tthe awslogs log driver in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      For more information about using the awsfirelens log driver, see Custom log routing in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      If you have a custom driver that isn't listed, you can fork the Amazon ECS container\n\t\t\t\tagent project that's available\n\t\t\t\t\ton GitHub and customize it to work with that driver. We encourage you to\n\t\t\t\tsubmit pull requests for changes that you would like to have included. However, we\n\t\t\t\tdon't currently provide support for running modified copies of this software.

                                      \n\t\t
                                      ", "smithy.api#required": {} } }, @@ -5106,7 +5208,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The log configuration for the container. This parameter maps to LogConfig\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\t--log-driver option to \n docker\n\t\t\t\t\trun\n .

                                      \n\t\t

                                      By default, containers use the same logging driver that the Docker daemon uses;\n\t\t\thowever the container may use a different logging driver than the Docker daemon by\n\t\t\tspecifying a log driver configuration in the container definition. For more information\n\t\t\ton the options for different supported log drivers, see Configure logging\n\t\t\t\tdrivers in the Docker documentation.

                                      \n\t\t

                                      The following should be noted when specifying a log configuration for your\n\t\t\tcontainers:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Amazon ECS currently supports a subset of the logging drivers available to the\n\t\t\t\t\tDocker daemon (shown in the valid values below). Additional log drivers may be\n\t\t\t\t\tavailable in future releases of the Amazon ECS container agent.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        This parameter requires version 1.18 of the Docker Remote API or greater on\n\t\t\t\t\tyour container instance.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        For tasks hosted on Amazon EC2 instances, the Amazon ECS container agent must register\n\t\t\t\t\tthe available logging drivers with the\n\t\t\t\t\t\tECS_AVAILABLE_LOGGING_DRIVERS environment variable before\n\t\t\t\t\tcontainers placed on that instance can use these log configuration options. For\n\t\t\t\t\tmore information, see Amazon ECS container agent configuration in the\n\t\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        For tasks on Fargate, because you do not have access to the underlying\n\t\t\t\t\tinfrastructure your tasks are hosted on, any additional software needed will\n\t\t\t\t\thave to be installed outside of the task. For example, the Fluentd output\n\t\t\t\t\taggregators or a remote host running Logstash to send Gelf logs to.

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

                                      The log configuration for the container. This parameter maps to LogConfig\n\t\t\tin the Create a container section of the Docker Remote API and the\n\t\t\t\t--log-driver option to \n docker\n\t\t\t\t\trun\n .

                                      \n\t\t

                                      By default, containers use the same logging driver that the Docker daemon uses.\n\t\t\tHowever, the container might use a different logging driver than the Docker daemon by\n\t\t\tspecifying a log driver configuration in the container definition. For more information\n\t\t\tabout the options for different supported log drivers, see Configure logging\n\t\t\t\tdrivers in the Docker documentation.

                                      \n\t\t

                                      Understand the following when specifying a log configuration for your\n\t\t\tcontainers.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Amazon ECS currently supports a subset of the logging drivers available to the\n\t\t\t\t\tDocker daemon (shown in the valid values below). Additional log drivers may be\n\t\t\t\t\tavailable in future releases of the Amazon ECS container agent.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        This parameter requires version 1.18 of the Docker Remote API or greater on\n\t\t\t\t\tyour container instance.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must\n\t\t\t\t\tregister the available logging drivers with the\n\t\t\t\t\t\tECS_AVAILABLE_LOGGING_DRIVERS environment variable before\n\t\t\t\t\tcontainers placed on that instance can use these log configuration options. For\n\t\t\t\t\tmore information, see Amazon ECS container agent configuration in the\n\t\t\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        For tasks that are on Fargate, because you don't have access to the\n\t\t\t\t\tunderlying infrastructure your tasks are hosted on, any additional software\n\t\t\t\t\tneeded must be installed outside of the task. For example, the Fluentd output\n\t\t\t\t\taggregators or a remote host running Logstash to send Gelf logs to.

                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#LogConfigurationOptionsMap": { @@ -5166,7 +5268,7 @@ "lastStartedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the managed agent was last started.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the managed agent was last started.

                                      " } }, "name": { @@ -5209,7 +5311,7 @@ "containerName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of the container associated with the managed agent.

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

                                      The name of the container that's associated with the managed agent.

                                      ", "smithy.api#required": {} } }, @@ -5256,25 +5358,25 @@ "status": { "target": "com.amazonaws.ecs#ManagedScalingStatus", "traits": { - "smithy.api#documentation": "

                                      Whether or not to enable managed scaling for the capacity provider.

                                      " + "smithy.api#documentation": "

                                      Determines whether to enable managed scaling for the capacity provider.

                                      " } }, "targetCapacity": { "target": "com.amazonaws.ecs#ManagedScalingTargetCapacity", "traits": { - "smithy.api#documentation": "

                                      The target capacity value for the capacity provider. The specified value must be\n\t\t\tgreater than 0 and less than or equal to 100. A value of\n\t\t\t\t100 will result in the Amazon EC2 instances in your Auto Scaling group being\n\t\t\tcompletely utilized.

                                      " + "smithy.api#documentation": "

                                      The target capacity value for the capacity provider. The specified value must be\n\t\t\tgreater than 0 and less than or equal to 100. A value of\n\t\t\t\t100 results in the Amazon EC2 instances in your Auto Scaling group being\n\t\t\tcompletely used.

                                      " } }, "minimumScalingStepSize": { "target": "com.amazonaws.ecs#ManagedScalingStepSize", "traits": { - "smithy.api#documentation": "

                                      The minimum number of container instances that Amazon ECS will scale in or scale out at one\n\t\t\ttime. If this parameter is omitted, the default value of 1 is used.

                                      " + "smithy.api#documentation": "

                                      The minimum number of container instances that Amazon ECS scales in or scales out at one\n\t\t\ttime. If this parameter is omitted, the default value of 1 is used.

                                      " } }, "maximumScalingStepSize": { "target": "com.amazonaws.ecs#ManagedScalingStepSize", "traits": { - "smithy.api#documentation": "

                                      The maximum number of container instances that Amazon ECS will scale in or scale out at one\n\t\t\ttime. If this parameter is omitted, the default value of 10000 is\n\t\t\tused.

                                      " + "smithy.api#documentation": "

                                      The maximum number of container instances that Amazon ECS scales in or scales out at one\n\t\t\ttime. If this parameter is omitted, the default value of 10000 is\n\t\t\tused.

                                      " } }, "instanceWarmupPeriod": { @@ -5285,7 +5387,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The managed scaling settings for the Auto Scaling group capacity provider.

                                      \n\t\t

                                      When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of\n\t\t\tthe Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an\n\t\t\tAmazon ECS-managed CloudWatch metric with the specified targetCapacity value as the\n\t\t\ttarget value for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If managed scaling is disabled, the user must manage the scaling of the Auto Scaling\n\t\t\tgroup.

                                      " + "smithy.api#documentation": "

                                      The managed scaling settings for the Auto Scaling group capacity provider.

                                      \n\t\t

                                      When managed scaling is enabled, Amazon ECS manages the scale-in and scale-out actions of\n\t\t\tthe Auto Scaling group. Amazon ECS manages a target tracking scaling policy using an Amazon ECS\n\t\t\tmanaged CloudWatch metric with the specified targetCapacity value as the target\n\t\t\tvalue for the metric. For more information, see Using Managed Scaling in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      If managed scaling is disabled, the user must manage the scaling of the Auto Scaling\n\t\t\tgroup.

                                      " } }, "com.amazonaws.ecs#ManagedScalingInstanceWarmupPeriod": { @@ -5356,7 +5458,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Amazon ECS is unable to determine the current version of the Amazon ECS container agent on the\n\t\t\tcontainer instance and does not have enough information to proceed with an update. This\n\t\t\tcould be because the agent running on the container instance is an older or custom\n\t\t\tversion that does not use our version information.

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

                                      Amazon ECS can't determine the current version of the Amazon ECS container agent on the\n\t\t\tcontainer instance and doesn't have enough information to proceed with an update. This\n\t\t\tcould be because the agent running on the container instance is a previous or custom\n\t\t\tversion that doesn't use our version information.

                                      ", "smithy.api#error": "client" } }, @@ -5383,7 +5485,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Details on a volume mount point that is used in a container definition.

                                      " + "smithy.api#documentation": "

                                      Details for a volume mount point that's used in a container definition.

                                      " } }, "com.amazonaws.ecs#MountPointList": { @@ -5404,13 +5506,13 @@ "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port number on the container that is used with the network binding.

                                      " + "smithy.api#documentation": "

                                      The port number on the container that's used with the network binding.

                                      " } }, "hostPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port number on the host that is used with the network binding.

                                      " + "smithy.api#documentation": "

                                      The port number on the host that's used with the network binding.

                                      " } }, "protocol": { @@ -5436,7 +5538,7 @@ "awsvpcConfiguration": { "target": "com.amazonaws.ecs#AwsVpcConfiguration", "traits": { - "smithy.api#documentation": "

                                      The VPC subnets and security groups associated with a task.

                                      \n\t\t \n\t\t\t

                                      All specified subnets and security groups must be from the same VPC.

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

                                      The VPC subnets and security groups that are associated with a task.

                                      \n\t\t \n\t\t\t

                                      All specified subnets and security groups must be from the same VPC.

                                      \n\t\t
                                      " } } }, @@ -5507,7 +5609,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      There is no update available for this Amazon ECS container agent. This could be because the\n\t\t\tagent is already running the latest version, or it is so old that there is no update\n\t\t\tpath to the current version.

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

                                      There's no update available for this Amazon ECS container agent. This might be because the\n\t\t\tagent is already running the latest version or because it's so old that there's no\n\t\t\tupdate path to the current version.

                                      ", "smithy.api#error": "client" } }, @@ -5582,7 +5684,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      An object representing a constraint on task placement. For more information, see\n\t\t\t\tTask Placement Constraints in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      If you are using the Fargate launch type, task placement constraints\n\t\t\t\tare not supported.

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

                                      An object representing a constraint on task placement. For more information, see\n\t\t\t\tTask Placement Constraints in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      If you're using the Fargate launch type, task placement constraints\n\t\t\t\taren't supported.

                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#PlacementConstraintType": { @@ -5618,13 +5720,13 @@ "type": { "target": "com.amazonaws.ecs#PlacementStrategyType", "traits": { - "smithy.api#documentation": "

                                      The type of placement strategy. The random placement strategy randomly\n\t\t\tplaces tasks on available candidates. The spread placement strategy spreads\n\t\t\tplacement across available candidates evenly based on the field parameter.\n\t\t\tThe binpack strategy places tasks on available candidates that have the\n\t\t\tleast available amount of the resource that is specified with the field\n\t\t\tparameter. For example, if you binpack on memory, a task is placed on the instance with\n\t\t\tthe least amount of remaining memory (but still enough to run the task).

                                      " + "smithy.api#documentation": "

                                      The type of placement strategy. The random placement strategy randomly\n\t\t\tplaces tasks on available candidates. The spread placement strategy spreads\n\t\t\tplacement across available candidates evenly based on the field parameter.\n\t\t\tThe binpack strategy places tasks on available candidates that have the\n\t\t\tleast available amount of the resource that's specified with the field\n\t\t\tparameter. For example, if you binpack on memory, a task is placed on the instance with\n\t\t\tthe least amount of remaining memory but still enough to run the task.

                                      " } }, "field": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The field to apply the placement strategy against. For the spread\n\t\t\tplacement strategy, valid values are instanceId (or host,\n\t\t\twhich has the same effect), or any platform or custom attribute that is applied to a\n\t\t\tcontainer instance, such as attribute:ecs.availability-zone. For the\n\t\t\t\tbinpack placement strategy, valid values are cpu and\n\t\t\t\tmemory. For the random placement strategy, this field is\n\t\t\tnot used.

                                      " + "smithy.api#documentation": "

                                      The field to apply the placement strategy against. For the spread\n\t\t\tplacement strategy, valid values are instanceId (or host,\n\t\t\twhich has the same effect), or any platform or custom attribute that's applied to a\n\t\t\tcontainer instance, such as attribute:ecs.availability-zone. For the\n\t\t\t\tbinpack placement strategy, valid values are cpu and\n\t\t\t\tmemory. For the random placement strategy, this field is\n\t\t\tnot used.

                                      " } } }, @@ -5657,14 +5759,14 @@ "id": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The ID for the GPU(s) on the container instance. The available GPU IDs can also be\n\t\t\tobtained on the container instance in the\n\t\t\t\t/var/lib/ecs/gpu/nvidia_gpu_info.json file.

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

                                      The ID for the GPUs on the container instance. The available GPU IDs can also be\n\t\t\tobtained on the container instance in the\n\t\t\t\t/var/lib/ecs/gpu/nvidia_gpu_info.json file.

                                      ", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.ecs#PlatformDeviceType", "traits": { - "smithy.api#documentation": "

                                      The type of device that is available on the container instance. The only supported\n\t\t\tvalue is GPU.

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

                                      The type of device that's available on the container instance. The only supported\n\t\t\tvalue is GPU.

                                      ", "smithy.api#required": {} } } @@ -5698,7 +5800,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified platform version does not satisfy the task definition's required\n\t\t\tcapabilities.

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

                                      The specified platform version doesn't satisfy the required capabilities of the task\n\t\t\tdefinition.

                                      ", "smithy.api#error": "client" } }, @@ -5710,7 +5812,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified platform version does not exist.

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

                                      The specified platform version doesn't exist.

                                      ", "smithy.api#error": "client" } }, @@ -5720,13 +5822,13 @@ "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port number on the container that is bound to the user-specified or automatically\n\t\t\tassigned host port.

                                      \n\t\t

                                      If you are using containers in a task with the awsvpc or\n\t\t\t\thost network mode, exposed ports should be specified using\n\t\t\t\tcontainerPort.

                                      \n\t\t

                                      If you are using containers in a task with the bridge network mode and\n\t\t\tyou specify a container port and not a host port, your container automatically receives\n\t\t\ta host port in the ephemeral port range. For more information, see\n\t\t\thostPort. Port mappings that are automatically assigned in this way do not\n\t\t\tcount toward the 100 reserved ports limit of a container instance.

                                      " + "smithy.api#documentation": "

                                      The port number on the container that's bound to the user-specified or automatically\n\t\t\tassigned host port.

                                      \n\t\t

                                      If you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, specify the exposed ports using containerPort.

                                      \n\t\t

                                      If you use containers in a task with the bridge network mode and you\n\t\t\tspecify a container port and not a host port, your container automatically receives a\n\t\t\thost port in the ephemeral port range. For more information, see hostPort.\n\t\t\tPort mappings that are automatically assigned in this way do not count toward the 100\n\t\t\treserved ports limit of a container instance.

                                      " } }, "hostPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port number on the container instance to reserve for your container.

                                      \n\t\t

                                      If you are using containers in a task with the awsvpc or\n\t\t\t\thost network mode, the hostPort can either be left blank\n\t\t\tor set to the same value as the containerPort.

                                      \n\t\t

                                      If you are using containers in a task with the bridge network mode, you\n\t\t\tcan specify a non-reserved host port for your container port mapping, or you can omit\n\t\t\tthe hostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.

                                      \n\t\t

                                      The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.

                                      \n\t\t \n\t\t\t

                                      The default ephemeral port range from 49153 through 65535 is always used for\n\t\t\t\tDocker versions before 1.6.0.

                                      \n\t\t
                                      \n\t\t

                                      The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running (after a task stops, the host\n\t\t\tport is released). The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time, including the\n\t\t\tdefault reserved ports. Automatically assigned ports don't count toward the 100 reserved\n\t\t\tports limit.

                                      " + "smithy.api#documentation": "

                                      The port number on the container instance to reserve for your container.

                                      \n\t\t

                                      If you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, the hostPort can either be left blank or set to the same\n\t\t\tvalue as the containerPort.

                                      \n\t\t

                                      If you use containers in a task with the bridge network mode, you can\n\t\t\tspecify a non-reserved host port for your container port mapping, or you can omit the\n\t\t\t\thostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.

                                      \n\t\t

                                      The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.

                                      \n\t\t \n\t\t\t

                                      The default ephemeral port range from 49153 through 65535 is always used for\n\t\t\t\tDocker versions before 1.6.0.

                                      \n\t\t
                                      \n\t\t

                                      The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running. That is, after a task stops,\n\t\t\tthe host port is released. The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time. This number\n\t\t\tincludes the default reserved ports. Automatically assigned ports aren't included in the\n\t\t\t100 reserved ports quota.

                                      " } }, "protocol": { @@ -5737,7 +5839,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Port mappings allow containers to access ports on the host container instance to send\n\t\t\tor receive traffic. Port mappings are specified as part of the container\n\t\t\tdefinition.

                                      \n\t\t

                                      If you are using containers in a task with the awsvpc or\n\t\t\t\thost network mode, exposed ports should be specified using\n\t\t\t\tcontainerPort. The hostPort can be left blank or it must\n\t\t\tbe the same value as the containerPort.

                                      \n\t\t \n\t\t\t

                                      You cannot expose the same container port for multiple protocols. An error will be\n\t\t\t\treturned if this is attempted

                                      \n\t\t
                                      \n\t\t

                                      After a task reaches the RUNNING status, manual and automatic host and\n\t\t\tcontainer port assignments are visible in the networkBindings section of\n\t\t\t\tDescribeTasks API responses.

                                      " + "smithy.api#documentation": "

                                      Port mappings allow containers to access ports on the host container instance to send\n\t\t\tor receive traffic. Port mappings are specified as part of the container\n\t\t\tdefinition.

                                      \n\t\t

                                      If you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, specify the exposed ports using containerPort. The\n\t\t\t\thostPort can be left blank or it must be the same value as the\n\t\t\t\tcontainerPort.

                                      \n\t\t \n\t\t\t

                                      You can't expose the same container port for multiple protocols. If you attempt\n\t\t\t\tthis, an error is returned.

                                      \n\t\t
                                      \n\t\t

                                      After a task reaches the RUNNING status, manual and automatic host and\n\t\t\tcontainer port assignments are visible in the networkBindings section of\n\t\t\t\tDescribeTasks API responses.

                                      " } }, "com.amazonaws.ecs#PortMappingList": { @@ -5785,7 +5887,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The configuration details for the App Mesh proxy.

                                      \n\t\t

                                      For tasks using the EC2 launch type, the container instances require at\n\t\t\tleast version 1.26.0 of the container agent and at least version 1.26.0-1 of the\n\t\t\t\tecs-init package to enable a proxy configuration. If your container\n\t\t\tinstances are launched from the Amazon ECS-optimized AMI version 20190301 or\n\t\t\tlater, then they contain the required versions of the container agent and\n\t\t\t\tecs-init. For more information, see Amazon ECS-optimized Linux AMI\n\t\t

                                      " + "smithy.api#documentation": "

                                      The configuration details for the App Mesh proxy.

                                      \n\t\t

                                      For tasks that use the EC2 launch type, the container instances require\n\t\t\tat least version 1.26.0 of the container agent and at least version 1.26.0-1 of the\n\t\t\t\tecs-init package to enable a proxy configuration. If your container\n\t\t\tinstances are launched from the Amazon ECS optimized AMI version 20190301 or\n\t\t\tlater, then they contain the required versions of the container agent and\n\t\t\t\tecs-init. For more information, see Amazon ECS-optimized Linux AMI\n\t\t

                                      " } }, "com.amazonaws.ecs#ProxyConfigurationProperties": { @@ -5825,7 +5927,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Modifies an account setting. Account settings are set on a per-Region basis.

                                      \n\t\t

                                      If you change the account setting for the root user, the default settings for all of\n\t\t\tthe IAM users and roles for which no individual account setting has been specified are\n\t\t\treset. For more information, see Account\n\t\t\t\tSettings in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      When serviceLongArnFormat, taskLongArnFormat, or\n\t\t\t\tcontainerInstanceLongArnFormat are specified, the Amazon Resource Name\n\t\t\t(ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or\n\t\t\tthe root user for an account is affected. The opt-in and opt-out account setting must be\n\t\t\tset for each Amazon ECS resource separately. The ARN and resource ID format of a resource\n\t\t\twill be defined by the opt-in status of the IAM user or role that created the resource.\n\t\t\tYou must enable this setting to use Amazon ECS features such as resource tagging.

                                      \n\t\t

                                      When awsvpcTrunking is specified, the elastic network interface (ENI)\n\t\t\tlimit for any new container instances that support the feature is changed. If\n\t\t\t\tawsvpcTrunking is enabled, any new container instances that support the\n\t\t\tfeature are launched have the increased ENI limits available to them. For more\n\t\t\tinformation, see Elastic Network\n\t\t\t\tInterface Trunking in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      When containerInsights is specified, the default setting indicating\n\t\t\twhether CloudWatch Container Insights is enabled for your clusters is changed. If\n\t\t\t\tcontainerInsights is enabled, any new clusters that are created will\n\t\t\thave Container Insights enabled unless you disable it during cluster creation. For more\n\t\t\tinformation, see CloudWatch\n\t\t\t\tContainer Insights in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Modifies an account setting. Account settings are set on a per-Region basis.

                                      \n\t\t

                                      If you change the account setting for the root user, the default settings for all of\n\t\t\tthe IAM users and roles that no individual account setting was specified are reset for.\n\t\t\tFor more information, see Account\n\t\t\t\tSettings in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      When serviceLongArnFormat, taskLongArnFormat, or\n\t\t\t\tcontainerInstanceLongArnFormat are specified, the Amazon Resource Name\n\t\t\t(ARN) and resource ID format of the resource type for a specified IAM user, IAM role, or\n\t\t\tthe root user for an account is affected. The opt-in and opt-out account setting must be\n\t\t\tset for each Amazon ECS resource separately. The ARN and resource ID format of a resource is\n\t\t\tdefined by the opt-in status of the IAM user or role that created the resource. You must\n\t\t\tenable this setting to use Amazon ECS features such as resource tagging.

                                      \n\t\t

                                      When awsvpcTrunking is specified, the elastic network interface (ENI)\n\t\t\tlimit for any new container instances that support the feature is changed. If\n\t\t\t\tawsvpcTrunking is enabled, any new container instances that support the\n\t\t\tfeature are launched have the increased ENI limits available to them. For more\n\t\t\tinformation, see Elastic Network\n\t\t\t\tInterface Trunking in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      When containerInsights is specified, the default setting indicating\n\t\t\twhether CloudWatch Container Insights is enabled for your clusters is changed. If\n\t\t\t\tcontainerInsights is enabled, any new clusters that are created will\n\t\t\thave Container Insights enabled unless you disable it during cluster creation. For more\n\t\t\tinformation, see CloudWatch\n\t\t\t\tContainer Insights in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#PutAccountSettingDefault": { @@ -5940,7 +6042,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Create or update an attribute on an Amazon ECS resource. If the attribute does not exist,\n\t\t\tit is created. If the attribute exists, its value is replaced with the specified value.\n\t\t\tTo delete an attribute, use DeleteAttributes. For more information,\n\t\t\tsee Attributes in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Create or update an attribute on an Amazon ECS resource. If the attribute doesn't exist,\n\t\t\tit's created. If the attribute exists, its value is replaced with the specified value.\n\t\t\tTo delete an attribute, use DeleteAttributes. For more information,\n\t\t\tsee Attributes in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#PutAttributesRequest": { @@ -5955,7 +6057,7 @@ "attributes": { "target": "com.amazonaws.ecs#Attributes", "traits": { - "smithy.api#documentation": "

                                      The attributes to apply to your resource. You can specify up to 10 custom attributes\n\t\t\tper resource. You can specify up to 10 attributes in a single call.

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

                                      The attributes to apply to your resource. You can specify up to 10 custom attributes\n\t\t\tfor each resource. You can specify up to 10 attributes in a single call.

                                      ", "smithy.api#required": {} } } @@ -6001,7 +6103,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Modifies the available capacity providers and the default capacity provider strategy\n\t\t\tfor a cluster.

                                      \n\t\t

                                      You must specify both the available capacity providers and a default capacity provider\n\t\t\tstrategy for the cluster. If the specified cluster has existing capacity providers\n\t\t\tassociated with it, you must specify all existing capacity providers in addition to any\n\t\t\tnew ones you want to add. Any existing capacity providers associated with a cluster that\n\t\t\tare omitted from a PutClusterCapacityProviders API call will be\n\t\t\tdisassociated with the cluster. You can only disassociate an existing capacity provider\n\t\t\tfrom a cluster if it's not being used by any existing tasks.

                                      \n\t\t

                                      When creating a service or running a task on a cluster, if no capacity provider or\n\t\t\tlaunch type is specified, then the cluster's default capacity provider strategy is used.\n\t\t\tIt is recommended to define a default capacity provider strategy for your cluster,\n\t\t\thowever you may specify an empty array ([]) to bypass defining a default\n\t\t\tstrategy.

                                      " + "smithy.api#documentation": "

                                      Modifies the available capacity providers and the default capacity provider strategy\n\t\t\tfor a cluster.

                                      \n\t\t

                                      You must specify both the available capacity providers and a default capacity provider\n\t\t\tstrategy for the cluster. If the specified cluster has existing capacity providers\n\t\t\tassociated with it, you must specify all existing capacity providers in addition to any\n\t\t\tnew ones you want to add. Any existing capacity providers that are associated with a\n\t\t\tcluster that are omitted from a PutClusterCapacityProviders API call\n\t\t\twill be disassociated with the cluster. You can only disassociate an existing capacity\n\t\t\tprovider from a cluster if it's not being used by any existing tasks.

                                      \n\t\t

                                      When creating a service or running a task on a cluster, if no capacity provider or\n\t\t\tlaunch type is specified, then the cluster's default capacity provider strategy is used.\n\t\t\tWe recommend that you define a default capacity provider strategy for your cluster.\n\t\t\tHowever, you must specify an empty array ([]) to bypass defining a default\n\t\t\tstrategy.

                                      " } }, "com.amazonaws.ecs#PutClusterCapacityProvidersRequest": { @@ -6010,7 +6112,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider\n\t\t\tsettings for. If you do not specify a cluster, the default cluster is assumed.

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

                                      The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider\n\t\t\tsettings for. If you don't specify a cluster, the default cluster is assumed.

                                      ", "smithy.api#required": {} } }, @@ -6061,7 +6163,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n

                                      Registers an EC2\n\t\t\tinstance into the specified cluster. This instance becomes available to place containers\n\t\t\ton.

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

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n\t\t

                                      Registers an EC2 instance into the specified cluster. This instance becomes available\n\t\t\tto place containers on.

                                      " } }, "com.amazonaws.ecs#RegisterContainerInstanceRequest": { @@ -6070,7 +6172,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container\n\t\t\tinstance. If you do not specify a cluster, the default cluster is assumed.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance\n\t\t\twith. If you do not specify a cluster, the default cluster is assumed.

                                      " } }, "instanceIdentityDocument": { @@ -6094,7 +6196,7 @@ "versionInfo": { "target": "com.amazonaws.ecs#VersionInfo", "traits": { - "smithy.api#documentation": "

                                      The version information for the Amazon ECS container agent and Docker daemon running on the\n\t\t\tcontainer instance.

                                      " + "smithy.api#documentation": "

                                      The version information for the Amazon ECS container agent and Docker daemon that runs on\n\t\t\tthe container instance.

                                      " } }, "containerInstanceArn": { @@ -6118,7 +6220,7 @@ "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the container instance to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value, both of which you\n\t\t\tdefine.

                                      \n

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the container instance to help you categorize and\n\t\t\torganize them. Each tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      Registers a new task definition from the supplied family and\n\t\t\t\tcontainerDefinitions. Optionally, you can add data volumes to your\n\t\t\tcontainers with the volumes parameter. For more information about task\n\t\t\tdefinition parameters and defaults, see Amazon ECS Task\n\t\t\t\tDefinitions in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      You can specify an IAM role for your task with the taskRoleArn parameter.\n\t\t\tWhen you specify an IAM role for a task, its containers can then use the latest versions\n\t\t\tof the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in\n\t\t\tthe IAM policy associated with the role. For more information, see IAM\n\t\t\t\tRoles for Tasks in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      You can specify a Docker networking mode for the containers in your task definition\n\t\t\twith the networkMode parameter. The available network modes correspond to\n\t\t\tthose described in Network\n\t\t\t\tsettings in the Docker run reference. If you specify the awsvpc\n\t\t\tnetwork mode, the task is allocated an elastic network interface, and you must specify a\n\t\t\t\tNetworkConfiguration when you create a service or run a task with\n\t\t\tthe task definition. For more information, see Task Networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Registers a new task definition from the supplied family and\n\t\t\t\tcontainerDefinitions. Optionally, you can add data volumes to your\n\t\t\tcontainers with the volumes parameter. For more information about task\n\t\t\tdefinition parameters and defaults, see Amazon ECS Task\n\t\t\t\tDefinitions in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      You can specify an IAM role for your task with the taskRoleArn parameter.\n\t\t\tWhen you specify an IAM role for a task, its containers can then use the latest versions\n\t\t\tof the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in\n\t\t\tthe IAM policy that's associated with the role. For more information, see IAM\n\t\t\t\tRoles for Tasks in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      You can specify a Docker networking mode for the containers in your task definition\n\t\t\twith the networkMode parameter. The available network modes correspond to\n\t\t\tthose described in Network\n\t\t\t\tsettings in the Docker run reference. If you specify the awsvpc\n\t\t\tnetwork mode, the task is allocated an elastic network interface, and you must specify a\n\t\t\t\tNetworkConfiguration when you create a service or run a task with\n\t\t\tthe task definition. For more information, see Task Networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#RegisterTaskDefinitionRequest": { @@ -6163,7 +6265,7 @@ "family": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      You must specify a family for a task definition, which allows you to\n\t\t\ttrack multiple versions of the same task definition. The family is used as\n\t\t\ta name for your task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

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

                                      You must specify a family for a task definition. You can use it track\n\t\t\tmultiple versions of the same task definition. The family is used as a name\n\t\t\tfor your task definition. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.

                                      ", "smithy.api#required": {} } }, @@ -6195,37 +6297,37 @@ "volumes": { "target": "com.amazonaws.ecs#VolumeList", "traits": { - "smithy.api#documentation": "

                                      A list of volume definitions in JSON format that containers in your task may\n\t\t\tuse.

                                      " + "smithy.api#documentation": "

                                      A list of volume definitions in JSON format that containers in your task might\n\t\t\tuse.

                                      " } }, "placementConstraints": { "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraints", "traits": { - "smithy.api#documentation": "

                                      An array of placement constraint objects to use for the task. You can specify a\n\t\t\tmaximum of 10 constraints per task (this limit includes constraints in the task\n\t\t\tdefinition and those specified at runtime).

                                      " + "smithy.api#documentation": "

                                      An array of placement constraint objects to use for the task. You can specify a\n\t\t\tmaximum of 10 constraints for each task. This limit includes constraints in the task\n\t\t\tdefinition and those specified at runtime.

                                      " } }, "requiresCompatibilities": { "target": "com.amazonaws.ecs#CompatibilityList", "traits": { - "smithy.api#documentation": "

                                      The task launch type that Amazon ECS should validate the task definition against. A client\n\t\t\texception is returned if the task definition doesn't validate against the\n\t\t\tcompatibilities specified. If no value is specified, the parameter is omitted from the\n\t\t\tresponse.

                                      " + "smithy.api#documentation": "

                                      The task launch type that Amazon ECS validates the task definition against. A client\n\t\t\texception is returned if the task definition doesn't validate against the\n\t\t\tcompatibilities specified. If no value is specified, the parameter is omitted from the\n\t\t\tresponse.

                                      " } }, "cpu": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits, for example 1024, or as a string using vCPUs, for example 1\n\t\t\t\tvCPU or 1 vcpu, in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.

                                      \n\t\t \n\t\t\t

                                      Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.

                                      \n\t\t
                                      \n\t\t

                                      If you are using the EC2 launch type, this field is optional. Supported\n\t\t\tvalues are between 128 CPU units (0.125 vCPUs) and\n\t\t\t\t10240 CPU units (10 vCPUs).

                                      \n\t\t

                                      If you are using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the memory parameter:

                                      \n
                                        \n
                                      • \n

                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                        \n
                                      • \n
                                      • \n

                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      • \n

                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

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

                                      The number of CPU units used by the task. It can be expressed as an integer using CPU\n\t\t\tunits (for example, 1024) or as a string using vCPUs (for example, 1\n\t\t\t\tvCPU or 1 vcpu) in a task definition. String values are\n\t\t\tconverted to an integer indicating the CPU units when the task definition is\n\t\t\tregistered.

                                      \n\t\t \n\t\t\t

                                      Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.

                                      \n\t\t
                                      \n\t\t

                                      If you're using the EC2 launch type, this field is optional. Supported\n\t\t\tvalues are between 128 CPU units (0.125 vCPUs) and\n\t\t\t\t10240 CPU units (10 vCPUs).

                                      \n\t\t

                                      If you're using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the memory parameter:

                                      \n\t\t

                                      The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.

                                      \n\t\t
                                        \n
                                      • \n

                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                        \n
                                      • \n
                                      • \n

                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      • \n

                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      " } }, "memory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The amount of memory (in MiB) used by the task. It can be expressed as an integer\n\t\t\tusing MiB, for example 1024, or as a string using GB, for example\n\t\t\t\t1GB or 1 GB, in a task definition. String values are\n\t\t\tconverted to an integer indicating the MiB when the task definition is\n\t\t\tregistered.

                                      \n\t\t \n\t\t\t

                                      Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.

                                      \n\t\t
                                      \n\t\t

                                      If using the EC2 launch type, this field is optional.

                                      \n\t\t

                                      If using the Fargate launch type, this field is required and you must\n\t\t\tuse one of the following values, which determines your range of supported values for the\n\t\t\t\tcpu parameter:

                                      \n
                                        \n
                                      • \n

                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

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

                                      The amount of memory (in MiB) used by the task. It can be expressed as an integer\n\t\t\tusing MiB (for example ,1024) or as a string using GB (for example,\n\t\t\t\t1GB or 1 GB) in a task definition. String values are\n\t\t\tconverted to an integer indicating the MiB when the task definition is\n\t\t\tregistered.

                                      \n\t\t \n\t\t\t

                                      Task-level CPU and memory parameters are ignored for Windows containers. We\n\t\t\t\trecommend specifying container-level resources for Windows containers.

                                      \n\t\t
                                      \n\t\t

                                      If using the EC2 launch type, this field is optional.

                                      \n\t\t

                                      If using the Fargate launch type, this field is required and you must\n\t\t\tuse one of the following values. This determines your range of supported values for the\n\t\t\t\tcpu parameter.

                                      \n\t\t

                                      The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.

                                      \n\t\t
                                        \n
                                      • \n

                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                        \n
                                      • \n
                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the task definition to help you categorize and organize\n\t\t\tthem. Each tag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the task definition to help you categorize and organize\n\t\t\tthem. Each tag consists of a key and an optional value. You define both of them.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "pidMode": { @@ -6255,13 +6357,13 @@ "ephemeralStorage": { "target": "com.amazonaws.ecs#EphemeralStorage", "traits": { - "smithy.api#documentation": "

                                      The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.

                                      \n\t\t \n\t\t\t

                                      This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform\n\t\t\t\t\t\tversion 1.4.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform\n\t\t\t\t\t\tversion 1.0.0 or later.

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

                                      The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.

                                      \n\t\t \n\t\t\t

                                      This parameter is only supported for tasks hosted on Fargate using\n\t\t\t\tthe following platform versions:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform version 1.4.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform version 1.0.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      \n\t\t
                                      " } }, "runtimePlatform": { "target": "com.amazonaws.ecs#RuntimePlatform", "traits": { - "smithy.api#documentation": "

                                      The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      When you specify a task definition in a service, this value must match the runtimePlatform value of the service.

                                      " + "smithy.api#documentation": "

                                      The operating system that your tasks definitions run on. A platform family is\n\t\t\tspecified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      When you specify a task definition in a service, this value must match the\n\t\t\t\truntimePlatform value of the service.

                                      " } } } @@ -6289,7 +6391,7 @@ "credentialsParameter": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the secret containing the private repository\n\t\t\tcredentials.

                                      \n\t\t \n\t\t\t

                                      When you are using the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the\n\t\t\t\tsame Region as the task that you are launching then you can use either the full ARN\n\t\t\t\tor the name of the secret. When you are using the Amazon Web Services Management Console, you must specify the\n\t\t\t\tfull ARN of the secret.

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

                                      The Amazon Resource Name (ARN) of the secret containing the private repository\n\t\t\tcredentials.

                                      \n\t\t \n\t\t\t

                                      When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same\n\t\t\t\tRegion as the task that you're launching then you can use either the full ARN or the\n\t\t\t\tname of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the\n\t\t\t\tsecret.

                                      \n\t\t
                                      ", "smithy.api#required": {} } } @@ -6316,7 +6418,7 @@ "type": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The type of the resource, such as INTEGER, DOUBLE,\n\t\t\t\tLONG, or STRINGSET.

                                      " + "smithy.api#documentation": "

                                      The type of the resource. Valid values: INTEGER, DOUBLE,\n\t\t\t\tLONG, or STRINGSET.

                                      " } }, "doubleValue": { @@ -6356,7 +6458,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified resource is in-use and cannot be removed.

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

                                      The specified resource is in-use and can't be removed.

                                      ", "smithy.api#error": "client" } }, @@ -6368,7 +6470,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified resource could not be found.

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

                                      The specified resource wasn't found.

                                      ", "smithy.api#error": "client" } }, @@ -6378,7 +6480,7 @@ "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The value for the specified resource type.

                                      \n\t\t

                                      If the GPU type is used, the value is the number of physical\n\t\t\t\tGPUs the Amazon ECS container agent will reserve for the container. The\n\t\t\tnumber of GPUs reserved for all containers in a task should not exceed the number of\n\t\t\tavailable GPUs on the container instance the task is launched on.

                                      \n\t\t

                                      If the InferenceAccelerator type is used, the value should\n\t\t\tmatch the deviceName for an InferenceAccelerator\n\t\t\tspecified in a task definition.

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

                                      The value for the specified resource type.

                                      \n\t\t

                                      If the GPU type is used, the value is the number of physical\n\t\t\t\tGPUs the Amazon ECS container agent reserves for the container. The number\n\t\t\tof GPUs that's reserved for all containers in a task can't exceed the number of\n\t\t\tavailable GPUs on the container instance that the task is launched on.

                                      \n\t\t

                                      If the InferenceAccelerator type is used, the value matches\n\t\t\tthe deviceName for an InferenceAccelerator specified in a\n\t\t\ttask definition.

                                      ", "smithy.api#required": {} } }, @@ -6391,7 +6493,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The type and amount of a resource to assign to a container. The supported resource\n\t\t\ttypes are GPUs and Elastic Inference accelerators. For more information, see Working with\n\t\t\t\tGPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide\n

                                      " + "smithy.api#documentation": "

                                      The type and amount of a resource to assign to a container. The supported resource\n\t\t\ttypes are GPUs and Elastic Inference accelerators. For more information, see Working with\n\t\t\t\tGPUs on Amazon ECS or Working with\n\t\t\t\tAmazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide\n

                                      " } }, "com.amazonaws.ecs#ResourceRequirements": { @@ -6459,7 +6561,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Starts a new task using the specified task definition.

                                      \n\t\t

                                      You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places\n\t\t\ttasks using placement constraints and placement strategies. For more information, see\n\t\t\t\tScheduling Tasks in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      Alternatively, you can use StartTask to use your own scheduler or\n\t\t\tplace tasks manually on specific container instances.

                                      \n\t\t

                                      The Amazon ECS API follows an eventual consistency model, due to the distributed nature of\n\t\t\tthe system supporting the API. This means that the result of an API command you run that\n\t\t\taffects your Amazon ECS resources might not be immediately visible to all subsequent commands\n\t\t\tyou run. Keep this in mind when you carry out an API command that immediately follows a\n\t\t\tprevious API command.

                                      \n\t\t

                                      To manage eventual consistency, you can do the following:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Confirm the state of the resource before you run a command to modify it. Run\n\t\t\t\t\tthe DescribeTasks command using an exponential backoff algorithm to ensure that\n\t\t\t\t\tyou allow enough time for the previous command to propagate through the system.\n\t\t\t\t\tTo do this, run the DescribeTasks command repeatedly, starting with a couple of\n\t\t\t\t\tseconds of wait time and increasing gradually up to five minutes of wait\n\t\t\t\t\ttime.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Add wait time between subsequent commands, even if the DescribeTasks command\n\t\t\t\t\treturns an accurate response. Apply an exponential backoff algorithm starting\n\t\t\t\t\twith a couple of seconds of wait time, and increase gradually up to about five\n\t\t\t\t\tminutes of wait time.

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

                                      Starts a new task using the specified task definition.

                                      \n\t\t

                                      You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places\n\t\t\ttasks using placement constraints and placement strategies. For more information, see\n\t\t\t\tScheduling Tasks in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      Alternatively, you can use StartTask to use your own scheduler or\n\t\t\tplace tasks manually on specific container instances.

                                      \n\t\t

                                      The Amazon ECS API follows an eventual consistency model. This is because the distributed\n\t\t\tnature of the system supporting the API. This means that the result of an API command\n\t\t\tyou run that affects your Amazon ECS resources might not be immediately visible to all\n\t\t\tsubsequent commands you run. Keep this in mind when you carry out an API command that\n\t\t\timmediately follows a previous API command.

                                      \n\t\t

                                      To manage eventual consistency, you can do the following:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Confirm the state of the resource before you run a command to modify it. Run\n\t\t\t\t\tthe DescribeTasks command using an exponential backoff algorithm to ensure that\n\t\t\t\t\tyou allow enough time for the previous command to propagate through the system.\n\t\t\t\t\tTo do this, run the DescribeTasks command repeatedly, starting with a couple of\n\t\t\t\t\tseconds of wait time and increasing gradually up to five minutes of wait\n\t\t\t\t\ttime.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Add wait time between subsequent commands, even if the DescribeTasks command\n\t\t\t\t\treturns an accurate response. Apply an exponential backoff algorithm starting\n\t\t\t\t\twith a couple of seconds of wait time, and increase gradually up to about five\n\t\t\t\t\tminutes of wait time.

                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#RunTaskRequest": { @@ -6468,19 +6570,19 @@ "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                      The capacity provider strategy to use for the task.

                                      \n\t\t

                                      If a capacityProviderStrategy is specified, the launchType\n\t\t\tparameter must be omitted. If no capacityProviderStrategy or\n\t\t\t\tlaunchType is specified, the\n\t\t\t\tdefaultCapacityProviderStrategy for the cluster is used.

                                      \n\t\t

                                      When you use cluster auto scaling, you must specify capacityProviderStrategy and not launchType.

                                      \n\t\t

                                      A capacity provider strategy may contain a maximum of 6 capacity providers.

                                      " + "smithy.api#documentation": "

                                      The capacity provider strategy to use for the task.

                                      \n\t\t

                                      If a capacityProviderStrategy is specified, the launchType\n\t\t\tparameter must be omitted. If no capacityProviderStrategy or\n\t\t\t\tlaunchType is specified, the\n\t\t\t\tdefaultCapacityProviderStrategy for the cluster is used.

                                      \n\t\t

                                      When you use cluster auto scaling, you must specify\n\t\t\t\tcapacityProviderStrategy and not launchType.

                                      \n\t\t

                                      A capacity provider strategy may contain a maximum of 6 capacity providers.

                                      " } }, "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster on which to run your task.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster to run your task on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " } }, "count": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The number of instantiations of the specified task to place on your cluster. You can\n\t\t\tspecify up to 10 tasks per call.

                                      " + "smithy.api#documentation": "

                                      The number of instantiations of the specified task to place on your cluster. You can\n\t\t\tspecify up to 10 tasks for each call.

                                      " } }, "enableECSManagedTags": { @@ -6492,7 +6594,7 @@ "enableExecuteCommand": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not to enable the execute command functionality for the containers in this\n\t\t\ttask. If true, this enables execute command functionality on all containers\n\t\t\tin the task.

                                      " + "smithy.api#documentation": "

                                      Determines whether to enable the execute command functionality for the containers in\n\t\t\tthis task. If true, this enables execute command functionality on all\n\t\t\tcontainers in the task.

                                      " } }, "group": { @@ -6504,43 +6606,43 @@ "launchType": { "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

                                      The infrastructure on which to run your standalone task. For more information, see\n\t\t\t\tAmazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      The FARGATE launch type runs your tasks on Fargate On-Demand\n\t\t\tinfrastructure.

                                      \n\t\t \n\t\t\t

                                      Fargate Spot infrastructure is available for use but a capacity provider\n\t\t\t\tstrategy must be used. For more information, see Fargate capacity providers in the\n\t\t\t\t\tAmazon ECS User Guide for Fargate.

                                      \n\t\t
                                      \n\t\t

                                      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your\n\t\t\tcluster.

                                      \n\t\t

                                      The EXTERNAL launch type runs your tasks on your on-premise server or\n\t\t\tvirtual machine (VM) capacity registered to your cluster.

                                      \n\t\t

                                      A task can use either a launch type or a capacity provider strategy. If a\n\t\t\t\tlaunchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

                                      \n\t\t

                                      When you use cluster auto scaling, you must specify capacityProviderStrategy and not launchType.

                                      " + "smithy.api#documentation": "

                                      The infrastructure to run your standalone task on. For more information, see Amazon ECS\n\t\t\t\tlaunch types in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      The FARGATE launch type runs your tasks on Fargate On-Demand\n\t\t\tinfrastructure.

                                      \n\t\t \n\t\t\t

                                      Fargate Spot infrastructure is available for use but a capacity provider\n\t\t\t\tstrategy must be used. For more information, see Fargate capacity providers in the\n\t\t\t\t\tAmazon ECS User Guide for Fargate.

                                      \n\t\t
                                      \n\t\t

                                      The EC2 launch type runs your tasks on Amazon EC2 instances registered to your\n\t\t\tcluster.

                                      \n\t\t

                                      The EXTERNAL launch type runs your tasks on your on-premises server or\n\t\t\tvirtual machine (VM) capacity registered to your cluster.

                                      \n\t\t

                                      A task can use either a launch type or a capacity provider strategy. If a\n\t\t\t\tlaunchType is specified, the capacityProviderStrategy\n\t\t\tparameter must be omitted.

                                      \n\t\t

                                      When you use cluster auto scaling, you must specify\n\t\t\t\tcapacityProviderStrategy and not launchType.

                                      " } }, "networkConfiguration": { "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { - "smithy.api#documentation": "

                                      The network configuration for the task. This parameter is required for task\n\t\t\tdefinitions that use the awsvpc network mode to receive their own elastic\n\t\t\tnetwork interface, and it is not supported for other network modes. For more\n\t\t\tinformation, see Task networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The network configuration for the task. This parameter is required for task\n\t\t\tdefinitions that use the awsvpc network mode to receive their own elastic\n\t\t\tnetwork interface, and it isn't supported for other network modes. For more information,\n\t\t\tsee Task networking\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " } }, "overrides": { "target": "com.amazonaws.ecs#TaskOverride", "traits": { - "smithy.api#documentation": "

                                      A list of container overrides in JSON format that specify the name of a container in\n\t\t\tthe specified task definition and the overrides it should receive. You can override the\n\t\t\tdefault command for a container (that is specified in the task definition or Docker\n\t\t\timage) with a command override. You can also override existing environment\n\t\t\tvariables (that are specified in the task definition or Docker image) on a container or\n\t\t\tadd new environment variables to it with an environment override.

                                      \n\t\t

                                      A total of 8192 characters are allowed for overrides. This limit includes the JSON\n\t\t\tformatting characters of the override structure.

                                      " + "smithy.api#documentation": "

                                      A list of container overrides in JSON format that specify the name of a container in\n\t\t\tthe specified task definition and the overrides it should receive. You can override the\n\t\t\tdefault command for a container (that's specified in the task definition or Docker\n\t\t\timage) with a command override. You can also override existing environment\n\t\t\tvariables (that are specified in the task definition or Docker image) on a container or\n\t\t\tadd new environment variables to it with an environment override.

                                      \n\t\t

                                      A total of 8192 characters are allowed for overrides. This limit includes the JSON\n\t\t\tformatting characters of the override structure.

                                      " } }, "placementConstraints": { "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

                                      An array of placement constraint objects to use for the task. You can specify up to 10\n\t\t\tconstraints per task (including constraints in the task definition and those specified\n\t\t\tat runtime).

                                      " + "smithy.api#documentation": "

                                      An array of placement constraint objects to use for the task. You can specify up to 10\n\t\t\tconstraints for each task (including constraints in the task definition and those\n\t\t\tspecified at runtime).

                                      " } }, "placementStrategy": { "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

                                      The placement strategy objects to use for the task. You can specify a maximum of 5\n\t\t\tstrategy rules per task.

                                      " + "smithy.api#documentation": "

                                      The placement strategy objects to use for the task. You can specify a maximum of 5\n\t\t\tstrategy rules for each task.

                                      " } }, "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version the task should use. A platform version is only specified for\n\t\t\ttasks hosted on Fargate. If one is not specified, the LATEST\n\t\t\tplatform version is used by default. For more information, see Fargate platform versions in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The platform version the task uses. A platform version is only specified for tasks\n\t\t\thosted on Fargate. If one isn't specified, the LATEST\n\t\t\tplatform version is used. For more information, see Fargate platform\n\t\t\t\tversions in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "propagateTags": { "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to propagate the tags from the task definition to the task. If no\n\t\t\tvalue is specified, the tags are not propagated. Tags can only be propagated to the task\n\t\t\tduring task creation. To add tags to a task after task creation, use the TagResource API action.

                                      \n\t\t \n\t\t\t

                                      An error will be received if you specify the SERVICE option when\n\t\t\t\trunning a task.

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

                                      Specifies whether to propagate the tags from the task definition to the task. If no\n\t\t\tvalue is specified, the tags aren't propagated. Tags can only be propagated to the task\n\t\t\tduring task creation. To add tags to a task after task creation, use the TagResource API action.

                                      \n\t\t \n\t\t\t

                                      An error will be received if you specify the SERVICE option when\n\t\t\t\trunning a task.

                                      \n\t\t
                                      " } }, "referenceId": { @@ -6552,7 +6654,7 @@ "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens, and underscores are allowed.

                                      \n\t\t

                                      If a task is started by an Amazon ECS service, then the startedBy parameter\n\t\t\tcontains the deployment ID of the service that starts it.

                                      " + "smithy.api#documentation": "

                                      An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens (-), and underscores (_) are allowed.

                                      \n\t\t

                                      If a task is started by an Amazon ECS service, then the startedBy parameter\n\t\t\tcontains the deployment ID of the service that starts it.

                                      " } }, "tags": { @@ -6564,7 +6666,7 @@ "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run. If a revision is not specified,\n\t\t\tthe latest ACTIVE revision is used.

                                      \n\t\t

                                      The full ARN value must match the value that you specified ias the Resource\n\t\t\tof the IAM principal's permissions policy. For example, if the Resource is\n\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the\n\t\t\t\ttaskDefinition ARN value must be\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName.

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

                                      The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run. If a revision isn't specified,\n\t\t\tthe latest ACTIVE revision is used.

                                      \n\t\t

                                      The full ARN value must match the value that you specified as the\n\t\t\t\tResource of the IAM principal's permissions policy. For example, if the\n\t\t\t\tResource is\n\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the\n\t\t\t\ttaskDefinition ARN value must be\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName.

                                      ", "smithy.api#required": {} } } @@ -6681,7 +6783,7 @@ "valueFrom": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The secret to expose to the container. The supported values are either the full ARN of\n\t\t\tthe Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

                                      \n\t\t \n\t\t\t

                                      If the SSM Parameter Store parameter exists in the same Region as the task you\n\t\t\t\tare launching, then you can use either the full ARN or name of the parameter. If the\n\t\t\t\tparameter exists in a different Region, then the full ARN must be specified.

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

                                      The secret to expose to the container. The supported values are either the full ARN of\n\t\t\tthe Secrets Manager secret or the full ARN of the parameter in the SSM Parameter Store.

                                      \n\t\t \n\t\t\t

                                      If the SSM Parameter Store parameter exists in the same Region as the task\n\t\t\t\tyou're launching, then you can use either the full ARN or name of the parameter. If\n\t\t\t\tthe parameter exists in a different Region, then the full ARN must be\n\t\t\t\tspecified.

                                      \n\t\t
                                      ", "smithy.api#required": {} } } @@ -6726,7 +6828,7 @@ "serviceName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of your service. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. Service names must be unique within\n\t\t\ta cluster, but you can have similarly named services in multiple clusters within a\n\t\t\tRegion or across multiple Regions.

                                      " + "smithy.api#documentation": "

                                      The name of your service. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. Service names must be unique within\n\t\t\ta cluster. However, you can have similarly named services in multiple clusters within a\n\t\t\tRegion or across multiple Regions.

                                      " } }, "clusterArn": { @@ -6738,13 +6840,13 @@ "loadBalancers": { "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

                                      A list of Elastic Load Balancing load balancer objects, containing the load balancer name, the\n\t\t\tcontainer name (as it appears in a container definition), and the container port to\n\t\t\taccess from the load balancer.

                                      " + "smithy.api#documentation": "

                                      A list of Elastic Load Balancing load balancer objects. It contains the load balancer name, the\n\t\t\tcontainer name, and the container port to access from the load balancer. The container\n\t\t\tname is as it appears in a container definition.

                                      " } }, "serviceRegistries": { "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

                                      The details of the service discovery registries to assign to this service. For more\n\t\t\tinformation, see Service\n\t\t\t\tDiscovery.

                                      " + "smithy.api#documentation": "

                                      The details for the service discovery registries to assign to this service. For more\n\t\t\tinformation, see Service\n\t\t\t\tDiscovery.

                                      " } }, "status": { @@ -6780,19 +6882,19 @@ "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                      The capacity provider strategy the service is using. When using the DescribeServices\n\t\t\tAPI, this field is omitted if the service was created using a launch type.

                                      " + "smithy.api#documentation": "

                                      The capacity provider strategy the service uses. When using the DescribeServices API,\n\t\t\tthis field is omitted if the service was created using a launch type.

                                      " } }, "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version on which to run your service. A platform version is only\n\t\t\tspecified for tasks hosted on Fargate. If one is not specified, the\n\t\t\t\tLATEST platform version is used by default. For more information, see\n\t\t\t\tFargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The platform version to run your service on. A platform version is only specified for\n\t\t\ttasks that are hosted on Fargate. If one isn't specified, the LATEST\n\t\t\tplatform version is used. For more information, see Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "platformFamily": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The operating system that your tasks in the service are running on. A platform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      All tasks that run as part of this service must use the same platformFamily value as the service, for example, LINUX.

                                      " + "smithy.api#documentation": "

                                      The operating system that your tasks in the service run on. A platform family is\n\t\t\tspecified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      All tasks that run as part of this service must use the same\n\t\t\t\tplatformFamily value as the service (for example,\n\t\t\tLINUX).

                                      " } }, "taskDefinition": { @@ -6822,7 +6924,7 @@ "roleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The ARN of the IAM role associated with the service that allows the Amazon ECS container\n\t\t\tagent to register container instances with an Elastic Load Balancing load balancer.

                                      " + "smithy.api#documentation": "

                                      The ARN of the IAM role that's associated with the service. It allows the Amazon ECS\n\t\t\tcontainer agent to register container instances with an Elastic Load Balancing load balancer.

                                      " } }, "events": { @@ -6834,7 +6936,7 @@ "createdAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the service was created.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the service was created.

                                      " } }, "placementConstraints": { @@ -6864,19 +6966,19 @@ "schedulingStrategy": { "target": "com.amazonaws.ecs#SchedulingStrategy", "traits": { - "smithy.api#documentation": "

                                      The scheduling strategy to use for the service. For more information, see Services.

                                      \n\t\t

                                      There are two service scheduler strategies available:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n REPLICA-The replica scheduling strategy places and\n\t\t\t\t\tmaintains the desired number of tasks across your cluster. By default, the\n\t\t\t\t\tservice scheduler spreads tasks across Availability Zones. You can use task\n\t\t\t\t\tplacement strategies and constraints to customize task placement\n\t\t\t\t\tdecisions.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n DAEMON-The daemon scheduling strategy deploys exactly one\n\t\t\t\t\ttask on each active container instance that meets all of the task placement\n\t\t\t\t\tconstraints that you specify in your cluster. The service scheduler also\n\t\t\t\t\tevaluates the task placement constraints for running tasks and will stop tasks\n\t\t\t\t\tthat do not meet the placement constraints.

                                        \n\t\t\t\t \n\t\t\t\t\t

                                        Fargate tasks do not support the DAEMON\n\t\t\t\t\t\tscheduling strategy.

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

                                      The scheduling strategy to use for the service. For more information, see Services.

                                      \n\t\t

                                      There are two service scheduler strategies available.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        \n REPLICA-The replica scheduling strategy places and\n\t\t\t\t\tmaintains the desired number of tasks across your cluster. By default, the\n\t\t\t\t\tservice scheduler spreads tasks across Availability Zones. You can use task\n\t\t\t\t\tplacement strategies and constraints to customize task placement\n\t\t\t\t\tdecisions.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        \n DAEMON-The daemon scheduling strategy deploys exactly one\n\t\t\t\t\ttask on each active container\n\t\t\t\t\tinstance.\n\t\t\t\t\tThis taskmeets all of the task placement constraints that you\n\t\t\t\t\tspecify in your cluster. The service scheduler also evaluates the task placement\n\t\t\t\t\tconstraints for running tasks. It stop tasks that don't meet the placement\n\t\t\t\t\tconstraints.

                                        \n\t\t\t\t \n\t\t\t\t\t

                                        Fargate tasks don't support the DAEMON\n\t\t\t\t\t\tscheduling strategy.

                                        \n\t\t\t\t
                                        \n\t\t\t
                                      • \n
                                      " } }, "deploymentController": { "target": "com.amazonaws.ecs#DeploymentController", "traits": { - "smithy.api#documentation": "

                                      The deployment controller type the service is using. When using the DescribeServices\n\t\t\tAPI, this field is omitted if the service is using the ECS deployment\n\t\t\tcontroller type.

                                      " + "smithy.api#documentation": "

                                      The deployment controller type the service is using. When using the DescribeServices\n\t\t\tAPI, this field is omitted if the service uses the ECS deployment\n\t\t\tcontroller type.

                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the service to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the service to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value. You define bot the key and\n\t\t\tvalue.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "createdBy": { @@ -6888,19 +6990,19 @@ "enableECSManagedTags": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to enable Amazon ECS managed tags for the tasks in the service. For more\n\t\t\tinformation, see Tagging Your Amazon ECS\n\t\t\t\tResources in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Determines whether to enable Amazon ECS managed tags for the tasks in the service. For more\n\t\t\tinformation, see Tagging Your Amazon ECS\n\t\t\t\tResources in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "propagateTags": { "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttask. If no value is specified, the tags are not propagated.

                                      " + "smithy.api#documentation": "

                                      Determines whether to propagate the tags from the task definition or the service to\n\t\t\tthe task. If no value is specified, the tags aren't propagated.

                                      " } }, "enableExecuteCommand": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not the execute command functionality is enabled for the service. If\n\t\t\t\ttrue, the execute command functionality is enabled for all containers\n\t\t\tin tasks as part of the service.

                                      " + "smithy.api#documentation": "

                                      Determines whether the execute command functionality is enabled for the service. If\n\t\t\t\ttrue, the execute command functionality is enabled for all containers\n\t\t\tin tasks as part of the service.

                                      " } } }, @@ -6914,13 +7016,13 @@ "id": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The ID string of the event.

                                      " + "smithy.api#documentation": "

                                      The ID string for the event.

                                      " } }, "createdAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the event was triggered.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the event was triggered.

                                      " } }, "message": { @@ -6931,7 +7033,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      Details on an event associated with a service.

                                      " + "smithy.api#documentation": "

                                      The details for an event that's associated with a service.

                                      " } }, "com.amazonaws.ecs#ServiceEvents": { @@ -6965,7 +7067,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified service is not active. You can't update a service that is inactive. If\n\t\t\tyou have previously deleted a service, you can re-create it with CreateService.

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

                                      The specified service isn't active. You can't update a service that's inactive. If you\n\t\t\thave previously deleted a service, you can re-create it with CreateService.

                                      ", "smithy.api#error": "client" } }, @@ -6977,7 +7079,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified service could not be found. You can view your available services with\n\t\t\t\tListServices. Amazon ECS services are cluster-specific and\n\t\t\tRegion-specific.

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

                                      The specified service wasn't found. You can view your available services with ListServices. Amazon ECS services are cluster specific and Region\n\t\t\tspecific.

                                      ", "smithy.api#error": "client" } }, @@ -6999,24 +7101,24 @@ "port": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port value used if your service discovery service specified an SRV record. This\n\t\t\tfield may be used if both the awsvpc network mode and SRV records are\n\t\t\tused.

                                      " + "smithy.api#documentation": "

                                      The port value used if your service discovery service specified an SRV record. This\n\t\t\tfield might be used if both the awsvpc network mode and SRV records are\n\t\t\tused.

                                      " } }, "containerName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The container name value, already specified in the task definition, to be used for\n\t\t\tyour service discovery service. If the task definition that your service task specifies\n\t\t\tuses the bridge or host network mode, you must specify a\n\t\t\t\tcontainerName and containerPort combination from the task\n\t\t\tdefinition. If the task definition that your service task specifies uses the\n\t\t\t\tawsvpc network mode and a type SRV DNS record is used, you must specify\n\t\t\teither a containerName and containerPort combination or a\n\t\t\t\tport value, but not both.

                                      " + "smithy.api#documentation": "

                                      The container name value to be used for your service discovery service. It's already\n\t\t\tspecified in the task definition. If the task definition that your service task\n\t\t\tspecifies uses the bridge or host network mode, you must\n\t\t\tspecify a containerName and containerPort combination from the\n\t\t\ttask definition. If the task definition that your service task specifies uses the\n\t\t\t\tawsvpc network mode and a type SRV DNS record is used, you must specify\n\t\t\teither a containerName and containerPort combination or a\n\t\t\t\tport value. However, you can't specify both.

                                      " } }, "containerPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The port value, already specified in the task definition, to be used for your service\n\t\t\tdiscovery service. If the task definition your service task specifies uses the\n\t\t\t\tbridge or host network mode, you must specify a\n\t\t\t\tcontainerName and containerPort combination from the task\n\t\t\tdefinition. If the task definition your service task specifies uses the\n\t\t\t\tawsvpc network mode and a type SRV DNS record is used, you must specify\n\t\t\teither a containerName and containerPort combination or a\n\t\t\t\tport value, but not both.

                                      " + "smithy.api#documentation": "

                                      The port value to be used for your service discovery service. It's already specified\n\t\t\tin the task definition. If the task definition your service task specifies uses the\n\t\t\t\tbridge or host network mode, you must specify a\n\t\t\t\tcontainerName and containerPort combination from the task\n\t\t\tdefinition. If the task definition your service task specifies uses the\n\t\t\t\tawsvpc network mode and a type SRV DNS record is used, you must specify\n\t\t\teither a containerName and containerPort combination or a\n\t\t\t\tport value. However, you can't specify both.

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

                                      Details of the service registry.

                                      " + "smithy.api#documentation": "

                                      The details for the service registry.

                                      " } }, "com.amazonaws.ecs#Services": { @@ -7037,18 +7139,18 @@ "streamUrl": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      A URL back to managed agent on the container that the SSM Session Manager client uses\n\t\t\tto send commands and receive output from the container.

                                      " + "smithy.api#documentation": "

                                      A URL\n\t\t\tback\n\t\t\tto managed agent on the container that the SSM Session Manager client\n\t\t\tuses to send commands and receive output from the container.

                                      " } }, "tokenValue": { "target": "com.amazonaws.ecs#SensitiveString", "traits": { - "smithy.api#documentation": "

                                      An encrypted token value containing session and caller information. Used to\n\t\t\tauthenticate the connection to the container.

                                      " + "smithy.api#documentation": "

                                      An encrypted token value containing session and caller information. It's used to\n\t\t\tauthenticate the connection to the container.

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

                                      The details of the execute command session.

                                      " + "smithy.api#documentation": "

                                      The details for the execute command session.

                                      " } }, "com.amazonaws.ecs#Setting": { @@ -7063,13 +7165,13 @@ "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      Whether the account setting is enabled or disabled for the specified resource.

                                      " + "smithy.api#documentation": "

                                      Determines whether the account setting is enabled or disabled for the specified\n\t\t\tresource.

                                      " } }, "principalArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The ARN of the principal, which can be an IAM user, IAM role, or the root user. If\n\t\t\tthis field is omitted, the authenticated user is assumed.

                                      " + "smithy.api#documentation": "

                                      The ARN of the principal. It can be an IAM user, IAM role, or the root user. If this\n\t\t\tfield is omitted, the authenticated user is assumed.

                                      " } } }, @@ -7172,13 +7274,13 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster where to start your task.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " } }, "containerInstances": { "target": "com.amazonaws.ecs#StringList", "traits": { - "smithy.api#documentation": "

                                      The container instance IDs or full ARN entries for the container instances on which\n\t\t\tyou would like to place your task. You can specify up to 10 container instances.

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

                                      The container instance IDs or full ARN entries for the container instances where you\n\t\t\twould like to place your task. You can specify up to 10 container instances.

                                      ", "smithy.api#required": {} } }, @@ -7209,13 +7311,13 @@ "overrides": { "target": "com.amazonaws.ecs#TaskOverride", "traits": { - "smithy.api#documentation": "

                                      A list of container overrides in JSON format that specify the name of a container in\n\t\t\tthe specified task definition and the overrides it should receive. You can override the\n\t\t\tdefault command for a container (that is specified in the task definition or Docker\n\t\t\timage) with a command override. You can also override existing environment\n\t\t\tvariables (that are specified in the task definition or Docker image) on a container or\n\t\t\tadd new environment variables to it with an environment override.

                                      \n\t\t \n\t\t\t

                                      A total of 8192 characters are allowed for overrides. This limit includes the JSON\n\t\t\t\tformatting characters of the override structure.

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

                                      A list of container overrides in JSON format that specify the name of a container in\n\t\t\tthe specified task definition and the overrides it receives. You can override the\n\t\t\tdefault command for a container (that's specified in the task definition or Docker\n\t\t\timage) with a command override. You can also override existing environment\n\t\t\tvariables (that are specified in the task definition or Docker image) on a container or\n\t\t\tadd new environment variables to it with an environment override.

                                      \n\t\t \n\t\t\t

                                      A total of 8192 characters are allowed for overrides. This limit includes the JSON\n\t\t\t\tformatting characters of the override structure.

                                      \n\t\t
                                      " } }, "propagateTags": { "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

                                      Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttask. If no value is specified, the tags are not propagated.

                                      " + "smithy.api#documentation": "

                                      Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttask. If no value is specified, the tags aren't propagated.

                                      " } }, "referenceId": { @@ -7227,7 +7329,7 @@ "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens, and underscores are allowed.

                                      \n\t\t

                                      If a task is started by an Amazon ECS service, then the startedBy parameter\n\t\t\tcontains the deployment ID of the service that starts it.

                                      " + "smithy.api#documentation": "

                                      An optional tag specified when a task is started. For example, if you automatically\n\t\t\ttrigger a task to run a batch process job, you could apply a unique identifier for that\n\t\t\tjob to your task with the startedBy parameter. You can then identify which\n\t\t\ttasks belong to that job by filtering the results of a ListTasks call\n\t\t\twith the startedBy value. Up to 36 letters (uppercase and lowercase),\n\t\t\tnumbers, hyphens (-), and underscores (_) are allowed.

                                      \n\t\t

                                      If a task is started by an Amazon ECS service, the startedBy parameter\n\t\t\tcontains the deployment ID of the service that starts it.

                                      " } }, "tags": { @@ -7239,7 +7341,7 @@ "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to start. If a revision is not specified,\n\t\t\tthe latest ACTIVE revision is used.

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

                                      The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to start. If a revision isn't specified,\n\t\t\tthe latest ACTIVE revision is used.

                                      ", "smithy.api#required": {} } } @@ -7313,7 +7415,7 @@ "reason": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      An optional message specified when a task is stopped. For example, if you are using a\n\t\t\tcustom scheduler, you can use this parameter to specify the reason for stopping the task\n\t\t\there, and the message appears in subsequent DescribeTasks API\n\t\t\toperations on this task. Up to 255 characters are allowed in this message.

                                      " + "smithy.api#documentation": "

                                      An optional message specified when a task is stopped. For example, if you're using a\n\t\t\tcustom scheduler, you can use this parameter to specify the reason for stopping the task\n\t\t\there, and the message appears in subsequent DescribeTasks API\n\t\t\toperations on this task. Up to 255 characters are allowed in this message.

                                      " } } } @@ -7370,7 +7472,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n

                                      Sent to\n\t\t\tacknowledge that an attachment changed states.

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

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n\t\t

                                      Sent to acknowledge that an attachment changed states.

                                      " } }, "com.amazonaws.ecs#SubmitAttachmentStateChangesRequest": { @@ -7422,7 +7524,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n

                                      Sent to\n\t\t\tacknowledge that a container changed states.

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

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n\t\t

                                      Sent to acknowledge that a container changed states.

                                      " } }, "com.amazonaws.ecs#SubmitContainerStateChangeRequest": { @@ -7461,7 +7563,7 @@ "exitCode": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The exit code returned for the state change request.

                                      " + "smithy.api#documentation": "

                                      The exit code that's returned for the state change request.

                                      " } }, "reason": { @@ -7512,7 +7614,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n

                                      Sent to acknowledge\n\t\t\tthat a task changed states.

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

                                      This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

                                      \n
                                      \n\t\t

                                      Sent to acknowledge that a task changed states.

                                      " } }, "com.amazonaws.ecs#SubmitTaskStateChangeRequest": { @@ -7545,7 +7647,7 @@ "containers": { "target": "com.amazonaws.ecs#ContainerStateChanges", "traits": { - "smithy.api#documentation": "

                                      Any containers associated with the state change request.

                                      " + "smithy.api#documentation": "

                                      Any containers that's associated with the state change request.

                                      " } }, "attachments": { @@ -7557,25 +7659,25 @@ "managedAgents": { "target": "com.amazonaws.ecs#ManagedAgentStateChanges", "traits": { - "smithy.api#documentation": "

                                      The details for the managed agent associated with the task.

                                      " + "smithy.api#documentation": "

                                      The details for the managed agent that's associated with the task.

                                      " } }, "pullStartedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the container image pull began.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the container image pull started.

                                      " } }, "pullStoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the container image pull completed.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the container image pull completed.

                                      " } }, "executionStoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task execution stopped.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task execution stopped.

                                      " } } } @@ -7597,18 +7699,18 @@ "namespace": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The namespaced kernel parameter for which to set a value.

                                      " + "smithy.api#documentation": "

                                      The namespaced kernel parameter to set a value for.

                                      " } }, "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The value for the namespaced kernel parameter specified in\n\t\t\tnamespace.

                                      " + "smithy.api#documentation": "

                                      The value for the namespaced kernel parameter that's specified in\n\t\t\t\tnamespace.

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

                                      A list of namespaced kernel parameters to set in the container. This parameter maps to\n\t\t\t\tSysctls in the Create a container section of the\n\t\t\tDocker Remote API and the --sysctl option to docker run.

                                      \n\t\t

                                      It is not recommended that you specify network-related systemControls\n\t\t\tparameters for multiple containers in a single task that also uses either the\n\t\t\t\tawsvpc or host network mode for the following\n\t\t\treasons:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        For tasks that use the awsvpc network mode, if you set\n\t\t\t\t\t\tsystemControls for any container, it applies to all containers\n\t\t\t\t\tin the task. If you set different systemControls for multiple\n\t\t\t\t\tcontainers in a single task, the container that is started last determines which\n\t\t\t\t\t\tsystemControls take effect.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        For tasks that use the host network mode, the\n\t\t\t\t\t\tsystemControls parameter applies to the container instance's\n\t\t\t\t\tkernel parameter as well as that of all containers of any tasks running on that\n\t\t\t\t\tcontainer instance.

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

                                      A list of namespaced kernel parameters to set in the container. This parameter maps to\n\t\t\t\tSysctls in the Create a container section of the\n\t\t\tDocker Remote API and the --sysctl option to docker run.

                                      \n\t\t

                                      We don't recommend that you specify network-related systemControls\n\t\t\tparameters for multiple containers in a single task. This task also uses either the\n\t\t\t\tawsvpc or host network mode. It does it for the following\n\t\t\treasons.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        For tasks that use the awsvpc network mode, if you set\n\t\t\t\t\t\tsystemControls for any container, it applies to all containers\n\t\t\t\t\tin the task. If you set different systemControls for multiple\n\t\t\t\t\tcontainers in a single task, the container that's started last determines which\n\t\t\t\t\t\tsystemControls take effect.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        For tasks that use the host network mode, the\n\t\t\t\t\t\tsystemControls parameter applies to the container instance's\n\t\t\t\t\tkernel parameter and that of all containers of any tasks running on that\n\t\t\t\t\tcontainer instance.

                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#SystemControls": { @@ -7634,7 +7736,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to a resource to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to a resource to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value. You define them.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "com.amazonaws.ecs#TagKey": { @@ -7679,7 +7781,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Associates the specified tags to a resource with the specified\n\t\t\t\tresourceArn. If existing tags on a resource are not specified in the\n\t\t\trequest parameters, they are not changed. When a resource is deleted, the tags\n\t\t\tassociated with that resource are deleted as well.

                                      " + "smithy.api#documentation": "

                                      Associates the specified tags to a resource with the specified\n\t\t\t\tresourceArn. If existing tags on a resource aren't specified in the\n\t\t\trequest parameters, they aren't changed. When a resource is deleted, the tags that are\n\t\t\tassociated with that resource are deleted as well.

                                      " } }, "com.amazonaws.ecs#TagResourceRequest": { @@ -7688,7 +7790,7 @@ "resourceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources\n\t\t\tare Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

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

                                      The Amazon Resource Name (ARN) of the resource to add tags to. Currently, the supported resources are\n\t\t\tAmazon ECS capacity providers, tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

                                      ", "smithy.api#required": {} } }, @@ -7735,7 +7837,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The target container is not properly configured with the execute command agent or the\n\t\t\tcontainer is no longer active or running.

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

                                      The target container isn't properly configured with the execute command agent or the\n\t\t\tcontainer is no longer active or running.

                                      ", "smithy.api#error": "client" } }, @@ -7747,7 +7849,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified target could not be found. You can view your available container\n\t\t\tinstances with ListContainerInstances. Amazon ECS container instances are\n\t\t\tcluster-specific and Region-specific.

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

                                      The specified target wasn't found. You can view your available container instances\n\t\t\twith ListContainerInstances. Amazon ECS container instances are\n\t\t\tcluster-specific and Region-specific.

                                      ", "smithy.api#error": "client" } }, @@ -7768,7 +7870,7 @@ "attachments": { "target": "com.amazonaws.ecs#Attachments", "traits": { - "smithy.api#documentation": "

                                      The Elastic Network Adapter associated with the task if the task uses the\n\t\t\t\tawsvpc network mode.

                                      " + "smithy.api#documentation": "

                                      The Elastic Network Adapter that's associated with the task if the task uses the\n\t\t\t\tawsvpc network mode.

                                      " } }, "attributes": { @@ -7780,13 +7882,13 @@ "availabilityZone": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The availability zone of the task.

                                      " + "smithy.api#documentation": "

                                      The Availability Zone for the task.

                                      " } }, "capacityProviderName": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The capacity provider associated with the task.

                                      " + "smithy.api#documentation": "

                                      The capacity provider that's associated with the task.

                                      " } }, "clusterArn": { @@ -7804,7 +7906,7 @@ "connectivityAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task last went into CONNECTED\n\t\t\tstatus.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task last went into CONNECTED\n\t\t\tstatus.

                                      " } }, "containerInstanceArn": { @@ -7816,19 +7918,19 @@ "containers": { "target": "com.amazonaws.ecs#Containers", "traits": { - "smithy.api#documentation": "

                                      The containers associated with the task.

                                      " + "smithy.api#documentation": "

                                      The containers that's associated with the task.

                                      " } }, "cpu": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units, for example 1024. It can also be\n\t\t\texpressed as a string using vCPUs, for example 1 vCPU or 1\n\t\t\t\tvcpu. String values are converted to an integer indicating the CPU units when\n\t\t\tthe task definition is registered.

                                      \n\t\t

                                      If you are using the EC2 launch type, this field is optional. Supported\n\t\t\tvalues are between 128 CPU units (0.125 vCPUs) and\n\t\t\t\t10240 CPU units (10 vCPUs).

                                      \n\t\t

                                      If you are using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the memory parameter:

                                      \n
                                        \n
                                      • \n

                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                        \n
                                      • \n
                                      • \n

                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      • \n

                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

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

                                      The number of CPU units used by the task as expressed in a task definition. It can be\n\t\t\texpressed as an integer using CPU units (for example, 1024). It can also be\n\t\t\texpressed as a string using vCPUs (for example, 1 vCPU or 1\n\t\t\t\tvcpu). String values are converted to an integer that indicates the CPU units\n\t\t\twhen the task definition is registered.

                                      \n\t\t

                                      If you use the EC2 launch type, this field is optional. Supported values\n\t\t\tare between 128 CPU units (0.125 vCPUs) and 10240\n\t\t\tCPU units (10 vCPUs).

                                      \n\t\t

                                      If you use the Fargate launch type, this field is required. You must use\n\t\t\tone of the following values. These values determine the range of supported values for\n\t\t\tthe memory parameter:

                                      \n\t\t

                                      The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.

                                      \n\t\t
                                        \n
                                      • \n

                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                        \n
                                      • \n
                                      • \n

                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      • \n

                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      " } }, "createdAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task was created (the task entered the\n\t\t\t\tPENDING state).

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task was created. More specifically, it's for\n\t\t\tthe time when the task entered the PENDING state.

                                      " } }, "desiredStatus": { @@ -7840,49 +7942,49 @@ "enableExecuteCommand": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether or not execute command functionality is enabled for this task. If\n\t\t\t\ttrue, this enables execute command functionality on all containers in\n\t\t\tthe task.

                                      " + "smithy.api#documentation": "

                                      Determines whether execute command functionality is enabled for this task. If\n\t\t\t\ttrue, execute command functionality is enabled on all the containers in\n\t\t\tthe task.

                                      " } }, "executionStoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task execution stopped.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task execution stopped.

                                      " } }, "group": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of the task group associated with the task.

                                      " + "smithy.api#documentation": "

                                      The name of the task group that's associated with the task.

                                      " } }, "healthStatus": { "target": "com.amazonaws.ecs#HealthStatus", "traits": { - "smithy.api#documentation": "

                                      The health status for the task, which is determined by the health of the essential\n\t\t\tcontainers in the task. If all essential containers in the task are reporting as\n\t\t\t\tHEALTHY, then the task status also reports as HEALTHY. If\n\t\t\tany essential containers in the task are reporting as UNHEALTHY or\n\t\t\t\tUNKNOWN, then the task status also reports as UNHEALTHY or\n\t\t\t\tUNKNOWN, accordingly.

                                      \n\t\t \n\t\t\t

                                      The Amazon ECS container agent does not monitor or report on Docker health checks that\n\t\t\t\tare embedded in a container image (such as those specified in a parent image or from\n\t\t\t\tthe image's Dockerfile) and not specified in the container definition. Health check\n\t\t\t\tparameters that are specified in a container definition override any Docker health\n\t\t\t\tchecks that exist in the container image.

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

                                      The health status for the task. It's determined by the health of the essential\n\t\t\tcontainers in the task. If all essential containers in the task are reporting as\n\t\t\t\tHEALTHY, the task status also reports as HEALTHY. If any\n\t\t\tessential containers in the task are reporting as UNHEALTHY or\n\t\t\t\tUNKNOWN, the task status also reports as UNHEALTHY or\n\t\t\t\tUNKNOWN.

                                      \n\t\t \n\t\t\t

                                      The Amazon ECS container agent doesn't monitor or report on Docker health checks that\n\t\t\t\tare embedded in a container image and not specified in the container definition. For\n\t\t\t\texample, this includes those specified in a parent image or from the image's\n\t\t\t\tDockerfile. Health check parameters that are specified in a container definition\n\t\t\t\toverride any Docker health checks that are found in the container image.

                                      \n\t\t
                                      " } }, "inferenceAccelerators": { "target": "com.amazonaws.ecs#InferenceAccelerators", "traits": { - "smithy.api#documentation": "

                                      The Elastic Inference accelerator associated with the task.

                                      " + "smithy.api#documentation": "

                                      The Elastic Inference accelerator that's associated with the task.

                                      " } }, "lastStatus": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The last known status of the task. For more information, see Task\n\t\t\t\tLifecycle.

                                      " + "smithy.api#documentation": "

                                      The last known status for the task. For more information, see Task\n\t\t\t\tLifecycle.

                                      " } }, "launchType": { "target": "com.amazonaws.ecs#LaunchType", "traits": { - "smithy.api#documentation": "

                                      The infrastructure on which your task is running. For more information, see Amazon ECS\n\t\t\t\tlaunch types in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The infrastructure where your task runs on. For more information, see Amazon ECS\n\t\t\t\tlaunch types in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "memory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The amount of memory (in MiB) used by the task as expressed in a task definition. It\n\t\t\tcan be expressed as an integer using MiB, for example 1024. It can also be\n\t\t\texpressed as a string using GB, for example 1GB or 1 GB.\n\t\t\tString values are converted to an integer indicating the MiB when the task definition is\n\t\t\tregistered.

                                      \n\t\t

                                      If you are using the EC2 launch type, this field is optional.

                                      \n\t\t

                                      If you are using the Fargate launch type, this field is required and you\n\t\t\tmust use one of the following values, which determines your range of supported values\n\t\t\tfor the cpu parameter:

                                      \n
                                        \n
                                      • \n

                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

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

                                      The amount of memory (in MiB) that the task uses as expressed in a task definition. It\n\t\t\tcan be expressed as an integer using MiB (for example, 1024). If it's\n\t\t\texpressed as a string using GB (for example, 1GB or 1 GB),\n\t\t\tit's converted to an integer indicating the MiB when the task definition is\n\t\t\tregistered.

                                      \n\t\t

                                      If you use the EC2 launch type, this field is optional.

                                      \n\t\t

                                      If you use the Fargate launch type, this field is required. You must use\n\t\t\tone of the following values. The value that you choose determines the range of supported\n\t\t\tvalues for the cpu parameter.

                                      \n\t\t
                                        \n
                                      • \n

                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                        \n
                                      • \n
                                      " } }, "overrides": { @@ -7894,49 +7996,49 @@ "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version on which your task is running. A platform version is only\n\t\t\tspecified for tasks using the Fargate launch type. If one is not\n\t\t\tspecified, the LATEST platform version is used by default. For more\n\t\t\tinformation, see Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The platform version where your task runs on. A platform version is only specified for\n\t\t\ttasks that use the Fargate launch type. If you didn't specify one, the\n\t\t\t\tLATEST platform version is used. For more information, see Fargate Platform Versions in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "platformFamily": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The operating system that your tasks are running on. A platform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      All tasks that run as part of this service must use the same platformFamily value as the service, for example, LINUX..

                                      " + "smithy.api#documentation": "

                                      The operating system that your tasks are running on. A platform family is specified\n\t\t\tonly for tasks that use the Fargate launch type.

                                      \n\t\t

                                      All tasks that run as part of this service must use the same\n\t\t\t\tplatformFamily value as the service (for example,\n\t\t\tLINUX.).

                                      " } }, "pullStartedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the container image pull began.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the container image pull began.

                                      " } }, "pullStoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the container image pull completed.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the container image pull completed.

                                      " } }, "startedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task started (the task transitioned from the\n\t\t\t\tPENDING state to the RUNNING state).

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task started. More specifically, it's for the\n\t\t\ttime when the task transitioned from the PENDING state to the\n\t\t\t\tRUNNING state.

                                      " } }, "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The tag specified when a task is started. If the task is started by an Amazon ECS service,\n\t\t\tthen the startedBy parameter contains the deployment ID of the service that\n\t\t\tstarts it.

                                      " + "smithy.api#documentation": "

                                      The tag specified when a task is started. If an Amazon ECS service started the task, the\n\t\t\t\tstartedBy parameter contains the deployment ID of that service.

                                      " } }, "stopCode": { "target": "com.amazonaws.ecs#TaskStopCode", "traits": { - "smithy.api#documentation": "

                                      The stop code indicating why a task was stopped. The stoppedReason may\n\t\t\tcontain additional details.

                                      " + "smithy.api#documentation": "

                                      The stop code indicating why a task was stopped. The stoppedReason might\n\t\t\tcontain additional details.

                                      " } }, "stoppedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task was stopped (the task transitioned from the\n\t\t\t\tRUNNING state to the STOPPED state).

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task was stopped. More specifically, it's for\n\t\t\tthe time when the task transitioned from the RUNNING state to the\n\t\t\t\tSTOPPED state.

                                      " } }, "stoppedReason": { @@ -7948,13 +8050,13 @@ "stoppingAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task stops (transitions from the RUNNING\n\t\t\tstate to STOPPED).

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task stops. More specifically, it's for the\n\t\t\ttime when the task transitions from the RUNNING state to\n\t\t\t\tSTOPPED.

                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the task to help you categorize and organize them. Each\n\t\t\ttag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the task to help you categorize and organize the task.\n\t\t\tEach tag consists of a key and an optional value. You define both the key and\n\t\t\tvalue.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } }, "taskArn": { @@ -7972,7 +8074,7 @@ "version": { "target": "com.amazonaws.ecs#Long", "traits": { - "smithy.api#documentation": "

                                      The version counter for the task. Every time a task experiences a change that triggers\n\t\t\ta CloudWatch event, the version counter is incremented. If you are replicating your Amazon ECS task\n\t\t\tstate with CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API\n\t\t\tactions with the version reported in CloudWatch Events for the task (inside the\n\t\t\t\tdetail object) to verify that the version in your event stream is\n\t\t\tcurrent.

                                      " + "smithy.api#documentation": "

                                      The version counter for the task. Every time a task experiences a change that starts a\n\t\t\tCloudWatch event, the version counter is incremented. If you replicate your Amazon ECS task state\n\t\t\twith CloudWatch Events, you can compare the version of a task reported by the Amazon ECS API\n\t\t\tactions with the version reported in CloudWatch Events for the task (inside the\n\t\t\t\tdetail object) to verify that the version in your event stream is\n\t\t\tcurrent.

                                      " } }, "ephemeralStorage": { @@ -8004,13 +8106,13 @@ "family": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of a family that this task definition is registered to. Up to 255 letters\n\t\t\t(uppercase and lowercase), numbers, hyphens, and underscores are allowed.

                                      \n\t\t

                                      A family groups multiple versions of a task definition. Amazon ECS gives the first task\n\t\t\tdefinition that you registered to a family a revision number of 1. Amazon ECS gives\n\t\t\tsequential revision numbers to each task definition that you add.

                                      " + "smithy.api#documentation": "

                                      The name of a family that this task definition is registered to. Up to 255 characters\n\t\t\tare allowed. Letters (both uppercase and lowercase letters), numbers, hyphens (-), and\n\t\t\tunderscores (_) are allowed.

                                      \n\t\t

                                      A family groups multiple versions of a task definition. Amazon ECS gives the first task\n\t\t\tdefinition that you registered to a family a revision number of 1. Amazon ECS gives\n\t\t\tsequential revision numbers to each task definition that you add.

                                      " } }, "taskRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the Identity and Access Management role that grants containers in the\n\t\t\ttask permission to call Amazon Web Services APIs on your behalf. For more information, see Amazon ECS\n\t\t\t\tTask Role in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      IAM roles for tasks on Windows require that the -EnableTaskIAMRole option\n\t\t\tis set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some\n\t\t\tconfiguration code in order to take advantage of the feature. For more information, see\n\t\t\t\tWindows IAM roles\n\t\t\t\tfor tasks in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the Identity and Access Management role that grants containers in the\n\t\t\ttask permission to call Amazon Web Services APIs on your behalf. For more information, see Amazon ECS\n\t\t\t\tTask Role in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t

                                      IAM roles for tasks on Windows require that the -EnableTaskIAMRole option\n\t\t\tis set when you launch the Amazon ECS-optimized Windows AMI. Your containers must also run some\n\t\t\tconfiguration code to use the feature. For more information, see Windows IAM roles\n\t\t\t\tfor tasks in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "executionRoleArn": { @@ -8028,13 +8130,13 @@ "revision": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

                                      The revision of the task in a particular family. The revision is a version number of a\n\t\t\ttask definition in a family. When you register a task definition for the first time, the\n\t\t\trevision is 1. Each time that you register a new revision of a task\n\t\t\tdefinition in the same family, the revision value always increases by one, even if you\n\t\t\thave deregistered previous revisions in this family.

                                      " + "smithy.api#documentation": "

                                      The revision of the task in a particular family. The revision is a version number of a\n\t\t\ttask definition in a family. When you register a task definition for the first time, the\n\t\t\trevision is 1. Each time that you register a new revision of a task\n\t\t\tdefinition in the same family, the revision value always increases by one. This is even\n\t\t\tif you deregistered previous revisions in this family.

                                      " } }, "volumes": { "target": "com.amazonaws.ecs#VolumeList", "traits": { - "smithy.api#documentation": "

                                      The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      The host and sourcePath parameters are not supported for\n\t\t\t\ttasks run on Fargate.

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

                                      The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      The host and sourcePath parameters aren't supported for\n\t\t\t\ttasks run on Fargate.

                                      \n\t\t
                                      " } }, "status": { @@ -8046,13 +8148,13 @@ "requiresAttributes": { "target": "com.amazonaws.ecs#RequiresAttributes", "traits": { - "smithy.api#documentation": "

                                      The container instance attributes required by your task. When an Amazon EC2 instance is\n\t\t\tregistered to your cluster, the Amazon ECS container agent assigns some standard attributes\n\t\t\tto the instance. You can apply custom attributes, specified as key-value pairs using the\n\t\t\tAmazon ECS console or the PutAttributes API. These attributes are used when\n\t\t\tconsidering task placement for tasks hosted on Amazon EC2 instances. For more information,\n\t\t\tsee Attributes in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      This parameter is not supported for tasks run on Fargate.

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

                                      The container instance attributes required by your task. When an Amazon EC2 instance is\n\t\t\tregistered to your cluster, the Amazon ECS container agent assigns some standard attributes\n\t\t\tto the instance. You can apply custom attributes. These are specified as key-value pairs\n\t\t\tusing the Amazon ECS console or the PutAttributes API. These attributes are\n\t\t\tused when determining task placement for tasks hosted on Amazon EC2 instances. For more\n\t\t\tinformation, see Attributes in the Amazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      This parameter isn't supported for tasks run on Fargate.

                                      \n\t\t
                                      " } }, "placementConstraints": { "target": "com.amazonaws.ecs#TaskDefinitionPlacementConstraints", "traits": { - "smithy.api#documentation": "

                                      An array of placement constraint objects to use for tasks.

                                      \n\t\t \n\t\t\t

                                      This parameter is not supported for tasks run on Fargate.

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

                                      An array of placement constraint objects to use for tasks.

                                      \n\t\t \n\t\t\t

                                      This parameter isn't supported for tasks run on Fargate.

                                      \n\t\t
                                      " } }, "compatibilities": { @@ -8064,7 +8166,7 @@ "runtimePlatform": { "target": "com.amazonaws.ecs#RuntimePlatform", "traits": { - "smithy.api#documentation": "

                                      The operating system that your task definitions are running on. A platform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      When you specify a task in a service, this value must match the runtimePlatform value of the service.

                                      " + "smithy.api#documentation": "

                                      The operating system that your task definitions are running on. A platform family is\n\t\t\tspecified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      When you specify a task in a service, this value must match the\n\t\t\t\truntimePlatform value of the service.

                                      " } }, "requiresCompatibilities": { @@ -8076,19 +8178,19 @@ "cpu": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The number of cpu units used by the task. If you are using the EC2 launch\n\t\t\ttype, this field is optional and any value can be used. If you are using the Fargate\n\t\t\tlaunch type, this field is required and you must use one of the following values, which\n\t\t\tdetermines your range of valid values for the memory parameter:

                                      \n\t\t
                                        \n
                                      • \n

                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                        \n
                                      • \n
                                      • \n

                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      • \n

                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

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

                                      The number of cpu units used by the task. If you use the EC2 launch type,\n\t\t\tthis field is optional. Any value can be used. If you use the Fargate launch type, this\n\t\t\tfield is required. You must use one of the following values. The value that you choose\n\t\t\tdetermines your range of valid values for the memory parameter.

                                      \n\t\t

                                      The CPU units cannot be less than 1 vCPU when you use Windows containers on\n\t\t\tFargate.

                                      \n\t\t
                                        \n
                                      • \n

                                        256 (.25 vCPU) - Available memory values: 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB)

                                        \n
                                      • \n
                                      • \n

                                        512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 vCPU) - Available memory values: Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      • \n

                                        4096 (4 vCPU) - Available memory values: Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)

                                        \n
                                      • \n
                                      " } }, "memory": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The amount (in MiB) of memory used by the task.

                                      \n\t\t

                                      If your tasks will be run on Amazon EC2 instances, you must specify either a task-level\n\t\t\tmemory value or a container-level memory value. This field is optional and any value can\n\t\t\tbe used. If a task-level memory value is specified then the container-level memory value\n\t\t\tis optional. For more information regarding container-level memory and memory\n\t\t\treservation, see ContainerDefinition.

                                      \n\t\t

                                      If your tasks will be run on Fargate, this field is required and you must use one of\n\t\t\tthe following values, which determines your range of valid values for the\n\t\t\t\tcpu parameter:

                                      \n
                                        \n
                                      • \n

                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

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

                                      The amount (in MiB) of memory used by the task.

                                      \n\t\t

                                      If your tasks runs on Amazon EC2 instances, you must specify either a task-level memory\n\t\t\tvalue or a container-level memory value. This field is optional and any value can be\n\t\t\tused. If a task-level memory value is specified, the container-level memory value is\n\t\t\toptional. For more information regarding container-level memory and memory reservation,\n\t\t\tsee ContainerDefinition.

                                      \n\t\t

                                      If your tasks runs on Fargate, this field is required. You must use one of the\n\t\t\tfollowing values. The value you choose determines your range of valid values for the\n\t\t\t\tcpu parameter.

                                      \n\t\t
                                        \n
                                      • \n

                                        512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available cpu values: 256 (.25 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available cpu values: 512 (.5 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) - Available cpu values: 1024 (1 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) - Available cpu values: 2048 (2 vCPU)

                                        \n
                                      • \n
                                      • \n

                                        Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) - Available cpu values: 4096 (4 vCPU)

                                        \n
                                      • \n
                                      " } }, "inferenceAccelerators": { "target": "com.amazonaws.ecs#InferenceAccelerators", "traits": { - "smithy.api#documentation": "

                                      The Elastic Inference accelerator associated with the task.

                                      " + "smithy.api#documentation": "

                                      The Elastic Inference accelerator that's associated with the task.

                                      " } }, "pidMode": { @@ -8106,19 +8208,19 @@ "proxyConfiguration": { "target": "com.amazonaws.ecs#ProxyConfiguration", "traits": { - "smithy.api#documentation": "

                                      The configuration details for the App Mesh proxy.

                                      \n\t\t

                                      Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n\t\t\tand at least version 1.26.0-1 of the ecs-init package to enable a proxy\n\t\t\tconfiguration. If your container instances are launched from the Amazon ECS-optimized AMI\n\t\t\tversion 20190301 or later, then they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The configuration details for the App Mesh proxy.

                                      \n\t\t

                                      Your Amazon ECS container instances require at least version 1.26.0 of the container agent\n\t\t\tand at least version 1.26.0-1 of the ecs-init package to enable a proxy\n\t\t\tconfiguration. If your container instances are launched from the Amazon ECS optimized AMI\n\t\t\tversion 20190301 or later, they contain the required versions of the\n\t\t\tcontainer agent and ecs-init. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "registeredAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task definition was registered.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task definition was registered.

                                      " } }, "deregisteredAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task definition was deregistered.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task definition was deregistered.

                                      " } }, "registeredBy": { @@ -8191,7 +8293,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      An object representing a constraint on task placement in the task definition. For more\n\t\t\tinformation, see Task placement constraints in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      Task placement constraints are not supported for tasks run on Fargate.

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

                                      An object representing a constraint on task placement in the task definition. For more\n\t\t\tinformation, see Task placement constraints in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t \n\t\t\t

                                      Task placement constraints aren't supported for tasks run on Fargate.

                                      \n\t\t
                                      " } }, "com.amazonaws.ecs#TaskDefinitionPlacementConstraintType": { @@ -8249,7 +8351,7 @@ "containerOverrides": { "target": "com.amazonaws.ecs#ContainerOverrides", "traits": { - "smithy.api#documentation": "

                                      One or more container overrides sent to a task.

                                      " + "smithy.api#documentation": "

                                      One or more container overrides that are sent to a task.

                                      " } }, "cpu": { @@ -8267,7 +8369,7 @@ "executionRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information,\n\t\t\tsee Amazon ECS task\n\t\t\t\texecution IAM role in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more\n\t\t\tinformation, see Amazon ECS task\n\t\t\t\texecution IAM role in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "memory": { @@ -8279,18 +8381,18 @@ "taskRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in\n\t\t\tthis task are granted the permissions that are specified in this role. For more\n\t\t\tinformation, see IAM Role for Tasks\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers\n\t\t\tin this task are granted the permissions that are specified in this role. For more\n\t\t\tinformation, see IAM Role for Tasks\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                                      " } }, "ephemeralStorage": { "target": "com.amazonaws.ecs#EphemeralStorage", "traits": { - "smithy.api#documentation": "

                                      The ephemeral storage setting override for the task.

                                      \n\t\t \n\t\t\t

                                      This parameter is only supported for tasks hosted on Fargate using the following platform versions:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform\n\t\t\t\t\t\tversion 1.4.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform\n\t\t\t\t\t\tversion 1.0.0 or later.

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

                                      The ephemeral storage setting override for the task.

                                      \n\t\t \n\t\t\t

                                      This parameter is only supported for tasks hosted on Fargate that\n\t\t\t\tuse the following platform versions:

                                      \n\t\t\t
                                        \n
                                      • \n\t\t\t\t\t

                                        Linux platform version 1.4.0 or later.

                                        \n\t\t\t\t
                                      • \n
                                      • \n\t\t\t\t\t

                                        Windows platform version 1.0.0 or later.

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

                                      The overrides associated with a task.

                                      " + "smithy.api#documentation": "

                                      The overrides that are associated with a task.

                                      " } }, "com.amazonaws.ecs#TaskSet": { @@ -8323,25 +8425,25 @@ "startedBy": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The tag specified when a task set is started. If the task set is created by an CodeDeploy\n\t\t\tdeployment, the startedBy parameter is CODE_DEPLOY. For a task\n\t\t\tset created for an external deployment, the startedBy field isn't used.

                                      " + "smithy.api#documentation": "

                                      The tag specified when a task set is started. If an CodeDeploy deployment created the task\n\t\t\tset, the startedBy parameter is CODE_DEPLOY. If an external\n\t\t\tdeployment created the task set, the startedBy field isn't used.

                                      " } }, "externalId": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The external ID associated with the task set.

                                      \n\t\t

                                      If a task set is created by an CodeDeploy deployment, the externalId parameter\n\t\t\tcontains the CodeDeploy deployment ID.

                                      \n\t\t

                                      If a task set is created for an external deployment and is associated with a service\n\t\t\tdiscovery registry, the externalId parameter contains the\n\t\t\t\tECS_TASK_SET_EXTERNAL_ID Cloud Map attribute.

                                      " + "smithy.api#documentation": "

                                      The external ID associated with the task set.

                                      \n\t\t

                                      If an CodeDeploy deployment created a task set, the externalId parameter\n\t\t\tcontains the CodeDeploy deployment ID.

                                      \n\t\t

                                      If a task set is created for an external deployment and is associated with a service\n\t\t\tdiscovery registry, the externalId parameter contains the\n\t\t\t\tECS_TASK_SET_EXTERNAL_ID Cloud Map attribute.

                                      " } }, "status": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The status of the task set. The following describes each state:

                                      \n\t\t
                                      \n
                                      PRIMARY
                                      \n
                                      \n\t\t\t\t\t

                                      The task set is serving production traffic.

                                      \n\t\t\t\t
                                      \n
                                      ACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      The task set is not serving production traffic.

                                      \n\t\t\t\t
                                      \n
                                      DRAINING
                                      \n
                                      \n\t\t\t\t\t

                                      The tasks in the task set are being stopped and their corresponding\n\t\t\t\t\t\ttargets are being deregistered from their target group.

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

                                      The status of the task set. The following describes each state.

                                      \n\t\t
                                      \n
                                      PRIMARY
                                      \n
                                      \n\t\t\t\t\t

                                      The task set is serving production traffic.

                                      \n\t\t\t\t
                                      \n
                                      ACTIVE
                                      \n
                                      \n\t\t\t\t\t

                                      The task set isn't serving production traffic.

                                      \n\t\t\t\t
                                      \n
                                      DRAINING
                                      \n
                                      \n\t\t\t\t\t

                                      The tasks in the task set are being stopped, and their corresponding\n\t\t\t\t\t\ttargets are being deregistered from their target group.

                                      \n\t\t\t\t
                                      \n
                                      " } }, "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The task definition the task set is using.

                                      " + "smithy.api#documentation": "

                                      The task definition that the task set is using.

                                      " } }, "computedDesiredCount": { @@ -8353,7 +8455,7 @@ "pendingCount": { "target": "com.amazonaws.ecs#Integer", "traits": { - "smithy.api#documentation": "

                                      The number of tasks in the task set that are in the PENDING status during\n\t\t\ta deployment. A task in the PENDING state is preparing to enter the\n\t\t\t\tRUNNING state. A task set enters the PENDING status when\n\t\t\tit launches for the first time or when it is restarted after being in the\n\t\t\t\tSTOPPED state.

                                      " + "smithy.api#documentation": "

                                      The number of tasks in the task set that are in the PENDING status during\n\t\t\ta deployment. A task in the PENDING state is preparing to enter the\n\t\t\t\tRUNNING state. A task set enters the PENDING status when\n\t\t\tit launches for the first time or when it's restarted after being in the\n\t\t\t\tSTOPPED state.

                                      " } }, "runningCount": { @@ -8365,13 +8467,13 @@ "createdAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task set was created.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task set was created.

                                      " } }, "updatedAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task set was last updated.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task set was last updated.

                                      " } }, "launchType": { @@ -8383,19 +8485,19 @@ "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                      The capacity provider strategy associated with the task set.

                                      " + "smithy.api#documentation": "

                                      The capacity provider strategy that are associated with the task set.

                                      " } }, "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Fargate platform version on which the tasks in the task set are running. A\n\t\t\tplatform version is only specified for tasks run on Fargate. For more information, see\n\t\t\t\tFargate platform\n\t\t\t\tversions in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The Fargate platform version where the tasks in the task set are running. A platform\n\t\t\tversion is only specified for tasks run on Fargate. For more information, see Fargate platform versions in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "platformFamily": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The operating system that your tasks in the set are running on. A platform family is specified only for tasks using the Fargate launch type.

                                      \n\t\t

                                      All tasks in the set must have the same value.

                                      " + "smithy.api#documentation": "

                                      The operating system that your tasks in the set are running on. A platform family is\n\t\t\tspecified only for tasks that use the Fargate launch type.

                                      \n\t\t

                                      All tasks in the set must have the same value.

                                      " } }, "networkConfiguration": { @@ -8407,37 +8509,37 @@ "loadBalancers": { "target": "com.amazonaws.ecs#LoadBalancers", "traits": { - "smithy.api#documentation": "

                                      Details on a load balancer that is used with a task set.

                                      " + "smithy.api#documentation": "

                                      Details on a load balancer that are used with a task set.

                                      " } }, "serviceRegistries": { "target": "com.amazonaws.ecs#ServiceRegistries", "traits": { - "smithy.api#documentation": "

                                      The details of the service discovery registries to assign to this task set. For more\n\t\t\tinformation, see Service\n\t\t\t\tdiscovery.

                                      " + "smithy.api#documentation": "

                                      The details for the service discovery registries to assign to this task set. For more\n\t\t\tinformation, see Service\n\t\t\t\tdiscovery.

                                      " } }, "scale": { "target": "com.amazonaws.ecs#Scale", "traits": { - "smithy.api#documentation": "

                                      A floating-point percentage of the desired number of tasks to place and keep running\n\t\t\tin the task set.

                                      " + "smithy.api#documentation": "

                                      A floating-point percentage of your desired number of tasks to place and keep running\n\t\t\tin the task set.

                                      " } }, "stabilityStatus": { "target": "com.amazonaws.ecs#StabilityStatus", "traits": { - "smithy.api#documentation": "

                                      The stability status, which indicates whether the task set has reached a steady state.\n\t\t\tIf the following conditions are met, the task set will be in\n\t\t\tSTEADY_STATE:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        The task runningCount is equal to the\n\t\t\t\t\t\tcomputedDesiredCount.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        The pendingCount is 0.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        There are no tasks running on container instances in the DRAINING\n\t\t\t\t\tstatus.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        All tasks are reporting a healthy status from the load balancers, service\n\t\t\t\t\tdiscovery, and container health checks.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      If any of those conditions are not met, the stability status returns\n\t\t\t\tSTABILIZING.

                                      " + "smithy.api#documentation": "

                                      The stability status. This indicates whether the task set has reached a steady state.\n\t\t\tIf the following conditions are met, the task set sre in\n\t\t\tSTEADY_STATE:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        The task runningCount is equal to the\n\t\t\t\t\t\tcomputedDesiredCount.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        The pendingCount is 0.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        There are no tasks that are running on container instances in the\n\t\t\t\t\t\tDRAINING status.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        All tasks are reporting a healthy status from the load balancers, service\n\t\t\t\t\tdiscovery, and container health checks.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      If any of those conditions aren't met, the stability status returns\n\t\t\t\tSTABILIZING.

                                      " } }, "stabilityStatusAt": { "target": "com.amazonaws.ecs#Timestamp", "traits": { - "smithy.api#documentation": "

                                      The Unix timestamp for when the task set stability status was retrieved.

                                      " + "smithy.api#documentation": "

                                      The Unix timestamp for the time when the task set stability status was\n\t\t\tretrieved.

                                      " } }, "tags": { "target": "com.amazonaws.ecs#Tags", "traits": { - "smithy.api#documentation": "

                                      The metadata that you apply to the task set to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value, both of which you define.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

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

                                      The metadata that you apply to the task set to help you categorize and organize them.\n\t\t\tEach tag consists of a key and an optional value. You define both.

                                      \n\t\t

                                      The following basic restrictions apply to tags:

                                      \n
                                        \n
                                      • \n

                                        Maximum number of tags per resource - 50

                                        \n
                                      • \n
                                      • \n

                                        For each resource, each tag key must be unique, and each tag key can have only\n one value.

                                        \n
                                      • \n
                                      • \n

                                        Maximum key length - 128 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        Maximum value length - 256 Unicode characters in UTF-8

                                        \n
                                      • \n
                                      • \n

                                        If your tagging schema is used across multiple services and resources,\n remember that other services may have restrictions on allowed characters.\n Generally allowed characters are: letters, numbers, and spaces representable in\n UTF-8, and the following characters: + - = . _ : / @.

                                        \n
                                      • \n
                                      • \n

                                        Tag keys and values are case-sensitive.

                                        \n
                                      • \n
                                      • \n

                                        Do not use aws:, AWS:, or any upper or lowercase\n combination of such as a prefix for either keys or values as it is reserved for\n Amazon Web Services use. You cannot edit or delete tag keys or values with this prefix. Tags with\n this prefix do not count against your tags per resource limit.

                                        \n
                                      • \n
                                      " } } }, @@ -8470,7 +8572,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified task set could not be found. You can view your available task sets with\n\t\t\t\tDescribeTaskSets. Task sets are specific to each cluster, service\n\t\t\tand Region.

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

                                      The specified task set wasn't found. You can view your available task sets with DescribeTaskSets. Task sets are specific to each cluster, service and\n\t\t\tRegion.

                                      ", "smithy.api#error": "client" } }, @@ -8667,7 +8769,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The specified task is not supported in this Region.

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

                                      The specified task isn't supported in this Region.

                                      ", "smithy.api#error": "client" } }, @@ -8706,7 +8808,7 @@ "resourceArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the resource from which to delete tags. Currently, the supported\n\t\t\tresources are Amazon ECS capacity providers, tasks, services, task definitions, clusters, and\n\t\t\tcontainer instances.

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

                                      The Amazon Resource Name (ARN) of the resource to delete tags from. Currently, the supported resources\n\t\t\tare Amazon ECS capacity providers, tasks, services, task definitions, clusters, and container\n\t\t\tinstances.

                                      ", "smithy.api#required": {} } }, @@ -8759,7 +8861,7 @@ "autoScalingGroupProvider": { "target": "com.amazonaws.ecs#AutoScalingGroupProviderUpdate", "traits": { - "smithy.api#documentation": "

                                      An object representing the parameters to update for the Auto Scaling group capacity\n\t\t\tprovider.

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

                                      An object that represent the parameters to update for the Auto Scaling group capacity\n\t\t\tprovider.

                                      ", "smithy.api#required": {} } } @@ -8876,7 +8978,7 @@ "settings": { "target": "com.amazonaws.ecs#ClusterSettings", "traits": { - "smithy.api#documentation": "

                                      The setting to use by default for a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster. If this value is specified, it will override the\n\t\t\t\tcontainerInsights value set with PutAccountSetting or\n\t\t\t\tPutAccountSettingDefault.

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

                                      The setting to use by default for a cluster. This parameter is used to enable CloudWatch\n\t\t\tContainer Insights for a cluster. If this value is specified, it overrides the\n\t\t\t\tcontainerInsights value set with PutAccountSetting or\n\t\t\t\tPutAccountSettingDefault.

                                      ", "smithy.api#required": {} } } @@ -8925,7 +9027,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Updates the Amazon ECS container agent on a specified container instance. Updating the\n\t\t\tAmazon ECS container agent does not interrupt running tasks or services on the container\n\t\t\tinstance. The process for updating the agent differs depending on whether your container\n\t\t\tinstance was launched with the Amazon ECS-optimized AMI or another operating system.

                                      \n\t\t \n\t\t\t

                                      The UpdateContainerAgent API isn't supported for container instances\n\t\t\t\tusing the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent,\n\t\t\t\tyou can update the ecs-init package which will update the agent. For\n\t\t\t\tmore information, see Updating the\n\t\t\t\t\tAmazon ECS container agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      \n\t\t

                                      The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon\n\t\t\tLinux AMI with the ecs-init service installed and running. For help\n\t\t\tupdating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      Updates the Amazon ECS container agent on a specified container instance. Updating the\n\t\t\tAmazon ECS container agent doesn't interrupt running tasks or services on the container\n\t\t\tinstance. The process for updating the agent differs depending on whether your container\n\t\t\tinstance was launched with the Amazon ECS-optimized AMI or another operating system.

                                      \n\t\t \n\t\t\t

                                      The UpdateContainerAgent API isn't supported for container instances\n\t\t\t\tusing the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent,\n\t\t\t\tyou can update the ecs-init package. This updates the agent. For more\n\t\t\t\tinformation, see Updating the\n\t\t\t\t\tAmazon ECS container agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      \n\t\t
                                      \n\t\t

                                      The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon\n\t\t\tLinux AMI with the ecs-init service installed and running. For help\n\t\t\tupdating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                                      " } }, "com.amazonaws.ecs#UpdateContainerAgentRequest": { @@ -8940,7 +9042,7 @@ "containerInstance": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The container instance ID or full ARN entries for the container instance on which\n\t\t\tyou would like to update the Amazon ECS container agent.

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

                                      The container instance ID or full ARN entries for the container instance where you\n\t\t\twould like to update the Amazon ECS container agent.

                                      ", "smithy.api#required": {} } } @@ -8952,7 +9054,7 @@ "containerInstance": { "target": "com.amazonaws.ecs#ContainerInstance", "traits": { - "smithy.api#documentation": "

                                      The container instance for which the container agent was updated.

                                      " + "smithy.api#documentation": "

                                      The container instance that the container agent was updated for.

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

                                      Modifies the status of an Amazon ECS container instance.

                                      \n\t\t

                                      Once a container instance has reached an ACTIVE state, you can change the\n\t\t\tstatus of a container instance to DRAINING to manually remove an instance\n\t\t\tfrom a cluster, for example to perform system updates, update the Docker daemon, or\n\t\t\tscale down the cluster size.

                                      \n\t\t \n\t\t\t

                                      A container instance cannot be changed to DRAINING until it has\n\t\t\t\treached an ACTIVE status. If the instance is in any other status, an\n\t\t\t\terror will be received.

                                      \n\t\t
                                      \n\t\t

                                      When you set a container instance to DRAINING, Amazon ECS prevents new tasks\n\t\t\tfrom being scheduled for placement on the container instance and replacement service\n\t\t\ttasks are started on other container instances in the cluster if the resources are\n\t\t\tavailable. Service tasks on the container instance that are in the PENDING\n\t\t\tstate are stopped immediately.

                                      \n\t\t

                                      Service tasks on the container instance that are in the RUNNING state are\n\t\t\tstopped and replaced according to the service's deployment configuration parameters,\n\t\t\t\tminimumHealthyPercent and maximumPercent. You can change\n\t\t\tthe deployment configuration of your service using UpdateService.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        If minimumHealthyPercent is below 100%, the scheduler can ignore\n\t\t\t\t\t\tdesiredCount temporarily during task replacement. For example,\n\t\t\t\t\t\tdesiredCount is four tasks, a minimum of 50% allows the\n\t\t\t\t\tscheduler to stop two existing tasks before starting two new tasks. If the\n\t\t\t\t\tminimum is 100%, the service scheduler can't remove existing tasks until the\n\t\t\t\t\treplacement tasks are considered healthy. Tasks for services that do not use a\n\t\t\t\t\tload balancer are considered healthy if they are in the RUNNING\n\t\t\t\t\tstate. Tasks for services that use a load balancer are considered healthy if\n\t\t\t\t\tthey are in the RUNNING state and the container instance they are\n\t\t\t\t\thosted on is reported as healthy by the load balancer.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        The maximumPercent parameter represents an upper limit on the\n\t\t\t\t\tnumber of running tasks during task replacement, which enables you to define the\n\t\t\t\t\treplacement batch size. For example, if desiredCount is four tasks,\n\t\t\t\t\ta maximum of 200% starts four new tasks before stopping the four tasks to be\n\t\t\t\t\tdrained, provided that the cluster resources required to do this are available.\n\t\t\t\t\tIf the maximum is 100%, then replacement tasks can't start until the draining\n\t\t\t\t\ttasks have stopped.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      Any PENDING or RUNNING tasks that do not belong to a service\n\t\t\tare not affected. You must wait for them to finish or stop them manually.

                                      \n\t\t

                                      A container instance has completed draining when it has no more RUNNING\n\t\t\ttasks. You can verify this using ListTasks.

                                      \n\t\t

                                      When a container instance has been drained, you can set a container instance to\n\t\t\t\tACTIVE status and once it has reached that status the Amazon ECS scheduler\n\t\t\tcan begin scheduling tasks on the instance again.

                                      " + "smithy.api#documentation": "

                                      Modifies the status of an Amazon ECS container instance.

                                      \n\t\t

                                      Once a container instance has reached an ACTIVE state, you can change the\n\t\t\tstatus of a container instance to DRAINING to manually remove an instance\n\t\t\tfrom a cluster, for example to perform system updates, update the Docker daemon, or\n\t\t\tscale down the cluster size.

                                      \n\t\t \n\t\t\t

                                      A container instance can't be changed to DRAINING until it has\n\t\t\t\treached an ACTIVE status. If the instance is in any other status, an\n\t\t\t\terror will be received.

                                      \n\t\t
                                      \n\t\t

                                      When you set a container instance to DRAINING, Amazon ECS prevents new tasks\n\t\t\tfrom being scheduled for placement on the container instance and replacement service\n\t\t\ttasks are started on other container instances in the cluster if the resources are\n\t\t\tavailable. Service tasks on the container instance that are in the PENDING\n\t\t\tstate are stopped immediately.

                                      \n\t\t

                                      Service tasks on the container instance that are in the RUNNING state are\n\t\t\tstopped and replaced according to the service's deployment configuration parameters,\n\t\t\t\tminimumHealthyPercent and maximumPercent. You can change\n\t\t\tthe deployment configuration of your service using UpdateService.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        If minimumHealthyPercent is below 100%, the scheduler can ignore\n\t\t\t\t\t\tdesiredCount temporarily during task replacement. For example,\n\t\t\t\t\t\tdesiredCount is four tasks, a minimum of 50% allows the\n\t\t\t\t\tscheduler to stop two existing tasks before starting two new tasks. If the\n\t\t\t\t\tminimum is 100%, the service scheduler can't remove existing tasks until the\n\t\t\t\t\treplacement tasks are considered healthy. Tasks for services that do not use a\n\t\t\t\t\tload balancer are considered healthy if they're in the RUNNING\n\t\t\t\t\tstate. Tasks for services that use a load balancer are considered healthy if\n\t\t\t\t\tthey're in the RUNNING state and the container instance they're\n\t\t\t\t\thosted on is reported as healthy by the load balancer.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        The maximumPercent parameter represents an upper limit on the\n\t\t\t\t\tnumber of running tasks during task replacement. You can use this to define the\n\t\t\t\t\treplacement batch size. For example, if desiredCount is four tasks,\n\t\t\t\t\ta maximum of 200% starts four new tasks before stopping the four tasks to be\n\t\t\t\t\tdrained, provided that the cluster resources required to do this are available.\n\t\t\t\t\tIf the maximum is 100%, then replacement tasks can't start until the draining\n\t\t\t\t\ttasks have stopped.

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      Any PENDING or RUNNING tasks that do not belong to a service\n\t\t\taren't affected. You must wait for them to finish or stop them manually.

                                      \n\t\t

                                      A container instance has completed draining when it has no more RUNNING\n\t\t\ttasks. You can verify this using ListTasks.

                                      \n\t\t

                                      When a container instance has been drained, you can set a container instance to\n\t\t\t\tACTIVE status and once it has reached that status the Amazon ECS scheduler\n\t\t\tcan begin scheduling tasks on the instance again.

                                      " } }, "com.amazonaws.ecs#UpdateContainerInstancesStateRequest": { @@ -9002,7 +9104,7 @@ "status": { "target": "com.amazonaws.ecs#ContainerInstanceStatus", "traits": { - "smithy.api#documentation": "

                                      The container instance state with which to update the container instance. The only\n\t\t\tvalid values for this action are ACTIVE and DRAINING. A\n\t\t\tcontainer instance can only be updated to DRAINING status once it has\n\t\t\treached an ACTIVE state. If a container instance is in\n\t\t\t\tREGISTERING, DEREGISTERING, or\n\t\t\t\tREGISTRATION_FAILED state you can describe the container instance but\n\t\t\twill be unable to update the container instance state.

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

                                      The container instance state to update the container instance with. The only valid\n\t\t\tvalues for this action are ACTIVE and DRAINING. A container\n\t\t\tinstance can only be updated to DRAINING status once it has reached an\n\t\t\t\tACTIVE state. If a container instance is in REGISTERING,\n\t\t\t\tDEREGISTERING, or REGISTRATION_FAILED state you can\n\t\t\tdescribe the container instance but can't update the container instance state.

                                      ", "smithy.api#required": {} } } @@ -9033,7 +9135,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      There is already a current Amazon ECS container agent update in progress on the specified\n\t\t\tcontainer instance. If the container agent becomes disconnected while it is in a\n\t\t\ttransitional stage, such as PENDING or STAGING, the update\n\t\t\tprocess can get stuck in that state. However, when the agent reconnects, it resumes\n\t\t\twhere it stopped previously.

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

                                      There's already a current Amazon ECS container agent update in progress on the container\n\t\t\tinstance that's specified. If the container agent becomes disconnected while it's in a\n\t\t\ttransitional stage, such as PENDING or STAGING, the update\n\t\t\tprocess can get stuck in that state. However, when the agent reconnects, it resumes\n\t\t\twhere it stopped previously.

                                      ", "smithy.api#error": "client" } }, @@ -9075,7 +9177,7 @@ } ], "traits": { - "smithy.api#documentation": "\n\t\t\t

                                      Updating the task placement strategies and constraints on an Amazon ECS service remains\n\t\t\t\tin preview and is a Beta Service as defined by and subject to the Beta Service\n\t\t\t\tParticipation Service Terms located at https://aws.amazon.com/service-terms (\"Beta Terms\"). These Beta Terms\n\t\t\t\tapply to your participation in this preview.

                                      \n\t\t
                                      \n\t\t

                                      Modifies the parameters of a service.

                                      \n\t\t

                                      For services using the rolling update (ECS) deployment controller, the\n\t\t\tdesired count, deployment configuration, network configuration, task placement\n\t\t\tconstraints and strategies, or task definition used can be updated.

                                      \n\t\t

                                      For services using the blue/green (CODE_DEPLOY) deployment controller,\n\t\t\tonly the desired count, deployment configuration, task placement constraints and\n\t\t\tstrategies, and health check grace period can be updated using this API. If the network\n\t\t\tconfiguration, platform version, or task definition need to be updated, a new CodeDeploy\n\t\t\tdeployment should be created. For more information, see CreateDeployment in the CodeDeploy API Reference.

                                      \n\t\t

                                      For services using an external deployment controller, you can update only the desired\n\t\t\tcount, task placement constraints and strategies, and health check grace period using\n\t\t\tthis API. If the launch type, load balancer, network configuration, platform version, or\n\t\t\ttask definition need to be updated, you should create a new task set. For more\n\t\t\tinformation, see CreateTaskSet.

                                      \n\t\t

                                      You can add to or subtract from the number of instantiations of a task definition in a\n\t\t\tservice by specifying the cluster that the service is running in and a new\n\t\t\t\tdesiredCount parameter.

                                      \n\t\t

                                      If you have updated the Docker image of your application, you can create a new task\n\t\t\tdefinition with that image and deploy it to your service. The service scheduler uses the\n\t\t\tminimum healthy percent and maximum percent parameters (in the service's deployment\n\t\t\tconfiguration) to determine the deployment strategy.

                                      \n\t\t \n\t\t\t

                                      If your updated Docker image uses the same tag as what is in the existing task\n\t\t\t\tdefinition for your service (for example, my_image:latest), you do not\n\t\t\t\tneed to create a new revision of your task definition. You can update the service\n\t\t\t\tusing the forceNewDeployment option. The new tasks launched by the\n\t\t\t\tdeployment pull the current image/tag combination from your repository when they\n\t\t\t\tstart.

                                      \n\t\t
                                      \n\t\t

                                      You can also update the deployment configuration of a service. When a deployment is\n\t\t\ttriggered by updating the task definition of a service, the service scheduler uses the\n\t\t\tdeployment configuration parameters, minimumHealthyPercent and\n\t\t\t\tmaximumPercent, to determine the deployment strategy.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        If minimumHealthyPercent is below 100%, the scheduler can ignore\n\t\t\t\t\t\tdesiredCount temporarily during a deployment. For example, if\n\t\t\t\t\t\tdesiredCount is four tasks, a minimum of 50% allows the\n\t\t\t\t\tscheduler to stop two existing tasks before starting two new tasks. Tasks for\n\t\t\t\t\tservices that do not use a load balancer are considered healthy if they are in\n\t\t\t\t\tthe RUNNING state. Tasks for services that use a load balancer are\n\t\t\t\t\tconsidered healthy if they are in the RUNNING state and the\n\t\t\t\t\tcontainer instance they are hosted on is reported as healthy by the load\n\t\t\t\t\tbalancer.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        The maximumPercent parameter represents an upper limit on the\n\t\t\t\t\tnumber of running tasks during a deployment, which enables you to define the\n\t\t\t\t\tdeployment batch size. For example, if desiredCount is four tasks,\n\t\t\t\t\ta maximum of 200% starts four new tasks before stopping the four older tasks\n\t\t\t\t\t(provided that the cluster resources required to do this are available).

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      When UpdateService stops a task during a deployment, the equivalent\n\t\t\tof docker stop is issued to the containers running in the task. This\n\t\t\tresults in a SIGTERM and a 30-second timeout, after which\n\t\t\t\tSIGKILL is sent and the containers are forcibly stopped. If the\n\t\t\tcontainer handles the SIGTERM gracefully and exits within 30 seconds from\n\t\t\treceiving it, no SIGKILL is sent.

                                      \n\t\t

                                      When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster with the following logic:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Determine which of the container instances in your cluster can support your\n\t\t\t\t\tservice's task definition (for example, they have the required CPU, memory,\n\t\t\t\t\tports, and container instance attributes).

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        By default, the service scheduler attempts to balance tasks across\n\t\t\t\t\tAvailability Zones in this manner (although you can choose a different placement\n\t\t\t\t\tstrategy):

                                        \n\t\t\t\t
                                          \n
                                        • \n\t\t\t\t\t\t

                                          Sort the valid container instances by the fewest number of running\n\t\t\t\t\t\t\ttasks for this service in the same Availability Zone as the instance.\n\t\t\t\t\t\t\tFor example, if zone A has one running service task and zones B and C\n\t\t\t\t\t\t\teach have zero, valid container instances in either zone B or C are\n\t\t\t\t\t\t\tconsidered optimal for placement.

                                          \n\t\t\t\t\t
                                        • \n
                                        • \n\t\t\t\t\t\t

                                          Place the new service task on a valid container instance in an optimal\n\t\t\t\t\t\t\tAvailability Zone (based on the previous steps), favoring container\n\t\t\t\t\t\t\tinstances with the fewest number of running tasks for this\n\t\t\t\t\t\t\tservice.

                                          \n\t\t\t\t\t
                                        • \n
                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      When the service scheduler stops running tasks, it attempts to maintain balance across\n\t\t\tthe Availability Zones in your cluster using the following logic:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Sort the container instances by the largest number of running tasks for this\n\t\t\t\t\tservice in the same Availability Zone as the instance. For example, if zone A\n\t\t\t\t\thas one running service task and zones B and C each have two, container\n\t\t\t\t\tinstances in either zone B or C are considered optimal for termination.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Stop the task on a container instance in an optimal Availability Zone (based\n\t\t\t\t\ton the previous steps), favoring container instances with the largest number of\n\t\t\t\t\trunning tasks for this service.

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

                                      Updating the task placement strategies and constraints on an Amazon ECS service remains\n\t\t\t\tin preview and is a Beta Service as defined by and subject to the Beta Service\n\t\t\t\tParticipation Service Terms located at https://aws.amazon.com/service-terms (\"Beta Terms\"). These Beta Terms\n\t\t\t\tapply to your participation in this preview.

                                      \n\t\t
                                      \n\t\t

                                      Modifies the parameters of a service.

                                      \n\t\t

                                      For services using the rolling update (ECS) deployment controller, the\n\t\t\tdesired count, deployment configuration, network configuration, task placement\n\t\t\tconstraints and strategies, or task definition used can be updated.

                                      \n\t\t

                                      For services using the blue/green (CODE_DEPLOY) deployment controller,\n\t\t\tonly the desired count, deployment configuration, task placement constraints and\n\t\t\tstrategies, and health check grace period can be updated using this API. If the network\n\t\t\tconfiguration, platform version, or task definition need to be updated, a new CodeDeploy\n\t\t\tdeployment is created. For more information, see CreateDeployment in the CodeDeploy API Reference.

                                      \n\t\t

                                      For services using an external deployment controller, you can update only the desired\n\t\t\tcount, task placement constraints and strategies, and health check grace period using\n\t\t\tthis API. If the launch type, load balancer, network configuration, platform version, or\n\t\t\ttask definition need to be updated, create a new task set. For more information, see\n\t\t\t\tCreateTaskSet.

                                      \n\t\t

                                      You can add to or subtract from the number of instantiations of a task definition in a\n\t\t\tservice by specifying the cluster that the service is running in and a new\n\t\t\t\tdesiredCount parameter.

                                      \n\t\t

                                      If you have updated the Docker image of your application, you can create a new task\n\t\t\tdefinition with that image and deploy it to your service. The service scheduler uses the\n\t\t\tminimum healthy percent and maximum percent parameters (in the service's deployment\n\t\t\tconfiguration) to determine the deployment strategy.

                                      \n\t\t \n\t\t\t

                                      If your updated Docker image uses the same tag as what is in the existing task\n\t\t\t\tdefinition for your service (for example, my_image:latest), you don't\n\t\t\t\tneed to create a new revision of your task definition. You can update the service\n\t\t\t\tusing the forceNewDeployment option. The new tasks launched by the\n\t\t\t\tdeployment pull the current image/tag combination from your repository when they\n\t\t\t\tstart.

                                      \n\t\t
                                      \n\t\t

                                      You can also update the deployment configuration of a service. When a deployment is\n\t\t\ttriggered by updating the task definition of a service, the service scheduler uses the\n\t\t\tdeployment configuration parameters, minimumHealthyPercent and\n\t\t\t\tmaximumPercent, to determine the deployment strategy.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        If minimumHealthyPercent is below 100%, the scheduler can ignore\n\t\t\t\t\t\tdesiredCount temporarily during a deployment. For example, if\n\t\t\t\t\t\tdesiredCount is four tasks, a minimum of 50% allows the\n\t\t\t\t\tscheduler to stop two existing tasks before starting two new tasks. Tasks for\n\t\t\t\t\tservices that don't use a load balancer are considered healthy if they're in the\n\t\t\t\t\t\tRUNNING state. Tasks for services that use a load balancer are\n\t\t\t\t\tconsidered healthy if they're in the RUNNING state and the\n\t\t\t\t\tcontainer instance they're hosted on is reported as healthy by the load\n\t\t\t\t\tbalancer.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        The maximumPercent parameter represents an upper limit on the\n\t\t\t\t\tnumber of running tasks during a deployment. You can use it to define the\n\t\t\t\t\tdeployment batch size. For example, if desiredCount is four tasks,\n\t\t\t\t\ta maximum of 200% starts four new tasks before stopping the four older tasks\n\t\t\t\t\t(provided that the cluster resources required to do this are available).

                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      When UpdateService stops a task during a deployment, the equivalent\n\t\t\tof docker stop is issued to the containers running in the task. This\n\t\t\tresults in a SIGTERM and a 30-second timeout. After this,\n\t\t\t\tSIGKILL is sent and the containers are forcibly stopped. If the\n\t\t\tcontainer handles the SIGTERM gracefully and exits within 30 seconds from\n\t\t\treceiving it, no SIGKILL is sent.

                                      \n\t\t

                                      When the service scheduler launches new tasks, it determines task placement in your\n\t\t\tcluster with the following logic.

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Determine which of the container instances in your cluster can support your\n\t\t\t\t\tservice's task definition. For example, they have the required CPU, memory,\n\t\t\t\t\tports, and container instance attributes.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        By default, the service scheduler attempts to balance tasks across\n\t\t\t\t\tAvailability Zones in this manner even though you can choose a different\n\t\t\t\t\tplacement strategy.

                                        \n\t\t\t\t
                                          \n
                                        • \n\t\t\t\t\t\t

                                          Sort the valid container instances by the fewest number of running\n\t\t\t\t\t\t\ttasks for this service in the same Availability Zone as the instance.\n\t\t\t\t\t\t\tFor example, if zone A has one running service task and zones B and C\n\t\t\t\t\t\t\teach have zero, valid container instances in either zone B or C are\n\t\t\t\t\t\t\tconsidered optimal for placement.

                                          \n\t\t\t\t\t
                                        • \n
                                        • \n\t\t\t\t\t\t

                                          Place the new service task on a valid container instance in an optimal\n\t\t\t\t\t\t\tAvailability Zone (based on the previous steps), favoring container\n\t\t\t\t\t\t\tinstances with the fewest number of running tasks for this\n\t\t\t\t\t\t\tservice.

                                          \n\t\t\t\t\t
                                        • \n
                                        \n\t\t\t
                                      • \n
                                      \n\t\t

                                      When the service scheduler stops running tasks, it attempts to maintain balance across\n\t\t\tthe Availability Zones in your cluster using the following logic:

                                      \n\t\t
                                        \n
                                      • \n\t\t\t\t

                                        Sort the container instances by the largest number of running tasks for this\n\t\t\t\t\tservice in the same Availability Zone as the instance. For example, if zone A\n\t\t\t\t\thas one running service task and zones B and C each have two, container\n\t\t\t\t\tinstances in either zone B or C are considered optimal for termination.

                                        \n\t\t\t
                                      • \n
                                      • \n\t\t\t\t

                                        Stop the task on a container instance in an optimal Availability Zone (based\n\t\t\t\t\ton the previous steps), favoring container instances with the largest number of\n\t\t\t\t\trunning tasks for this service.

                                        \n\t\t\t
                                      • \n
                                      " } }, "com.amazonaws.ecs#UpdateServicePrimaryTaskSet": { @@ -9162,7 +9264,7 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster that your service is running on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " + "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster that your service runs on.\n\t\t\tIf you do not specify a cluster, the default cluster is assumed.

                                      " } }, "service": { @@ -9187,7 +9289,7 @@ "capacityProviderStrategy": { "target": "com.amazonaws.ecs#CapacityProviderStrategy", "traits": { - "smithy.api#documentation": "

                                      The capacity provider strategy to update the service to use.

                                      \n\t\t

                                      If the service is using the default capacity provider strategy for the cluster, the\n\t\t\tservice can be updated to use one or more capacity providers as opposed to the default\n\t\t\tcapacity provider strategy. However, when a service is using a capacity provider\n\t\t\tstrategy that is not the default capacity provider strategy, the service cannot be\n\t\t\tupdated to use the cluster's default capacity provider strategy.

                                      \n\t\t

                                      A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

                                      \n\t\t

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                      \n\t\t

                                      To use a Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

                                      \n\t\t

                                      The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

                                      \n\t\t

                                      " + "smithy.api#documentation": "

                                      The capacity provider strategy to update the service to use.

                                      \n\t\t

                                      if the service uses the default capacity provider strategy for the cluster, the\n\t\t\tservice can be updated to use one or more capacity providers as opposed to the default\n\t\t\tcapacity provider strategy. However, when a service is using a capacity provider\n\t\t\tstrategy that's not the default capacity provider strategy, the service can't be updated\n\t\t\tto use the cluster's default capacity provider strategy.

                                      \n\t\t

                                      A capacity provider strategy consists of one or more capacity providers along with the\n\t\t\t\tbase and weight to assign to them. A capacity provider\n\t\t\tmust be associated with the cluster to be used in a capacity provider strategy. The\n\t\t\t\tPutClusterCapacityProviders API is used to associate a capacity\n\t\t\tprovider with a cluster. Only capacity providers with an ACTIVE or\n\t\t\t\tUPDATING status can be used.

                                      \n\t\t

                                      If specifying a capacity provider that uses an Auto Scaling group, the capacity\n\t\t\tprovider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.

                                      \n\t\t

                                      To use a Fargate capacity provider, specify either the FARGATE or\n\t\t\t\tFARGATE_SPOT capacity providers. The Fargate capacity providers are\n\t\t\tavailable to all accounts and only need to be associated with a cluster to be\n\t\t\tused.

                                      \n\t\t

                                      The PutClusterCapacityProviders API operation is used to update the\n\t\t\tlist of available capacity providers for a cluster after the cluster is created.

                                      \n\t\t

                                      " } }, "deploymentConfiguration": { @@ -9205,31 +9307,31 @@ "placementConstraints": { "target": "com.amazonaws.ecs#PlacementConstraints", "traits": { - "smithy.api#documentation": "

                                      An array of task placement constraint objects to update the service to use. If no\n\t\t\tvalue is specified, the existing placement constraints for the service will remain\n\t\t\tunchanged. If this value is specified, it will override any existing placement\n\t\t\tconstraints defined for the service. To remove all existing placement constraints,\n\t\t\tspecify an empty array.

                                      \n\t\t

                                      You can specify a maximum of 10 constraints per task (this limit includes constraints\n\t\t\tin the task definition and those specified at runtime).

                                      " + "smithy.api#documentation": "

                                      An array of task placement constraint objects to update the service to use. If no\n\t\t\tvalue is specified, the existing placement constraints for the service will remain\n\t\t\tunchanged. If this value is specified, it will override any existing placement\n\t\t\tconstraints defined for the service. To remove all existing placement constraints,\n\t\t\tspecify an empty array.

                                      \n\t\t

                                      You can specify a maximum of 10 constraints for each task. This limit includes\n\t\t\tconstraints in the task definition and those specified at runtime.

                                      " } }, "placementStrategy": { "target": "com.amazonaws.ecs#PlacementStrategies", "traits": { - "smithy.api#documentation": "

                                      The task placement strategy objects to update the service to use. If no value is\n\t\t\tspecified, the existing placement strategy for the service will remain unchanged. If\n\t\t\tthis value is specified, it will override the existing placement strategy defined for\n\t\t\tthe service. To remove an existing placement strategy, specify an empty object.

                                      \n\t\t

                                      You can specify a maximum of five strategy rules per service.

                                      " + "smithy.api#documentation": "

                                      The task placement strategy objects to update the service to use. If no value is\n\t\t\tspecified, the existing placement strategy for the service will remain unchanged. If\n\t\t\tthis value is specified, it will override the existing placement strategy defined for\n\t\t\tthe service. To remove an existing placement strategy, specify an empty object.

                                      \n\t\t

                                      You can specify a maximum of five strategy rules for each service.

                                      " } }, "platformVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The platform version on which your tasks in the service are running. A platform\n\t\t\tversion is only specified for tasks using the Fargate launch type. If a\n\t\t\tplatform version is not specified, the LATEST platform version is used by\n\t\t\tdefault. For more information, see Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                      " + "smithy.api#documentation": "

                                      The platform version that your tasks in the service run on. A platform version is only\n\t\t\tspecified for tasks using the Fargate launch type. If a platform version\n\t\t\tis not specified, the LATEST platform version is used. For more\n\t\t\tinformation, see Fargate Platform\n\t\t\t\tVersions in the Amazon Elastic Container Service Developer Guide.

                                      " } }, "forceNewDeployment": { "target": "com.amazonaws.ecs#Boolean", "traits": { - "smithy.api#documentation": "

                                      Whether to force a new deployment of the service. Deployments are not forced by\n\t\t\tdefault. You can use this option to trigger a new deployment with no service definition\n\t\t\tchanges. For example, you can update a service's tasks to use a newer Docker image with\n\t\t\tthe same image/tag combination (my_image:latest) or to roll Fargate tasks\n\t\t\tonto a newer platform version.

                                      " + "smithy.api#documentation": "

                                      Determines whether to force a new deployment of the service. By default, deployments\n\t\t\taren't forced. You can use this option to start a new deployment with no service\n\t\t\tdefinition changes. For example, you can update a service's tasks to use a newer Docker\n\t\t\timage with the same image/tag combination (my_image:latest) or to roll\n\t\t\tFargate tasks onto a newer platform version.

                                      " } }, "healthCheckGracePeriodSeconds": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

                                      The period of time, in seconds, that the Amazon ECS service scheduler should ignore\n\t\t\tunhealthy Elastic Load Balancing target health checks after a task has first started. This is only valid\n\t\t\tif your service is configured to use a load balancer. If your service's tasks take a\n\t\t\twhile to start and respond to Elastic Load Balancing health checks, you can specify a health check grace\n\t\t\tperiod of up to 2,147,483,647 seconds. During that time, the Amazon ECS service\n\t\t\tscheduler ignores the Elastic Load Balancing health check status. This grace period can prevent the ECS\n\t\t\tservice scheduler from marking tasks as unhealthy and stopping them before they have\n\t\t\ttime to come up.

                                      " + "smithy.api#documentation": "

                                      The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy\n\t\t\tElastic Load Balancing target health checks after a task has first started. This is only valid if your\n\t\t\tservice is configured to use a load balancer. If your service's tasks take a while to\n\t\t\tstart and respond to Elastic Load Balancing health checks, you can specify a health check grace period of\n\t\t\tup to 2,147,483,647 seconds. During that time, the Amazon ECS service scheduler ignores\n\t\t\tthe Elastic Load Balancing health check status. This grace period can prevent the ECS service scheduler\n\t\t\tfrom marking tasks as unhealthy and stopping them before they have time to come\n\t\t\tup.

                                      " } }, "enableExecuteCommand": { @@ -9298,14 +9400,14 @@ "cluster": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset exists in.

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

                                      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task\n\t\t\tset is found in.

                                      ", "smithy.api#required": {} } }, "service": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.

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

                                      The short name or full Amazon Resource Name (ARN) of the service that the task set is found in.

                                      ", "smithy.api#required": {} } }, @@ -9354,7 +9456,7 @@ "dockerVersion": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The Docker version running on the container instance.

                                      " + "smithy.api#documentation": "

                                      The Docker version that's running on the container instance.

                                      " } } }, @@ -9374,30 +9476,30 @@ "host": { "target": "com.amazonaws.ecs#HostVolumeProperties", "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using bind mount host volumes. The contents\n\t\t\tof the host parameter determine whether your bind mount host volume\n\t\t\tpersists on the host container instance and where it is stored. If the host\n\t\t\tparameter is empty, then the Docker daemon assigns a host path for your data volume.\n\t\t\tHowever, the data is not guaranteed to persist after the containers associated with it\n\t\t\tstop running.

                                      \n\t\t

                                      Windows containers can mount whole directories on the same drive as\n\t\t\t\t$env:ProgramData. Windows containers cannot mount directories on a\n\t\t\tdifferent drive, and mount point cannot be across drives. For example, you can mount\n\t\t\t\tC:\\my\\path:C:\\my\\path and D:\\:D:\\, but not\n\t\t\t\tD:\\my\\path:C:\\my\\path or D:\\:C:\\my\\path.

                                      " + "smithy.api#documentation": "

                                      This parameter is specified when you use bind mount host volumes. The contents of the\n\t\t\t\thost parameter determine whether your bind mount host volume persists\n\t\t\ton the host container instance and where it's stored. If the host parameter\n\t\t\tis empty, then the Docker daemon assigns a host path for your data volume. However, the\n\t\t\tdata isn't guaranteed to persist after the containers that are associated with it stop\n\t\t\trunning.

                                      \n\t\t

                                      Windows containers can mount whole directories on the same drive as\n\t\t\t\t$env:ProgramData. Windows containers can't mount directories on a\n\t\t\tdifferent drive, and mount point can't be across drives. For example, you can mount\n\t\t\t\tC:\\my\\path:C:\\my\\path and D:\\:D:\\, but not\n\t\t\t\tD:\\my\\path:C:\\my\\path or D:\\:C:\\my\\path.

                                      " } }, "dockerVolumeConfiguration": { "target": "com.amazonaws.ecs#DockerVolumeConfiguration", "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using Docker volumes.

                                      \n\t\t

                                      Windows containers only support the use of the local driver. To use bind\n\t\t\tmounts, specify the host parameter instead.

                                      \n\t\t \n\t\t\t

                                      Docker volumes are not supported by tasks run on Fargate.

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

                                      This parameter is specified when you use Docker volumes.

                                      \n\t\t

                                      Windows containers only support the use of the local driver. To use bind\n\t\t\tmounts, specify the host parameter instead.

                                      \n\t\t \n\t\t\t

                                      Docker volumes aren't supported by tasks run on Fargate.

                                      \n\t\t
                                      " } }, "efsVolumeConfiguration": { "target": "com.amazonaws.ecs#EFSVolumeConfiguration", "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using an Amazon Elastic File System file system for task\n\t\t\tstorage.

                                      " + "smithy.api#documentation": "

                                      This parameter is specified when you use an Amazon Elastic File System file system for task\n\t\t\tstorage.

                                      " } }, "fsxWindowsFileServerVolumeConfiguration": { "target": "com.amazonaws.ecs#FSxWindowsFileServerVolumeConfiguration", "traits": { - "smithy.api#documentation": "

                                      This parameter is specified when you are using Amazon FSx for Windows File Server file system for task\n\t\t\tstorage.

                                      " + "smithy.api#documentation": "

                                      This parameter is specified when you use Amazon FSx for Windows File Server file system for task\n\t\t\tstorage.

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

                                      A data volume used in a task definition. For tasks that use the Amazon Elastic File\n\t\t\tSystem (Amazon EFS), specify an efsVolumeConfiguration. For Windows tasks\n\t\t\tthat use Amazon FSx for Windows File Server file system, specify a\n\t\t\t\tfsxWindowsFileServerVolumeConfiguration. For tasks that use a Docker\n\t\t\tvolume, specify a DockerVolumeConfiguration. For tasks that use a bind\n\t\t\tmount host volume, specify a host and optional sourcePath. For\n\t\t\tmore information, see Using Data Volumes in\n\t\t\t\tTasks.

                                      " + "smithy.api#documentation": "

                                      A data volume that's used in a task definition. For tasks that use the Amazon Elastic\n\t\t\tFile System (Amazon EFS), specify an efsVolumeConfiguration. For Windows\n\t\t\ttasks that use Amazon FSx for Windows File Server file system, specify a\n\t\t\t\tfsxWindowsFileServerVolumeConfiguration. For tasks that use a Docker\n\t\t\tvolume, specify a DockerVolumeConfiguration. For tasks that use a bind\n\t\t\tmount host volume, specify a host and optional sourcePath. For\n\t\t\tmore information, see Using Data Volumes in\n\t\t\t\tTasks.

                                      " } }, "com.amazonaws.ecs#VolumeFrom": { @@ -9406,7 +9508,7 @@ "sourceContainer": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                                      The name of another container within the same task definition from which to mount\n\t\t\tvolumes.

                                      " + "smithy.api#documentation": "

                                      The name of another container within the same task definition to mount volumes\n\t\t\tfrom.

                                      " } }, "readOnly": { diff --git a/codegen/sdk-codegen/aws-models/greengrassv2.json b/codegen/sdk-codegen/aws-models/greengrassv2.json index 531a847433b16..7c61389199540 100644 --- a/codegen/sdk-codegen/aws-models/greengrassv2.json +++ b/codegen/sdk-codegen/aws-models/greengrassv2.json @@ -681,13 +681,19 @@ "posixUser": { "target": "com.amazonaws.greengrassv2#NonEmptyString", "traits": { - "smithy.api#documentation": "

                                      The POSIX system user and (optional) group to use to run this component. Specify the user\n and group separated by a colon (:) in the following format:\n user:group. The group is optional. If you don't specify a group, the IoT Greengrass Core\n software uses the primary user for the group.

                                      \n

                                      If you omit this parameter, the IoT Greengrass Core software uses the default system user and group that\n you configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.

                                      " + "smithy.api#documentation": "

                                      The POSIX system user and, optionally, group to use to run this component on Linux core\n devices. The user, and group if specified, must exist on each Linux core device. Specify the\n user and group separated by a colon (:) in the following format:\n user:group. The group is optional. If you don't specify a group, the IoT Greengrass Core\n software uses the primary user for the group.

                                      \n

                                      If you omit this parameter, the IoT Greengrass Core software uses the default system user and group that\n you configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.

                                      " } }, "systemResourceLimits": { "target": "com.amazonaws.greengrassv2#SystemResourceLimits", "traits": { - "smithy.api#documentation": "

                                      The system resource limits to apply to this component's process on the core device.

                                      \n

                                      If you omit this parameter, the IoT Greengrass Core software uses the default system resource limits\n that you configure on the Greengrass nucleus component. For more information, see Configure system resource limits for components.

                                      " + "smithy.api#documentation": "

                                      The system resource limits to apply to this component's process on the core device. IoT Greengrass\n currently supports this feature on only Linux core devices.

                                      \n

                                      If you omit this parameter, the IoT Greengrass Core software uses the default system resource limits\n that you configure on the Greengrass nucleus component. For more information, see Configure system resource limits for components.

                                      " + } + }, + "windowsUser": { + "target": "com.amazonaws.greengrassv2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                                      The Windows user to use to run this component on Windows core devices. The user must exist\n on each Windows core device, and its name and password must be in the LocalSystem account's\n Credentials Manager instance.

                                      \n

                                      If you omit this parameter, the IoT Greengrass Core software uses the default Windows user that you\n configure on the Greengrass nucleus component. For more information, see Configure the user and group that run components.

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

                                      Creates a component. Components are software that run on Greengrass core devices. After you\n develop and test a component on your core device, you can use this operation to upload your\n component to IoT Greengrass. Then, you can deploy the component to other core devices.

                                      \n

                                      You can use this operation to do the following:

                                      \n
                                        \n
                                      • \n

                                        \n Create components from recipes\n

                                        \n

                                        Create a component from a recipe, which is a file that defines the component's\n metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For\n more information, see IoT Greengrass component recipe\n reference in the IoT Greengrass V2 Developer Guide.

                                        \n

                                        To create a component from a recipe, specify inlineRecipe when you call\n this operation.

                                        \n
                                      • \n
                                      • \n

                                        \n Create components from Lambda functions\n

                                        \n

                                        Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe\n and artifacts from the Lambda function's deployment package. You can use this operation to\n migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.

                                        \n

                                        This function only accepts Lambda functions that use the following runtimes:

                                        \n
                                          \n
                                        • \n

                                          Python 2.7 – python2.7\n

                                          \n
                                        • \n
                                        • \n

                                          Python 3.7 – python3.7\n

                                          \n
                                        • \n
                                        • \n

                                          Python 3.8 – python3.8\n

                                          \n
                                        • \n
                                        • \n

                                          Java 8 – java8\n

                                          \n
                                        • \n
                                        • \n

                                          Node.js 10 – nodejs10.x\n

                                          \n
                                        • \n
                                        • \n

                                          Node.js 12 – nodejs12.x\n

                                          \n
                                        • \n
                                        \n

                                        To create a component from a Lambda function, specify lambdaFunction\n when you call this operation.

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

                                      Creates a component. Components are software that run on Greengrass core devices. After you\n develop and test a component on your core device, you can use this operation to upload your\n component to IoT Greengrass. Then, you can deploy the component to other core devices.

                                      \n

                                      You can use this operation to do the following:

                                      \n
                                        \n
                                      • \n

                                        \n Create components from recipes\n

                                        \n

                                        Create a component from a recipe, which is a file that defines the component's\n metadata, parameters, dependencies, lifecycle, artifacts, and platform capability. For\n more information, see IoT Greengrass component recipe\n reference in the IoT Greengrass V2 Developer Guide.

                                        \n

                                        To create a component from a recipe, specify inlineRecipe when you call\n this operation.

                                        \n
                                      • \n
                                      • \n

                                        \n Create components from Lambda functions\n

                                        \n

                                        Create a component from an Lambda function that runs on IoT Greengrass. This creates a recipe\n and artifacts from the Lambda function's deployment package. You can use this operation to\n migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2.

                                        \n

                                        This function only accepts Lambda functions that use the following runtimes:

                                        \n
                                          \n
                                        • \n

                                          Python 2.7 – python2.7\n

                                          \n
                                        • \n
                                        • \n

                                          Python 3.7 – python3.7\n

                                          \n
                                        • \n
                                        • \n

                                          Python 3.8 – python3.8\n

                                          \n
                                        • \n
                                        • \n

                                          Java 8 – java8\n

                                          \n
                                        • \n
                                        • \n

                                          Node.js 10 – nodejs10.x\n

                                          \n
                                        • \n
                                        • \n

                                          Node.js 12 – nodejs12.x\n

                                          \n
                                        • \n
                                        \n

                                        To create a component from a Lambda function, specify lambdaFunction\n when you call this operation.

                                        \n \n

                                        IoT Greengrass currently supports Lambda functions on only Linux core devices.

                                        \n
                                        \n
                                      • \n
                                      ", "smithy.api#http": { "method": "POST", "uri": "/greengrass/v2/createComponentVersion", @@ -2102,6 +2108,21 @@ }, "com.amazonaws.greengrassv2#GreengrassV2": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "GreengrassV2", + "arnNamespace": "greengrass", + "cloudFormationName": "GreengrassV2", + "cloudTrailEventSource": "greengrassv2.amazonaws.com", + "endpointPrefix": "greengrass" + }, + "aws.auth#sigv4": { + "name": "greengrass" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

                                      IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities\n to edge devices. This enables devices to collect and analyze data closer to the source of\n information, react autonomously to local events, and communicate securely with each other on\n local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data\n to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and\n deploy applications to fleets of edge devices for local operation.

                                      \n

                                      IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.\n Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,\n manage deployments, and core devices.

                                      \n

                                      For more information, see What is IoT Greengrass? in\n the IoT Greengrass V2 Developer Guide.

                                      ", + "smithy.api#title": "AWS IoT Greengrass V2" + }, "version": "2020-11-30", "operations": [ { @@ -2173,22 +2194,7 @@ { "target": "com.amazonaws.greengrassv2#UntagResource" } - ], - "traits": { - "aws.api#service": { - "sdkId": "GreengrassV2", - "arnNamespace": "greengrass", - "cloudFormationName": "GreengrassV2", - "cloudTrailEventSource": "greengrassv2.amazonaws.com", - "endpointPrefix": "greengrass" - }, - "aws.auth#sigv4": { - "name": "greengrass" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

                                      IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities\n to edge devices. This enables devices to collect and analyze data closer to the source of\n information, react autonomously to local events, and communicate securely with each other on\n local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data\n to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and\n deploy applications to fleets of edge devices for local operation.

                                      \n

                                      IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.\n Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,\n manage deployments, and core devices.

                                      \n

                                      For more information, see What is IoT Greengrass? in\n the IoT Greengrass V2 Developer Guide.

                                      ", - "smithy.api#title": "AWS IoT Greengrass V2" - } + ] }, "com.amazonaws.greengrassv2#InstalledComponent": { "type": "structure", diff --git a/codegen/sdk-codegen/aws-models/health.json b/codegen/sdk-codegen/aws-models/health.json index b6f33d6df77f7..57448992b7c78 100644 --- a/codegen/sdk-codegen/aws-models/health.json +++ b/codegen/sdk-codegen/aws-models/health.json @@ -31,6 +31,21 @@ "shapes": { "com.amazonaws.health#AWSHealth_20160804": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "Health", + "arnNamespace": "health", + "cloudFormationName": "Health", + "cloudTrailEventSource": "health.amazonaws.com", + "endpointPrefix": "health" + }, + "aws.auth#sigv4": { + "name": "health" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Health\n \n

                                      The Health API provides programmatic access to the Health information that\n appears in the Personal Health Dashboard. You\n can use the API operations to get information about events that might affect your Amazon Web Services\n services and resources.

                                      \n \n
                                        \n
                                      • \n

                                        You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the\n Health API. If you call the Health API from an Amazon Web Services account that\n doesn't have a Business or Enterprise Support plan, you receive a\n SubscriptionRequiredException error.

                                        \n
                                      • \n
                                      • \n

                                        You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) to\n call the Health API operations. Health supports a multi-Region\n application architecture and has two regional endpoints in an active-passive\n configuration. You can use the high availability endpoint example to determine\n which Amazon Web Services Region is active, so that you can get the latest information from the\n API. For more information, see Accessing the Health API in the\n Health User Guide.

                                        \n
                                      • \n
                                      \n
                                      \n

                                      For authentication of requests, Health uses the Signature Version 4 Signing\n Process.

                                      \n

                                      If your Amazon Web Services account is part of Organizations, you can use the Health organizational\n view feature. This feature provides a centralized view of Health events across all\n accounts in your organization. You can aggregate Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n Health events in the Health User Guide.

                                      \n \n

                                      When you use the Health API operations to return Health events, see the\n following recommendations:

                                      \n
                                        \n
                                      • \n

                                        Use the eventScopeCode parameter to specify whether to return Health\n events that are public or account-specific.

                                        \n
                                      • \n
                                      • \n

                                        Use pagination to view all events from the response. For example, if you call\n the DescribeEventsForOrganization operation to get all events in your\n organization, you might receive several page results. Specify the\n nextToken in the next request to return more results.

                                        \n
                                      • \n
                                      \n
                                      ", + "smithy.api#title": "AWS Health APIs and Notifications" + }, "version": "2016-08-04", "operations": [ { @@ -72,22 +87,7 @@ { "target": "com.amazonaws.health#EnableHealthServiceAccessForOrganization" } - ], - "traits": { - "aws.api#service": { - "sdkId": "Health", - "arnNamespace": "health", - "cloudFormationName": "Health", - "cloudTrailEventSource": "health.amazonaws.com", - "endpointPrefix": "health" - }, - "aws.auth#sigv4": { - "name": "health" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS Health\n \n

                                      The AWS Health API provides programmatic access to the AWS Health information that\n appears in the AWS Personal Health Dashboard. You\n can use the API operations to get information about AWS Health events that affect your\n AWS services and resources.

                                      \n \n
                                        \n
                                      • \n

                                        You must have a Business or Enterprise Support plan from AWS Support to use the\n AWS Health API. If you call the AWS Health API from an AWS account that\n doesn't have a Business or Enterprise Support plan, you receive a\n SubscriptionRequiredException error.

                                        \n
                                      • \n
                                      • \n

                                        You can use the AWS Health endpoint health.us-east-1.amazonaws.com (HTTPS) to\n call the AWS Health API operations. AWS Health supports a multi-Region\n application architecture and has two regional endpoints in an active-passive\n configuration. You can use the high availability endpoint example to determine\n which AWS Region is active, so that you can get the latest information from the\n API. For more information, see Accessing the AWS Health API in the\n AWS Health User Guide.

                                        \n
                                      • \n
                                      \n
                                      \n

                                      For authentication of requests, AWS Health uses the Signature Version 4 Signing\n Process.

                                      \n

                                      If your AWS account is part of AWS Organizations, you can use the AWS Health organizational\n view feature. This feature provides a centralized view of AWS Health events across all\n accounts in your organization. You can aggregate AWS Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n AWS Health events in the AWS Health User Guide.

                                      \n \n

                                      When you use the AWS Health API operations to return AWS Health events, see the\n following recommendations:

                                      \n
                                        \n
                                      • \n

                                        Use the eventScopeCode parameter to specify whether to return AWS Health\n events that are public or account-specific.

                                        \n
                                      • \n
                                      • \n

                                        Use pagination to view all events from the response. For example, if you call\n the DescribeEventsForOrganization operation to get all events in your\n organization, you might receive several page results. Specify the\n nextToken in the next request to return more results.

                                        \n
                                      • \n
                                      \n
                                      ", - "smithy.api#title": "AWS Health APIs and Notifications" - } + ] }, "com.amazonaws.health#AffectedEntity": { "type": "structure", @@ -119,7 +119,7 @@ "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { - "smithy.api#documentation": "

                                      The 12-digit AWS account number that contains the affected entity.

                                      " + "smithy.api#documentation": "

                                      The 12-digit Amazon Web Services account number that contains the affected entity.

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

                                      Returns a list of accounts in the organization from AWS Organizations that are affected by the\n provided event. For more information about the different types of AWS Health events, see\n Event.

                                      \n

                                      Before you can call this operation, you must first enable AWS Health to work with\n AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's\n management account.

                                      \n \n

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

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

                                      Returns a list of accounts in the organization from Organizations that are affected by the\n provided event. For more information about the different types of Health events, see\n Event.

                                      \n

                                      Before you can call this operation, you must first enable Health to work with\n Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's\n management account.

                                      \n \n

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                      \n
                                      ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", @@ -237,7 +237,7 @@ "eventScopeCode": { "target": "com.amazonaws.health#eventScopeCode", "traits": { - "smithy.api#documentation": "

                                      This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

                                      \n
                                        \n
                                      • \n

                                        If the eventScopeCode value is PUBLIC, then the\n affectedAccounts value is always empty.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is ACCOUNT_SPECIFIC, then\n the affectedAccounts value lists the affected AWS accounts in your\n organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you\n have AWS accounts that use that service, those account IDs appear in the\n response.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is NONE, then the\n eventArn that you specified in the request is invalid or doesn't\n exist.

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

                                      This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

                                      \n
                                        \n
                                      • \n

                                        If the eventScopeCode value is PUBLIC, then the\n affectedAccounts value is always empty.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is ACCOUNT_SPECIFIC, then\n the affectedAccounts value lists the affected Amazon Web Services accounts in your\n organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you\n have Amazon Web Services accounts that use that service, those account IDs appear in the\n response.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is NONE, then the\n eventArn that you specified in the request is invalid or doesn't\n exist.

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

                                      Returns a list of entities that have been affected by the specified events, based on the\n specified filter criteria. Entities can refer to individual customer resources, groups of\n customer resources, or any other construct, depending on the AWS service. Events that\n have impact beyond that of the affected entities, or where the extent of impact is unknown,\n include at least one entity indicating this.

                                      \n

                                      At least one event ARN is required. Results are sorted by the\n lastUpdatedTime of the entity, starting with the most recent.

                                      \n \n \n
                                        \n
                                      • \n

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        \n
                                      • \n
                                      • \n

                                        This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more\n information, see Resource- and action-based conditions in the AWS Health User Guide.

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

                                      Returns a list of entities that have been affected by the specified events, based on the\n specified filter criteria. Entities can refer to individual customer resources, groups of\n customer resources, or any other construct, depending on the Amazon Web Services service. Events that\n have impact beyond that of the affected entities, or where the extent of impact is unknown,\n include at least one entity indicating this.

                                      \n

                                      At least one event ARN is required.

                                      \n \n \n
                                        \n
                                      • \n

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        \n
                                      • \n
                                      • \n

                                        This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more\n information, see Resource- and action-based conditions in the Health User Guide.

                                        \n
                                      • \n
                                      \n
                                      ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", @@ -292,7 +292,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Returns a list of entities that have been affected by one or more events for one or more\n accounts in your organization in AWS Organizations, based on the filter criteria. Entities can refer\n to individual customer resources, groups of customer resources, or any other construct,\n depending on the AWS service.

                                      \n

                                      At least one event Amazon Resource Name (ARN) and account ID are required. Results are\n sorted by the lastUpdatedTime of the entity, starting with the most\n recent.

                                      \n

                                      Before you can call this operation, you must first enable AWS Health to work with\n AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization\n operation from your organization's management account.

                                      \n \n
                                        \n
                                      • \n

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        \n
                                      • \n
                                      • \n

                                        This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more\n information, see Resource- and action-based conditions in the AWS Health User Guide.

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

                                      Returns a list of entities that have been affected by one or more events for one or more\n accounts in your organization in Organizations, based on the filter criteria. Entities can refer\n to individual customer resources, groups of customer resources, or any other construct,\n depending on the Amazon Web Services service.

                                      \n

                                      At least one event Amazon Resource Name (ARN) and account ID are required.

                                      \n

                                      Before you can call this operation, you must first enable Health to work with\n Organizations. To do this, call the EnableHealthServiceAccessForOrganization\n operation from your organization's management account.

                                      \n \n
                                        \n
                                      • \n

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        \n
                                      • \n
                                      • \n

                                        This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more\n information, see Resource- and action-based conditions in the Health User Guide.

                                        \n
                                      • \n
                                      \n \n
                                      ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", @@ -417,7 +417,7 @@ "target": "com.amazonaws.health#DescribeEntityAggregatesResponse" }, "traits": { - "smithy.api#documentation": "

                                      Returns the number of entities that are affected by each of the specified events. If no\n events are specified, the counts of all affected entities are returned.

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

                                      Returns the number of entities that are affected by each of the specified events.

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

                                      Returns detailed information about one or more specified events. Information includes\n standard event data (AWS Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata\n that depends upon the nature of the event. Affected entities are not included. To retrieve\n the entities, use the DescribeAffectedEntities operation.

                                      \n

                                      If a specified event can't be retrieved, an error message is returned for that\n event.

                                      \n \n

                                      This operation supports resource-level permissions. You can use this operation to allow or deny access to specific AWS Health events. For more\n information, see Resource- and action-based conditions in the AWS Health User Guide.

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

                                      Returns detailed information about one or more specified events. Information includes\n standard event data (Amazon Web Services Region, service, and so on, as returned by DescribeEvents), a detailed event description, and possible additional metadata\n that depends upon the nature of the event. Affected entities are not included. To retrieve\n the entities, use the DescribeAffectedEntities operation.

                                      \n

                                      If a specified event can't be retrieved, an error message is returned for that\n event.

                                      \n \n

                                      This operation supports resource-level permissions. You can use this operation to allow or deny access to specific Health events. For more\n information, see Resource- and action-based conditions in the Health User Guide.

                                      \n
                                      ", "smithy.api#idempotent": {} } }, @@ -552,7 +552,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Returns detailed information about one or more specified events for one or more AWS\n accounts in your organization. This information includes standard event data (such as the\n AWS Region and service), an event description, and (depending on the event) possible\n metadata. This operation doesn't return affected entities, such as the resources related to\n the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.

                                      \n \n

                                      Before you can call this operation, you must first enable AWS Health to work with\n AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's\n management account.

                                      \n
                                      \n

                                      When you call the DescribeEventDetailsForOrganization operation, specify\n the organizationEventDetailFilters object in the request. Depending on the\n AWS Health event type, note the following differences:

                                      \n
                                        \n
                                      • \n

                                        To return event details for a public event, you must specify a null value for the\n awsAccountId parameter. If you specify an account ID for a public\n event, AWS Health returns an error message because public events aren't specific to\n an account.

                                        \n
                                      • \n
                                      • \n

                                        To return event details for an event that is specific to an account in your\n organization, you must specify the awsAccountId parameter in the\n request. If you don't specify an account ID, AWS Health returns an error message\n because the event is specific to an account in your organization.

                                        \n
                                      • \n
                                      \n

                                      For more information, see Event.

                                      \n\n \n

                                      This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific AWS Health events. For more\n information, see Resource- and action-based conditions in the AWS Health User Guide.

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

                                      Returns detailed information about one or more specified events for one or more\n Amazon Web Services accounts in your organization. This information includes standard event data (such as the\n Amazon Web Services Region and service), an event description, and (depending on the event) possible\n metadata. This operation doesn't return affected entities, such as the resources related to\n the event. To return affected entities, use the DescribeAffectedEntitiesForOrganization operation.

                                      \n \n

                                      Before you can call this operation, you must first enable Health to work with\n Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's\n management account.

                                      \n
                                      \n

                                      When you call the DescribeEventDetailsForOrganization operation, specify\n the organizationEventDetailFilters object in the request. Depending on the\n Health event type, note the following differences:

                                      \n
                                        \n
                                      • \n

                                        To return event details for a public event, you must specify a null value for the\n awsAccountId parameter. If you specify an account ID for a public\n event, Health returns an error message because public events aren't specific to\n an account.

                                        \n
                                      • \n
                                      • \n

                                        To return event details for an event that is specific to an account in your\n organization, you must specify the awsAccountId parameter in the\n request. If you don't specify an account ID, Health returns an error message\n because the event is specific to an account in your organization.

                                        \n
                                      • \n
                                      \n

                                      For more information, see Event.

                                      \n\n \n

                                      This operation doesn't support resource-level permissions. You can't use this operation to allow or deny access to specific Health events. For more\n information, see Resource- and action-based conditions in the Health User Guide.

                                      \n
                                      ", "smithy.api#idempotent": {} } }, @@ -661,7 +661,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Returns the event types that meet the specified filter criteria. You can use this API\n operation to find information about the AWS Health event, such as the category, AWS\n service, and event code. The metadata for each event appears in the EventType object.

                                      \n

                                      If you don't specify a filter criteria, the API operation returns all event types, in no\n particular order.

                                      \n \n

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

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

                                      Returns the event types that meet the specified filter criteria. You can use this API\n operation to find information about the Health event, such as the category, Amazon Web Services\n service, and event code. The metadata for each event appears in the EventType object.

                                      \n

                                      If you don't specify a filter criteria, the API operation returns all event types, in no\n particular order.

                                      \n \n

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                      \n
                                      ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", @@ -734,7 +734,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Returns information about events that meet the specified filter criteria. Events are\n returned in a summary form and do not include the detailed description, any additional\n metadata that depends on the event type, or any affected resources. To retrieve that\n information, use the DescribeEventDetails and DescribeAffectedEntities operations.

                                      \n

                                      If no filter criteria are specified, all events are returned. Results are sorted by\n lastModifiedTime, starting with the most recent event.

                                      \n \n
                                        \n
                                      • \n

                                        When you call the DescribeEvents operation and specify an entity\n for the entityValues parameter, AWS Health might return public\n events that aren't specific to that resource. For example, if you call\n DescribeEvents and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2)\n instance, AWS Health might return events that aren't specific to that resource or\n service. To get events that are specific to a service, use the\n services parameter in the filter object. For more\n information, see Event.

                                        \n
                                      • \n
                                      • \n

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

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

                                      Returns information about events that meet the specified filter criteria. Events are\n returned in a summary form and do not include the detailed description, any additional\n metadata that depends on the event type, or any affected resources. To retrieve that\n information, use the DescribeEventDetails and DescribeAffectedEntities operations.

                                      \n

                                      If no filter criteria are specified, all events are returned. Results are sorted by\n lastModifiedTime, starting with the most recent event.

                                      \n \n
                                        \n
                                      • \n

                                        When you call the DescribeEvents operation and specify an entity\n for the entityValues parameter, Health might return public\n events that aren't specific to that resource. For example, if you call\n DescribeEvents and specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2)\n instance, Health might return events that aren't specific to that resource or\n service. To get events that are specific to a service, use the\n services parameter in the filter object. For more\n information, see Event.

                                        \n
                                      • \n
                                      • \n

                                        This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                        \n
                                      • \n
                                      \n
                                      ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", @@ -761,7 +761,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Returns information about events across your organization in AWS Organizations. You can use\n thefilters parameter to specify the events that you want to return. Events\n are returned in a summary form and don't include the affected accounts, detailed\n description, any additional metadata that depends on the event type, or any affected\n resources. To retrieve that information, use the following operations:

                                      \n \n

                                      If you don't specify a filter, the\n DescribeEventsForOrganizations returns all events across your organization.\n Results are sorted by lastModifiedTime, starting with the most recent event.

                                      \n

                                      For more information about the different types of AWS Health events, see Event.

                                      \n

                                      Before you can call this operation, you must first enable AWS Health to work with\n AWS Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's\n management account.

                                      \n \n

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

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

                                      Returns information about events across your organization in Organizations. You can use\n thefilters parameter to specify the events that you want to return. Events\n are returned in a summary form and don't include the affected accounts, detailed\n description, any additional metadata that depends on the event type, or any affected\n resources. To retrieve that information, use the following operations:

                                      \n \n

                                      If you don't specify a filter, the\n DescribeEventsForOrganizations returns all events across your organization.\n Results are sorted by lastModifiedTime, starting with the most recent event.

                                      \n

                                      For more information about the different types of Health events, see Event.

                                      \n

                                      Before you can call this operation, you must first enable Health to work with\n Organizations. To do this, call the EnableHealthServiceAccessForOrganization operation from your organization's\n management account.

                                      \n \n

                                      This API operation uses pagination. Specify the nextToken parameter in the next request to return more results.

                                      \n
                                      ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "nextToken", @@ -869,7 +869,7 @@ "target": "com.amazonaws.health#DescribeHealthServiceStatusForOrganizationResponse" }, "traits": { - "smithy.api#documentation": "

                                      This operation provides status information on enabling or disabling AWS Health to work\n with your organization. To call this operation, you must sign in as an IAM user, assume\n an IAM role, or sign in as the root user (not recommended) in the organization's\n management account.

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

                                      This operation provides status information on enabling or disabling Health to work\n with your organization. To call this operation, you must sign in as an IAM user, assume\n an IAM role, or sign in as the root user (not recommended) in the organization's\n management account.

                                      ", "smithy.api#idempotent": {} } }, @@ -879,7 +879,7 @@ "healthServiceAccessStatusForOrganization": { "target": "com.amazonaws.health#healthServiceAccessStatusForOrganization", "traits": { - "smithy.api#documentation": "

                                      Information about the status of enabling or disabling AWS Health Organizational View in\n your organization.

                                      \n

                                      Valid values are ENABLED | DISABLED | PENDING.

                                      " + "smithy.api#documentation": "

                                      Information about the status of enabling or disabling the Health organizational\n view feature in\n your organization.

                                      \n

                                      Valid values are ENABLED | DISABLED | PENDING.

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

                                      Disables AWS Health from working with AWS Organizations. To call this operation, you must sign\n in as an AWS Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not\n recommended) in the organization's management account. For more information, see Aggregating\n AWS Health events in the\n AWS Health User Guide.

                                      \n

                                      This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or AWS Command Line Interface (AWS CLI) to\n remove the service-linked role. For more information, see Deleting a Service-Linked Role in the\n IAM User Guide.

                                      \n \n

                                      You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation,\n AWS Health stops aggregating events for all other AWS accounts in your organization.\n If you call the AWS Health API operations for organizational view, AWS Health returns\n an error. AWS Health continues to aggregate health events for your AWS\n account.

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

                                      Disables Health from working with Organizations. To call this operation, you must sign\n in as an Identity and Access Management (IAM) user, assume an IAM role, or sign in as the root user (not\n recommended) in the organization's management account. For more information, see Aggregating\n Health events in the\n Health User Guide.

                                      \n

                                      This operation doesn't remove the service-linked role from the management account in your organization. You must use the IAM console, API, or Command Line Interface (CLI) to\n remove the service-linked role. For more information, see Deleting a Service-Linked Role in the\n IAM User Guide.

                                      \n \n

                                      You can also disable the organizational feature by using the Organizations DisableAWSServiceAccess API operation. After you call this operation,\n Health stops aggregating events for all other Amazon Web Services accounts in your organization.\n If you call the Health API operations for organizational view, Health returns\n an error. Health continues to aggregate health events for your Amazon Web Services account.

                                      \n
                                      ", "smithy.api#idempotent": {} } }, @@ -904,7 +904,7 @@ } ], "traits": { - "smithy.api#documentation": "

                                      Enables AWS Health to work with AWS Organizations. You can use the organizational view feature\n to aggregate events from all AWS accounts in your organization in a centralized location.

                                      \n

                                      This operation also creates a service-linked role for the management account in the\n organization.

                                      \n \n

                                      To call this operation, you must meet the following requirements:

                                      \n
                                        \n
                                      • \n

                                        You must have a Business or Enterprise Support plan from AWS Support to use the AWS Health\n API. If you call the AWS Health API from an AWS account that doesn't have a\n Business or Enterprise Support plan, you receive a\n SubscriptionRequiredException error.

                                        \n
                                      • \n
                                      • \n

                                        You must have permission to call this operation from the organization's\n management account. For example IAM policies, see AWS Health\n identity-based policy examples.

                                        \n
                                      • \n
                                      \n
                                      \n

                                      If you don't have the required support plan, you can instead use the AWS Health console\n to enable the organizational view feature. For more information, see Aggregating\n AWS Health events in the AWS Health User Guide.

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

                                      Enables Health to work with Organizations. You can use the organizational view feature\n to aggregate events from all Amazon Web Services accounts in your organization in a centralized location.

                                      \n

                                      This operation also creates a service-linked role for the management account in the\n organization.

                                      \n \n

                                      To call this operation, you must meet the following requirements:

                                      \n
                                        \n
                                      • \n

                                        You must have a Business or Enterprise Support plan from Amazon Web Services Support to use the Health\n API. If you call the Health API from an Amazon Web Services account that doesn't have a\n Business or Enterprise Support plan, you receive a\n SubscriptionRequiredException error.

                                        \n
                                      • \n
                                      • \n

                                        You must have permission to call this operation from the organization's\n management account. For example IAM policies, see Health\n identity-based policy examples.

                                        \n
                                      • \n
                                      \n
                                      \n

                                      If you don't have the required support plan, you can instead use the Health console\n to enable the organizational view feature. For more information, see Aggregating\n Health events in the Health User Guide.

                                      ", "smithy.api#idempotent": {} } }, @@ -976,7 +976,7 @@ } }, "traits": { - "smithy.api#documentation": "

                                      The values to use to filter results from the EntityFilter\n operation.

                                      " + "smithy.api#documentation": "

                                      The values to use to filter results from the DescribeAffectedEntities\n operation.

                                      " } }, "com.amazonaws.health#EntityList": { @@ -997,7 +997,7 @@ "service": { "target": "com.amazonaws.health#service", "traits": { - "smithy.api#documentation": "

                                      The AWS service that is affected by the event. For example, EC2, RDS.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services service that is affected by the event. For example, EC2, RDS.

                                      " } }, "eventTypeCode": { @@ -1009,19 +1009,19 @@ "eventTypeCategory": { "target": "com.amazonaws.health#eventTypeCategory", "traits": { - "smithy.api#documentation": "

                                      The category of the event. Possible values are issue,\n scheduledChange, and accountNotification.

                                      " + "smithy.api#documentation": "

                                      A list of event type category codes. Possible values are\nissue, accountNotification, or scheduledChange. Currently,\nthe investigation value isn't supported at this time.

                                      " } }, "region": { "target": "com.amazonaws.health#region", "traits": { - "smithy.api#documentation": "

                                      The AWS Region name of the event.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services Region name of the event.

                                      " } }, "availabilityZone": { "target": "com.amazonaws.health#availabilityZone", "traits": { - "smithy.api#documentation": "

                                      The AWS Availability Zone of the event. For example, us-east-1a.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services Availability Zone of the event. For example, us-east-1a.

                                      " } }, "startTime": { @@ -1051,12 +1051,12 @@ "eventScopeCode": { "target": "com.amazonaws.health#eventScopeCode", "traits": { - "smithy.api#documentation": "

                                      This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

                                      \n
                                        \n
                                      • \n

                                        If the eventScopeCode value is PUBLIC, then the\n affectedAccounts value is always empty.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is ACCOUNT_SPECIFIC, then\n the affectedAccounts value lists the affected AWS accounts in your\n organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you\n have AWS accounts that use that service, those account IDs appear in the\n response.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is NONE, then the\n eventArn that you specified in the request is invalid or doesn't\n exist.

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

                                      This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

                                      \n
                                        \n
                                      • \n

                                        If the eventScopeCode value is PUBLIC, then the\n affectedAccounts value is always empty.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is ACCOUNT_SPECIFIC, then\n the affectedAccounts value lists the affected Amazon Web Services accounts in your\n organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you\n have Amazon Web Services accounts that use that service, those account IDs appear in the\n response.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is NONE, then the\n eventArn that you specified in the request is invalid or doesn't\n exist.

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

                                      Summary information about an AWS Health event.

                                      \n

                                      AWS Health events can be public or account-specific:

                                      \n
                                        \n
                                      • \n

                                        \n Public events might be service events that are not specific\n to an AWS account. For example, if there is an issue with an AWS Region,\n AWS Health provides information about the event, even if you don't use services or\n resources in that Region.

                                        \n
                                      • \n
                                      • \n

                                        \n Account-specific events are specific to either your AWS\n account or an account in your organization. For example, if there's an issue with\n Amazon Elastic Compute Cloud in a Region that you use, AWS Health provides information about the event\n and the affected resources in the account.

                                        \n
                                      • \n
                                      \n

                                      You can determine if an event is public or account-specific by using the\n eventScopeCode parameter. For more information, see eventScopeCode.

                                      " + "smithy.api#documentation": "

                                      Summary information about an Health event.

                                      \n

                                      Health events can be public or account-specific:

                                      \n
                                        \n
                                      • \n

                                        \n Public events might be service events that are not specific\n to an Amazon Web Services account. For example, if there is an issue with an Amazon Web Services Region,\n Health provides information about the event, even if you don't use services or\n resources in that Region.

                                        \n
                                      • \n
                                      • \n

                                        \n Account-specific events are specific to either your Amazon Web Services account or an account in your organization. For example, if there's an issue with\n Amazon Elastic Compute Cloud in a Region that you use, Health provides information about the event\n and the affected resources in the account.

                                        \n
                                      • \n
                                      \n

                                      You can determine if an event is public or account-specific by using the\n eventScopeCode parameter. For more information, see eventScopeCode.

                                      " } }, "com.amazonaws.health#EventAccountFilter": { @@ -1072,7 +1072,7 @@ "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { - "smithy.api#documentation": "

                                      The 12-digit AWS account numbers that contains the affected entities.

                                      " + "smithy.api#documentation": "

                                      The 12-digit Amazon Web Services account numbers that contains the affected entities.

                                      " } } }, @@ -1205,19 +1205,19 @@ "services": { "target": "com.amazonaws.health#serviceList", "traits": { - "smithy.api#documentation": "

                                      The AWS services associated with the event. For example, EC2, RDS.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services services associated with the event. For example, EC2, RDS.

                                      " } }, "regions": { "target": "com.amazonaws.health#regionList", "traits": { - "smithy.api#documentation": "

                                      A list of AWS Regions.

                                      " + "smithy.api#documentation": "

                                      A list of Amazon Web Services Regions.

                                      " } }, "availabilityZones": { "target": "com.amazonaws.health#availabilityZones", "traits": { - "smithy.api#documentation": "

                                      A list of AWS Availability Zones.

                                      " + "smithy.api#documentation": "

                                      A list of Amazon Web Services Availability Zones.

                                      " } }, "startTimes": { @@ -1253,7 +1253,7 @@ "eventTypeCategories": { "target": "com.amazonaws.health#eventTypeCategoryList2", "traits": { - "smithy.api#documentation": "

                                      A list of event type category codes (issue, scheduledChange,\n or accountNotification).

                                      " + "smithy.api#documentation": "

                                      A list of event type category codes. Possible values are\nissue, accountNotification, or scheduledChange. Currently,\nthe investigation value isn't supported at this time.

                                      " } }, "tags": { @@ -1285,7 +1285,7 @@ "service": { "target": "com.amazonaws.health#service", "traits": { - "smithy.api#documentation": "

                                      The AWS service that is affected by the event. For example, EC2, RDS.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services service that is affected by the event. For example, EC2, RDS.

                                      " } }, "code": { @@ -1297,12 +1297,12 @@ "category": { "target": "com.amazonaws.health#eventTypeCategory", "traits": { - "smithy.api#documentation": "

                                      A list of event type category codes (issue, scheduledChange,\n or accountNotification).

                                      " + "smithy.api#documentation": "

                                      A list of event type category codes. Possible values are\nissue, accountNotification, or scheduledChange. Currently,\nthe investigation value isn't supported at this time.

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

                                      Contains the metadata about a type of event that is reported by AWS Health. The\n EventType shows the category, service, and the event type code of the\n event. For example, an issue might be the category, EC2 the\n service, and AWS_EC2_SYSTEM_MAINTENANCE_EVENT the event type code.

                                      \n

                                      You can use the DescribeEventTypes API operation to return this information\n about an event.

                                      \n

                                      You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or\n take action when AWS Health delivers a specific event to your AWS account. For more\n information, see Monitor for AWS Health events with Amazon CloudWatch Events in the\n AWS Health User Guide.

                                      " + "smithy.api#documentation": "

                                      Contains the metadata about a type of event that is reported by Health. The\n EventType shows the category, service, and the event type code of the\n event. For example, an issue might be the category, EC2 the\n service, and AWS_EC2_SYSTEM_MAINTENANCE_EVENT the event type code.

                                      \n

                                      You can use the DescribeEventTypes API operation to return this information\n about an event.

                                      \n

                                      You can also use the Amazon CloudWatch Events console to create a rule so that you can get notified or\n take action when Health delivers a specific event to your Amazon Web Services account. For more\n information, see Monitor for Health events with Amazon CloudWatch Events in the\n Health User Guide.

                                      " } }, "com.amazonaws.health#EventType2": { @@ -1351,13 +1351,13 @@ "services": { "target": "com.amazonaws.health#serviceList", "traits": { - "smithy.api#documentation": "

                                      The AWS services associated with the event. For example, EC2, RDS.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services services associated with the event. For example, EC2, RDS.

                                      " } }, "eventTypeCategories": { "target": "com.amazonaws.health#EventTypeCategoryList", "traits": { - "smithy.api#documentation": "

                                      A list of event type category codes (issue, scheduledChange,\n or accountNotification).

                                      " + "smithy.api#documentation": "

                                      A list of event type category codes. Possible values are\nissue, accountNotification, or scheduledChange. Currently,\nthe investigation value isn't supported at this time.

                                      " } } }, @@ -1389,7 +1389,7 @@ "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { - "smithy.api#documentation": "

                                      The 12-digit AWS account numbers that contains the affected entities.

                                      " + "smithy.api#documentation": "

                                      The 12-digit Amazon Web Services account numbers that contains the affected entities.

                                      " } }, "eventArn": { @@ -1439,7 +1439,7 @@ "service": { "target": "com.amazonaws.health#service", "traits": { - "smithy.api#documentation": "

                                      The AWS service that is affected by the event, such as EC2 and RDS.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services service that is affected by the event, such as EC2 and RDS.

                                      " } }, "eventTypeCode": { @@ -1451,19 +1451,19 @@ "eventTypeCategory": { "target": "com.amazonaws.health#eventTypeCategory", "traits": { - "smithy.api#documentation": "

                                      The category of the event type.

                                      " + "smithy.api#documentation": "

                                      A list of event type category codes. Possible values are\nissue, accountNotification, or scheduledChange. Currently,\nthe investigation value isn't supported at this time.

                                      " } }, "eventScopeCode": { "target": "com.amazonaws.health#eventScopeCode", "traits": { - "smithy.api#documentation": "

                                      This parameter specifies if the AWS Health event is a public AWS service event or an account-specific event.

                                      \n
                                        \n
                                      • \n

                                        If the eventScopeCode value is PUBLIC, then the\n affectedAccounts value is always empty.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is ACCOUNT_SPECIFIC, then\n the affectedAccounts value lists the affected AWS accounts in your\n organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you\n have AWS accounts that use that service, those account IDs appear in the\n response.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is NONE, then the\n eventArn that you specified in the request is invalid or doesn't\n exist.

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

                                      This parameter specifies if the Health event is a public Amazon Web Services service event or an account-specific event.

                                      \n
                                        \n
                                      • \n

                                        If the eventScopeCode value is PUBLIC, then the\n affectedAccounts value is always empty.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is ACCOUNT_SPECIFIC, then\n the affectedAccounts value lists the affected Amazon Web Services accounts in your\n organization. For example, if an event affects a service such as Amazon Elastic Compute Cloud and you\n have Amazon Web Services accounts that use that service, those account IDs appear in the\n response.

                                        \n
                                      • \n
                                      • \n

                                        If the eventScopeCode value is NONE, then the\n eventArn that you specified in the request is invalid or doesn't\n exist.

                                        \n
                                      • \n
                                      " } }, "region": { "target": "com.amazonaws.health#region", "traits": { - "smithy.api#documentation": "

                                      The AWS Region name of the event.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services Region name of the event.

                                      " } }, "startTime": { @@ -1513,7 +1513,7 @@ "awsAccountId": { "target": "com.amazonaws.health#accountId", "traits": { - "smithy.api#documentation": "

                                      The 12-digit AWS account numbers that contains the affected entities.

                                      " + "smithy.api#documentation": "

                                      The 12-digit Amazon Web Services account numbers that contains the affected entities.

                                      " } }, "event": { @@ -1557,7 +1557,7 @@ "errorMessage": { "target": "com.amazonaws.health#string", "traits": { - "smithy.api#documentation": "

                                      A message that describes the error.

                                      \n

                                      If you call the DescribeEventDetailsForOrganization\noperation and receive one of the following errors, follow the recommendations in the message:

                                      \n
                                        \n
                                      • \n

                                        We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an AWS account ID in the request.

                                        \n
                                      • \n
                                      • \n

                                        We couldn't find an account specific event for the specified AWS account. To find an event that is public, you must enter a null value for the AWS account ID in the request.

                                        \n
                                      • \n
                                      • \n

                                        Your AWS account doesn't include the AWS Support plan required to use the AWS Health API. You must have either a Business or Enterprise Support plan.

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

                                      A message that describes the error.

                                      \n

                                      If you call the DescribeEventDetailsForOrganization operation and receive one of the following errors, follow the recommendations in the message:

                                      \n
                                        \n
                                      • \n

                                        We couldn't find a public event that matches your request. To find an event that is account specific, you must enter an Amazon Web Services account ID in the request.

                                        \n
                                      • \n
                                      • \n

                                        We couldn't find an account specific event for the specified Amazon Web Services account. To find an event that is public, you must enter a null value for the Amazon Web Services account ID in the request.

                                        \n
                                      • \n
                                      • \n

                                        Your Amazon Web Services account doesn't include the Amazon Web Services Support plan required to use the Health API. You must have either a Business or Enterprise Support plan.

                                        \n
                                      • \n
                                      " } } }, @@ -1577,19 +1577,19 @@ "awsAccountIds": { "target": "com.amazonaws.health#awsAccountIdsList", "traits": { - "smithy.api#documentation": "

                                      A list of 12-digit AWS account numbers that contains the affected entities.

                                      " + "smithy.api#documentation": "

                                      A list of 12-digit Amazon Web Services account numbers that contains the affected entities.

                                      " } }, "services": { "target": "com.amazonaws.health#serviceList", "traits": { - "smithy.api#documentation": "

                                      The AWS services associated with the event. For example, EC2, RDS.

                                      " + "smithy.api#documentation": "

                                      The Amazon Web Services services associated with the event. For example, EC2, RDS.

                                      " } }, "regions": { "target": "com.amazonaws.health#regionList", "traits": { - "smithy.api#documentation": "

                                      A list of AWS Regions.

                                      " + "smithy.api#documentation": "

                                      A list of Amazon Web Services Regions.

                                      " } }, "startTime": { @@ -1616,7 +1616,7 @@ "eventTypeCategories": { "target": "com.amazonaws.health#eventTypeCategoryList2", "traits": { - "smithy.api#documentation": "

                                      A list of event type category codes (issue, scheduledChange, or accountNotification).

                                      " + "smithy.api#documentation": "

                                      A list of event type category codes. Possible values are\nissue, accountNotification, or scheduledChange. Currently,\nthe investigation value isn't supported at this time.

                                      " } }, "eventStatusCodes": { diff --git a/codegen/sdk-codegen/aws-models/resiliencehub.json b/codegen/sdk-codegen/aws-models/resiliencehub.json new file mode 100644 index 0000000000000..1fb94514e67c4 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/resiliencehub.json @@ -0,0 +1,5627 @@ +{ + "smithy": "1.0", + "shapes": { + "com.amazonaws.resiliencehub#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + } + }, + "traits": { + "smithy.api#documentation": "

                                      You don't have permissions to perform the requested operation. The user or role that is\n making the request must have at least one IAM permissions policy attached that grants the\n required permissions.

                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappings": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappingsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Adds the resource mapping for the draft application version.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/add-draft-app-version-resource-mappings", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappingsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "resourceMappings": { + "target": "com.amazonaws.resiliencehub#ResourceMappingList", + "traits": { + "smithy.api#documentation": "

                                      Mappings used to map logical resources from the template to physical resources. You can\n use the mapping type CFN_STACK if the application template uses\n a logical stack name. Or you can map individual resources by using the mapping type\n RESOURCE. We recommend using the mapping type CFN_STACK if the\n application is backed by a CloudFormation stack.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappingsResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "resourceMappings": { + "target": "com.amazonaws.resiliencehub#ResourceMappingList", + "traits": { + "smithy.api#documentation": "

                                      Mappings used to map logical resources from the template to physical resources. You can\n use the mapping type CFN_STACK if the application template uses\n a logical stack name. Or you can map individual resources by using the mapping type\n RESOURCE. We recommend using the mapping type CFN_STACK if the\n application is backed by a CloudFormation stack.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#AlarmRecommendation": { + "type": "structure", + "members": { + "recommendationId": { + "target": "com.amazonaws.resiliencehub#Uuid", + "traits": { + "smithy.api#documentation": "

                                      The identifier of the alarm recommendation.

                                      ", + "smithy.api#required": {} + } + }, + "referenceId": { + "target": "com.amazonaws.resiliencehub#SpecReferenceId", + "traits": { + "smithy.api#documentation": "

                                      The reference identifier of the alarm recommendation.

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

                                      The name of the alarm recommendation.

                                      ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The description of the recommendation.

                                      " + } + }, + "type": { + "target": "com.amazonaws.resiliencehub#AlarmType", + "traits": { + "smithy.api#documentation": "

                                      The type of alarm recommendation.

                                      ", + "smithy.api#required": {} + } + }, + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityId", + "traits": { + "smithy.api#documentation": "

                                      The application component for the CloudWatch alarm recommendation.

                                      " + } + }, + "items": { + "target": "com.amazonaws.resiliencehub#RecommendationItemList", + "traits": { + "smithy.api#documentation": "

                                      The list of CloudWatch alarm recommendations.

                                      " + } + }, + "prerequisite": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The prerequisite for the alarm recommendation.

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

                                      Defines a recommendation for a CloudWatch alarm.

                                      " + } + }, + "com.amazonaws.resiliencehub#AlarmRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AlarmRecommendation" + } + }, + "com.amazonaws.resiliencehub#AlarmType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Metric", + "name": "METRIC" + }, + { + "value": "Composite", + "name": "COMPOSITE" + }, + { + "value": "Canary", + "name": "CANARY" + }, + { + "value": "Logs", + "name": "LOGS" + }, + { + "value": "Event", + "name": "EVENT" + } + ] + } + }, + "com.amazonaws.resiliencehub#App": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

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

                                      The name for the application.

                                      ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The optional description for an app.

                                      " + } + }, + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "creationTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The timestamp for when the app was created.

                                      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#AppStatusType", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      " + } + }, + "complianceStatus": { + "target": "com.amazonaws.resiliencehub#AppComplianceStatusType", + "traits": { + "smithy.api#documentation": "

                                      The current status of compliance for the resiliency policy.

                                      " + } + }, + "lastAppComplianceEvaluationTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The timestamp for the most recent compliance evaluation.

                                      " + } + }, + "resiliencyScore": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#documentation": "

                                      The current resiliency score for the application.

                                      " + } + }, + "lastResiliencyScoreEvaluationTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The timestamp for the most recent resiliency score evaluation.

                                      " + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

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

                                      Defines a Resilience Hub application.

                                      " + } + }, + "com.amazonaws.resiliencehub#AppAssessment": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      " + } + }, + "invoker": { + "target": "com.amazonaws.resiliencehub#AssessmentInvoker", + "traits": { + "smithy.api#documentation": "

                                      The entity that invoked the assessment.

                                      ", + "smithy.api#required": {} + } + }, + "cost": { + "target": "com.amazonaws.resiliencehub#Cost", + "traits": { + "smithy.api#documentation": "

                                      The cost for the application.

                                      " + } + }, + "resiliencyScore": { + "target": "com.amazonaws.resiliencehub#ResiliencyScore", + "traits": { + "smithy.api#documentation": "

                                      The current resiliency score for the application.

                                      " + } + }, + "compliance": { + "target": "com.amazonaws.resiliencehub#AssessmentCompliance", + "traits": { + "smithy.api#documentation": "

                                      The application compliance against the resiliency policy.

                                      " + } + }, + "complianceStatus": { + "target": "com.amazonaws.resiliencehub#ComplianceStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of the compliance for the resiliency policy.

                                      " + } + }, + "assessmentStatus": { + "target": "com.amazonaws.resiliencehub#AssessmentStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of the assessment for the resiliency policy.

                                      ", + "smithy.api#required": {} + } + }, + "startTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The starting time for the action.

                                      " + } + }, + "endTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The end time for the action.

                                      " + } + }, + "message": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      Error or warning message from the assessment execution

                                      " + } + }, + "assessmentName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the assessment.

                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "policy": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicy", + "traits": { + "smithy.api#documentation": "

                                      The resiliency policy.

                                      " + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

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

                                      Defines an application assessment.

                                      " + } + }, + "com.amazonaws.resiliencehub#AppAssessmentSummary": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      " + } + }, + "assessmentStatus": { + "target": "com.amazonaws.resiliencehub#AssessmentStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of the assessment for the resiliency policy.

                                      ", + "smithy.api#required": {} + } + }, + "invoker": { + "target": "com.amazonaws.resiliencehub#AssessmentInvoker", + "traits": { + "smithy.api#documentation": "

                                      The entity that invoked the assessment.

                                      " + } + }, + "startTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The starting time for the action.

                                      " + } + }, + "endTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The end time for the action.

                                      " + } + }, + "message": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The message from the assessment run.

                                      " + } + }, + "assessmentName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the assessment.

                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "complianceStatus": { + "target": "com.amazonaws.resiliencehub#ComplianceStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of compliance for the resiliency policy.

                                      " + } + }, + "cost": { + "target": "com.amazonaws.resiliencehub#Cost", + "traits": { + "smithy.api#documentation": "

                                      The cost for the application.

                                      " + } + }, + "resiliencyScore": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#documentation": "

                                      The current resiliency score for the application.

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

                                      Defines an application assessment summary.

                                      " + } + }, + "com.amazonaws.resiliencehub#AppAssessmentSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AppAssessmentSummary" + } + }, + "com.amazonaws.resiliencehub#AppComplianceStatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PolicyBreached", + "name": "POLICY_BREACHED" + }, + { + "value": "PolicyMet", + "name": "POLICY_MET" + }, + { + "value": "NotAssessed", + "name": "NOT_ASSESSED" + }, + { + "value": "ChangesDetected", + "name": "CHANGES_DETECTED" + } + ] + } + }, + "com.amazonaws.resiliencehub#AppComponent": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The name of the application component.

                                      ", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The type of application component.

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

                                      Defines an application component.

                                      " + } + }, + "com.amazonaws.resiliencehub#AppComponentCompliance": { + "type": "structure", + "members": { + "cost": { + "target": "com.amazonaws.resiliencehub#Cost", + "traits": { + "smithy.api#documentation": "

                                      The cost for the application.

                                      " + } + }, + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityId", + "traits": { + "smithy.api#documentation": "

                                      The name of the application component.

                                      " + } + }, + "compliance": { + "target": "com.amazonaws.resiliencehub#AssessmentCompliance", + "traits": { + "smithy.api#documentation": "

                                      The compliance of the application component against the resiliency policy.

                                      " + } + }, + "message": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The compliance message.

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

                                      The status of the action.

                                      " + } + }, + "resiliencyScore": { + "target": "com.amazonaws.resiliencehub#ResiliencyScore", + "traits": { + "smithy.api#documentation": "

                                      The current resiliency score for the application.

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

                                      Defines the compliance of an application component against the resiliency policy.

                                      " + } + }, + "com.amazonaws.resiliencehub#AppComponentList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AppComponent" + } + }, + "com.amazonaws.resiliencehub#AppStatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Active", + "name": "ACTIVE" + }, + { + "value": "Deleting", + "name": "DELETING" + } + ] + } + }, + "com.amazonaws.resiliencehub#AppSummary": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

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

                                      The name of the application.

                                      ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The optional description for an app.

                                      " + } + }, + "creationTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The timestamp for when the app was created.

                                      ", + "smithy.api#required": {} + } + }, + "complianceStatus": { + "target": "com.amazonaws.resiliencehub#AppComplianceStatusType", + "traits": { + "smithy.api#documentation": "

                                      The current status of compliance for the resiliency policy.

                                      " + } + }, + "resiliencyScore": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#documentation": "

                                      The current resiliency score for the application.

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

                                      Defines an application summary.

                                      " + } + }, + "com.amazonaws.resiliencehub#AppSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AppSummary" + } + }, + "com.amazonaws.resiliencehub#AppTemplateBody": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5000 + }, + "smithy.api#pattern": "^[\\w\\s:,-\\.'{}\\[\\]:\"]+$" + } + }, + "com.amazonaws.resiliencehub#AppVersionList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AppVersionSummary" + } + }, + "com.amazonaws.resiliencehub#AppVersionSummary": { + "type": "structure", + "members": { + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

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

                                      The version of the application.

                                      " + } + }, + "com.amazonaws.resiliencehub#Arn": { + "type": "string", + "traits": { + "smithy.api#pattern": "^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9/][A-Za-z0-9:_/+=,@.-]{0,1023}$" + } + }, + "com.amazonaws.resiliencehub#ArnList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#Arn" + } + }, + "com.amazonaws.resiliencehub#AssessmentCompliance": { + "type": "map", + "key": { + "target": "com.amazonaws.resiliencehub#DisruptionType" + }, + "value": { + "target": "com.amazonaws.resiliencehub#DisruptionCompliance" + } + }, + "com.amazonaws.resiliencehub#AssessmentInvoker": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "User", + "name": "USER" + }, + { + "value": "System", + "name": "SYSTEM" + } + ] + } + }, + "com.amazonaws.resiliencehub#AssessmentStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Pending", + "name": "PENDING" + }, + { + "value": "InProgress", + "name": "INPROGRESS" + }, + { + "value": "Failed", + "name": "FAILED" + }, + { + "value": "Success", + "name": "SUCCESS" + } + ] + } + }, + "com.amazonaws.resiliencehub#AssessmentStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AssessmentStatus" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.resiliencehub#AwsRegion": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]$" + } + }, + "com.amazonaws.resiliencehub#AwsResilienceHub": { + "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "resiliencehub", + "arnNamespace": "resiliencehub", + "cloudFormationName": "Resiliencehub", + "cloudTrailEventSource": "resiliencehub.amazonaws.com", + "endpointPrefix": "resiliencehub" + }, + "aws.auth#sigv4": { + "name": "resiliencehub" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request" + ] + }, + "smithy.api#documentation": "

                                      AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production.

                                      ", + "smithy.api#title": "AWS Resilience Hub" + }, + "version": "2020-04-30", + "operations": [ + { + "target": "com.amazonaws.resiliencehub#AddDraftAppVersionResourceMappings" + }, + { + "target": "com.amazonaws.resiliencehub#CreateApp" + }, + { + "target": "com.amazonaws.resiliencehub#CreateRecommendationTemplate" + }, + { + "target": "com.amazonaws.resiliencehub#CreateResiliencyPolicy" + }, + { + "target": "com.amazonaws.resiliencehub#DeleteApp" + }, + { + "target": "com.amazonaws.resiliencehub#DeleteAppAssessment" + }, + { + "target": "com.amazonaws.resiliencehub#DeleteRecommendationTemplate" + }, + { + "target": "com.amazonaws.resiliencehub#DeleteResiliencyPolicy" + }, + { + "target": "com.amazonaws.resiliencehub#DescribeApp" + }, + { + "target": "com.amazonaws.resiliencehub#DescribeAppAssessment" + }, + { + "target": "com.amazonaws.resiliencehub#DescribeAppVersionResourcesResolutionStatus" + }, + { + "target": "com.amazonaws.resiliencehub#DescribeAppVersionTemplate" + }, + { + "target": "com.amazonaws.resiliencehub#DescribeDraftAppVersionResourcesImportStatus" + }, + { + "target": "com.amazonaws.resiliencehub#DescribeResiliencyPolicy" + }, + { + "target": "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersion" + }, + { + "target": "com.amazonaws.resiliencehub#ListAlarmRecommendations" + }, + { + "target": "com.amazonaws.resiliencehub#ListAppAssessments" + }, + { + "target": "com.amazonaws.resiliencehub#ListAppComponentCompliances" + }, + { + "target": "com.amazonaws.resiliencehub#ListAppComponentRecommendations" + }, + { + "target": "com.amazonaws.resiliencehub#ListApps" + }, + { + "target": "com.amazonaws.resiliencehub#ListAppVersionResourceMappings" + }, + { + "target": "com.amazonaws.resiliencehub#ListAppVersionResources" + }, + { + "target": "com.amazonaws.resiliencehub#ListAppVersions" + }, + { + "target": "com.amazonaws.resiliencehub#ListRecommendationTemplates" + }, + { + "target": "com.amazonaws.resiliencehub#ListResiliencyPolicies" + }, + { + "target": "com.amazonaws.resiliencehub#ListSopRecommendations" + }, + { + "target": "com.amazonaws.resiliencehub#ListSuggestedResiliencyPolicies" + }, + { + "target": "com.amazonaws.resiliencehub#ListTagsForResource" + }, + { + "target": "com.amazonaws.resiliencehub#ListTestRecommendations" + }, + { + "target": "com.amazonaws.resiliencehub#ListUnsupportedAppVersionResources" + }, + { + "target": "com.amazonaws.resiliencehub#PublishAppVersion" + }, + { + "target": "com.amazonaws.resiliencehub#PutDraftAppVersionTemplate" + }, + { + "target": "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappings" + }, + { + "target": "com.amazonaws.resiliencehub#ResolveAppVersionResources" + }, + { + "target": "com.amazonaws.resiliencehub#StartAppAssessment" + }, + { + "target": "com.amazonaws.resiliencehub#TagResource" + }, + { + "target": "com.amazonaws.resiliencehub#UntagResource" + }, + { + "target": "com.amazonaws.resiliencehub#UpdateApp" + }, + { + "target": "com.amazonaws.resiliencehub#UpdateResiliencyPolicy" + } + ] + }, + "com.amazonaws.resiliencehub#BooleanOptional": { + "type": "boolean", + "traits": { + "smithy.api#box": {} + } + }, + "com.amazonaws.resiliencehub#ClientToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 63 + }, + "smithy.api#pattern": "^[A-za-z0-9_.-]{0,63}$" + } + }, + "com.amazonaws.resiliencehub#ComplianceStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PolicyBreached", + "name": "POLICY_BREACHED" + }, + { + "value": "PolicyMet", + "name": "POLICY_MET" + } + ] + } + }, + "com.amazonaws.resiliencehub#ComponentCompliancesList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#AppComponentCompliance" + } + }, + "com.amazonaws.resiliencehub#ComponentRecommendation": { + "type": "structure", + "members": { + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityId", + "traits": { + "smithy.api#documentation": "

                                      The name of the application component.

                                      ", + "smithy.api#required": {} + } + }, + "recommendationStatus": { + "target": "com.amazonaws.resiliencehub#RecommendationComplianceStatus", + "traits": { + "smithy.api#documentation": "

                                      The recommendation status.

                                      ", + "smithy.api#required": {} + } + }, + "configRecommendations": { + "target": "com.amazonaws.resiliencehub#ConfigRecommendationList", + "traits": { + "smithy.api#documentation": "

                                      The list of recommendations.

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

                                      Defines recommendations for a Resilience Hub application component, returned as an object. This\n object contains component names, configuration recommendations, and recommendation\n statuses.

                                      " + } + }, + "com.amazonaws.resiliencehub#ComponentRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#ComponentRecommendation" + } + }, + "com.amazonaws.resiliencehub#ConfigRecommendation": { + "type": "structure", + "members": { + "cost": { + "target": "com.amazonaws.resiliencehub#Cost", + "traits": { + "smithy.api#documentation": "

                                      The cost for the application.

                                      " + } + }, + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityId", + "traits": { + "smithy.api#documentation": "

                                      The application component name.

                                      " + } + }, + "compliance": { + "target": "com.amazonaws.resiliencehub#AssessmentCompliance", + "traits": { + "smithy.api#documentation": "

                                      The current compliance against the resiliency policy before applying the configuration\n change.

                                      " + } + }, + "recommendationCompliance": { + "target": "com.amazonaws.resiliencehub#RecommendationCompliance", + "traits": { + "smithy.api#documentation": "

                                      The expected compliance against the resiliency policy after applying the configuration\n change.

                                      " + } + }, + "optimizationType": { + "target": "com.amazonaws.resiliencehub#ConfigRecommendationOptimizationType", + "traits": { + "smithy.api#documentation": "

                                      The type of optimization.

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

                                      The name of the recommendation configuration.

                                      ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The optional description for an app.

                                      " + } + }, + "suggestedChanges": { + "target": "com.amazonaws.resiliencehub#SuggestedChangesList", + "traits": { + "smithy.api#documentation": "

                                      List of the suggested configuration changes.

                                      " + } + }, + "haArchitecture": { + "target": "com.amazonaws.resiliencehub#HaArchitecture", + "traits": { + "smithy.api#documentation": "

                                      The architecture type.

                                      " + } + }, + "referenceId": { + "target": "com.amazonaws.resiliencehub#SpecReferenceId", + "traits": { + "smithy.api#documentation": "

                                      The reference identifier for the recommendation configuration.

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

                                      Defines a configuration recommendation.

                                      " + } + }, + "com.amazonaws.resiliencehub#ConfigRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#ConfigRecommendation" + } + }, + "com.amazonaws.resiliencehub#ConfigRecommendationOptimizationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "LeastCost", + "name": "LEAST_COST" + }, + { + "value": "LeastChange", + "name": "LEAST_CHANGE" + }, + { + "value": "BestAZRecovery", + "name": "BEST_AZ_RECOVERY" + }, + { + "value": "LeastErrors", + "name": "LEAST_ERRORS" + }, + { + "value": "BestAttainable", + "name": "BEST_ATTAINABLE" + } + ] + } + }, + "com.amazonaws.resiliencehub#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + }, + "resourceId": { + "target": "com.amazonaws.resiliencehub#ResourceId", + "traits": { + "smithy.api#documentation": "

                                      The identifier of the resource that the exception applies to.

                                      " + } + }, + "resourceType": { + "target": "com.amazonaws.resiliencehub#ResourceType", + "traits": { + "smithy.api#documentation": "

                                      The type of the resource that the exception applies to.

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

                                      Occurs when a conflict with a previous successful write is detected. This generally occurs\n when the previous write did not have time to propagate to the host serving the current\n request. A retry (with appropriate backoff logic) is the recommended response to this\n exception.

                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.resiliencehub#Cost": { + "type": "structure", + "members": { + "amount": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#documentation": "

                                      The cost amount.

                                      ", + "smithy.api#required": {} + } + }, + "currency": { + "target": "com.amazonaws.resiliencehub#CurrencyCode", + "traits": { + "smithy.api#documentation": "

                                      The cost currency, for example USD.

                                      ", + "smithy.api#required": {} + } + }, + "frequency": { + "target": "com.amazonaws.resiliencehub#CostFrequency", + "traits": { + "smithy.api#documentation": "

                                      The cost frequency.

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

                                      Defines a cost object.

                                      " + } + }, + "com.amazonaws.resiliencehub#CostFrequency": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Hourly", + "name": "HOURLY" + }, + { + "value": "Daily", + "name": "DAILY" + }, + { + "value": "Monthly", + "name": "MONTHLY" + }, + { + "value": "Yearly", + "name": "YEARLY" + } + ] + } + }, + "com.amazonaws.resiliencehub#CreateApp": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#CreateAppRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#CreateAppResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.

                                      \n\n

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

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/create-app", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#CreateAppRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name for the application.

                                      ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The optional description for an app.

                                      " + } + }, + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

                                      " + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.resiliencehub#CreateAppResponse": { + "type": "structure", + "members": { + "app": { + "target": "com.amazonaws.resiliencehub#App", + "traits": { + "smithy.api#documentation": "

                                      The created application returned as an object with details including compliance status,\n creation time, description, resiliency score, and more.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#CreateRecommendationTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#CreateRecommendationTemplateRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#CreateRecommendationTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Creates a new recommendation template.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/create-recommendation-template", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#CreateRecommendationTemplateRequest": { + "type": "structure", + "members": { + "recommendationIds": { + "target": "com.amazonaws.resiliencehub#RecommendationIdList", + "traits": { + "smithy.api#documentation": "

                                      Identifiers for the recommendations used to create a recommendation template.

                                      " + } + }, + "format": { + "target": "com.amazonaws.resiliencehub#TemplateFormat", + "traits": { + "smithy.api#documentation": "

                                      The format for the recommendation template.

                                      \n
                                      \n
                                      CfnJson
                                      \n
                                      \n

                                      The template is CloudFormation JSON.

                                      \n
                                      \n
                                      CfnYaml
                                      \n
                                      \n

                                      The template is CloudFormation YAML.

                                      \n
                                      \n
                                      " + } + }, + "recommendationTypes": { + "target": "com.amazonaws.resiliencehub#RenderRecommendationTypeList", + "traits": { + "smithy.api#documentation": "

                                      An array of strings that specify the recommendation template type or types.

                                      \n
                                      \n
                                      Alarm
                                      \n
                                      \n

                                      The template is an AlarmRecommendation template.

                                      \n
                                      \n
                                      Sop
                                      \n
                                      \n

                                      The template is a SopRecommendation template.

                                      \n
                                      \n
                                      Test
                                      \n
                                      \n

                                      The template is a TestRecommendation template.

                                      \n
                                      \n
                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

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

                                      The name for the recommendation template.

                                      ", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

                                      " + } + }, + "bucketName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the Amazon S3 bucket that will contain the recommendation template.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#CreateRecommendationTemplateResponse": { + "type": "structure", + "members": { + "recommendationTemplate": { + "target": "com.amazonaws.resiliencehub#RecommendationTemplate", + "traits": { + "smithy.api#documentation": "

                                      The newly created recommendation template, returned as an object. This object includes the\n template's name, format, status, tags, Amazon S3 bucket location, and more.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#CreateResiliencyPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#CreateResiliencyPolicyRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#CreateResiliencyPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Creates a resiliency policy for an application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/create-resiliency-policy", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#CreateResiliencyPolicyRequest": { + "type": "structure", + "members": { + "policyName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the policy

                                      ", + "smithy.api#required": {} + } + }, + "policyDescription": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The description for the policy.

                                      " + } + }, + "dataLocationConstraint": { + "target": "com.amazonaws.resiliencehub#DataLocationConstraint", + "traits": { + "smithy.api#documentation": "

                                      Specifies a high-level geographical location constraint for where your resilience policy\n data can be stored.

                                      " + } + }, + "tier": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicyTier", + "traits": { + "smithy.api#documentation": "

                                      The tier for this resiliency policy, ranging from the highest severity\n (MissionCritical) to lowest (NonCritical).

                                      ", + "smithy.api#required": {} + } + }, + "policy": { + "target": "com.amazonaws.resiliencehub#DisruptionPolicy", + "traits": { + "smithy.api#documentation": "

                                      The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.

                                      ", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#CreateResiliencyPolicyResponse": { + "type": "structure", + "members": { + "policy": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicy", + "traits": { + "smithy.api#documentation": "

                                      The type of resiliency policy that was created, including the recovery time objective\n (RTO) and recovery point objective (RPO) in seconds.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#CurrencyCode": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 3 + } + } + }, + "com.amazonaws.resiliencehub#CustomerId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9]{12}$" + } + }, + "com.amazonaws.resiliencehub#DataLocationConstraint": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "AnyLocation", + "name": "ANY_LOCATION" + }, + { + "value": "SameContinent", + "name": "SAME_CONTINENT" + }, + { + "value": "SameCountry", + "name": "SAME_COUNTRY" + } + ] + } + }, + "com.amazonaws.resiliencehub#DeleteApp": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DeleteAppRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DeleteAppResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Deletes an AWS Resilience Hub application. This is a destructive action that can't be\n undone.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/delete-app", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DeleteAppAssessment": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DeleteAppAssessmentRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DeleteAppAssessmentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Deletes an AWS Resilience Hub application assessment. This is a destructive action that can't\n be undone.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/delete-app-assessment", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DeleteAppAssessmentRequest": { + "type": "structure", + "members": { + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteAppAssessmentResponse": { + "type": "structure", + "members": { + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "assessmentStatus": { + "target": "com.amazonaws.resiliencehub#AssessmentStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of the assessment for the resiliency policy.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteAppRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "forceDelete": { + "target": "com.amazonaws.resiliencehub#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                      A boolean option to force the deletion of a Resilience Hub application.

                                      " + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteAppResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteRecommendationTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DeleteRecommendationTemplateRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DeleteRecommendationTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Deletes a recommendation template. This is a destructive action that can't be\n undone.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/delete-recommendation-template", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DeleteRecommendationTemplateRequest": { + "type": "structure", + "members": { + "recommendationTemplateArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteRecommendationTemplateResponse": { + "type": "structure", + "members": { + "recommendationTemplateArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#RecommendationTemplateStatus", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteResiliencyPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DeleteResiliencyPolicyRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DeleteResiliencyPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Deletes a resiliency policy. This is a destructive action that can't be undone.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/delete-resiliency-policy", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DeleteResiliencyPolicyRequest": { + "type": "structure", + "members": { + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DeleteResiliencyPolicyResponse": { + "type": "structure", + "members": { + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeApp": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeAppRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeAppResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Describes an AWS Resilience Hub application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-app", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppAssessment": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeAppAssessmentRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeAppAssessmentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Describes an assessment for an AWS Resilience Hub application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-app-assessment", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppAssessmentRequest": { + "type": "structure", + "members": { + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppAssessmentResponse": { + "type": "structure", + "members": { + "assessment": { + "target": "com.amazonaws.resiliencehub#AppAssessment", + "traits": { + "smithy.api#documentation": "

                                      The assessment for an AWS Resilience Hub application, returned as an object. This object\n includes Amazon Resource Names (ARNs), compliance information, compliance status, cost,\n messages, resiliency scores, and more.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppResponse": { + "type": "structure", + "members": { + "app": { + "target": "com.amazonaws.resiliencehub#App", + "traits": { + "smithy.api#documentation": "

                                      The specified application, returned as an object with details including compliance status,\n creation time, description, resiliency score, and more.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppVersionResourcesResolutionStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeAppVersionResourcesResolutionStatusRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeAppVersionResourcesResolutionStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Returns the resolution status for the specified resolution identifier for an application\n version. If resolutionId is not specified, the current resolution status is\n returned.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-app-version-resources-resolution-status", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppVersionResourcesResolutionStatusRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppVersionResourcesResolutionStatusResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

                                      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#ResourceResolutionStatusType", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      ", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The returned error message for the request.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppVersionTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeAppVersionTemplateRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeAppVersionTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Describes details about an AWS Resilience Hub

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-app-version-template", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppVersionTemplateRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeAppVersionTemplateResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "appTemplateBody": { + "target": "com.amazonaws.resiliencehub#AppTemplateBody", + "traits": { + "smithy.api#documentation": "

                                      The body of the template.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeDraftAppVersionResourcesImportStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeDraftAppVersionResourcesImportStatusRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeDraftAppVersionResourcesImportStatusResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Describes the status of importing resources to an application version.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-draft-app-version-resources-import-status", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeDraftAppVersionResourcesImportStatusRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeDraftAppVersionResourcesImportStatusResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#ResourceImportStatusType", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      ", + "smithy.api#required": {} + } + }, + "statusChangeTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The timestamp for when the status last changed.

                                      ", + "smithy.api#required": {} + } + }, + "errorMessage": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The returned error message for the request.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeResiliencyPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#DescribeResiliencyPolicyRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#DescribeResiliencyPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Describes a specified resiliency policy for an AWS Resilience Hub application. The returned\n policy object includes creation time, data location constraints, the Amazon Resource Name\n (ARN) for the policy, tags, tier, and more.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/describe-resiliency-policy", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#DescribeResiliencyPolicyRequest": { + "type": "structure", + "members": { + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DescribeResiliencyPolicyResponse": { + "type": "structure", + "members": { + "policy": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicy", + "traits": { + "smithy.api#documentation": "

                                      Information about the specific resiliency policy, returned as an object. This object\n includes creation time, data location constraints, its name, description, tags, the recovery\n time objective (RTO) and recovery point objective (RPO) in seconds, and more.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#DisruptionCompliance": { + "type": "structure", + "members": { + "achievableRtoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The Recovery Time Objective (RTO) that is achievable, in seconds

                                      " + } + }, + "currentRtoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The current RTO, in seconds.

                                      " + } + }, + "rtoReferenceId": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The RTO reference identifier.

                                      " + } + }, + "rtoDescription": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The RTO description.

                                      " + } + }, + "currentRpoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The current RPO, in seconds.

                                      " + } + }, + "rpoReferenceId": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The RPO reference identifier.

                                      " + } + }, + "rpoDescription": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The RPO description.

                                      " + } + }, + "complianceStatus": { + "target": "com.amazonaws.resiliencehub#ComplianceStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of compliance for the resiliency policy.

                                      ", + "smithy.api#required": {} + } + }, + "achievableRpoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The Recovery Point Objective (RPO) that is achievable, in seconds.

                                      " + } + }, + "message": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The disruption compliance message.

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

                                      Defines the compliance against the resiliency policy for a disruption.

                                      " + } + }, + "com.amazonaws.resiliencehub#DisruptionPolicy": { + "type": "map", + "key": { + "target": "com.amazonaws.resiliencehub#DisruptionType" + }, + "value": { + "target": "com.amazonaws.resiliencehub#FailurePolicy" + } + }, + "com.amazonaws.resiliencehub#DisruptionResiliencyScore": { + "type": "map", + "key": { + "target": "com.amazonaws.resiliencehub#DisruptionType" + }, + "value": { + "target": "com.amazonaws.resiliencehub#Double" + } + }, + "com.amazonaws.resiliencehub#DisruptionType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Software", + "name": "SOFTWARE" + }, + { + "value": "Hardware", + "name": "HARDWARE" + }, + { + "value": "AZ", + "name": "AZ" + }, + { + "value": "Region", + "name": "REGION" + } + ] + } + }, + "com.amazonaws.resiliencehub#DocumentName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.resiliencehub#Double": { + "type": "double" + }, + "com.amazonaws.resiliencehub#EntityDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + } + } + }, + "com.amazonaws.resiliencehub#EntityId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\S{1,100}$" + } + }, + "com.amazonaws.resiliencehub#EntityName": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[A-Za-z0-9][A-Za-z0-9_\\-]{1,59}$" + } + }, + "com.amazonaws.resiliencehub#EntityNameList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#EntityName" + } + }, + "com.amazonaws.resiliencehub#EntityVersion": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\S{1,50}$" + } + }, + "com.amazonaws.resiliencehub#EstimatedCostTier": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "L1", + "name": "L1" + }, + { + "value": "L2", + "name": "L2" + }, + { + "value": "L3", + "name": "L3" + }, + { + "value": "L4", + "name": "L4" + } + ] + } + }, + "com.amazonaws.resiliencehub#FailurePolicy": { + "type": "structure", + "members": { + "rtoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The Recovery Time Objective (RTO), in seconds.

                                      ", + "smithy.api#required": {} + } + }, + "rpoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The Recovery Point Objective (RPO), in seconds.

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

                                      Defines a failure policy.

                                      " + } + }, + "com.amazonaws.resiliencehub#HaArchitecture": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MultiSite", + "name": "MULTI_SITE" + }, + { + "value": "WarmStandby", + "name": "WARM_STANDBY" + }, + { + "value": "PilotLight", + "name": "PILOT_LIGHT" + }, + { + "value": "BackupAndRestore", + "name": "BACKUP_AND_RESTORE" + }, + { + "value": "NoRecoveryPlan", + "name": "NO_RECOVERY_PLAN" + } + ] + } + }, + "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersion": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersionRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Imports resources from sources such as a CloudFormation stack, resource-groups, or application\n registry app to a draft application version.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/import-resources-to-draft-app-version", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersionRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "sourceArns": { + "target": "com.amazonaws.resiliencehub#ArnList", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Resource Names (ARNs) for the resources that you want to import.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ImportResourcesToDraftAppVersionResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "sourceArns": { + "target": "com.amazonaws.resiliencehub#ArnList", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Resource Names (ARNs) for the resources that you imported.

                                      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#ResourceImportStatusType", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + } + }, + "traits": { + "smithy.api#documentation": "

                                      This exception occurs when there is an internal failure in the AWS Resilience Hub\n service.

                                      ", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.resiliencehub#ListAlarmRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAlarmRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAlarmRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the alarm recommendations for a AWS Resilience Hub application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-alarm-recommendations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListAlarmRecommendationsRequest": { + "type": "structure", + "members": { + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

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

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAlarmRecommendationsResponse": { + "type": "structure", + "members": { + "alarmRecommendations": { + "target": "com.amazonaws.resiliencehub#AlarmRecommendationList", + "traits": { + "smithy.api#documentation": "

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

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppAssessments": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppAssessmentsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppAssessmentsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the assessments for an AWS Resilience Hub application. You can use request parameters to\n refine the results for the response object.

                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/list-app-assessments", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListAppAssessmentsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#httpQuery": "appArn" + } + }, + "assessmentName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name for the assessment.

                                      ", + "smithy.api#httpQuery": "assessmentName" + } + }, + "assessmentStatus": { + "target": "com.amazonaws.resiliencehub#AssessmentStatusList", + "traits": { + "smithy.api#documentation": "

                                      The current status of the assessment for the resiliency policy.

                                      ", + "smithy.api#httpQuery": "assessmentStatus" + } + }, + "complianceStatus": { + "target": "com.amazonaws.resiliencehub#ComplianceStatus", + "traits": { + "smithy.api#documentation": "

                                      The current status of compliance for the resiliency policy.

                                      ", + "smithy.api#httpQuery": "complianceStatus" + } + }, + "invoker": { + "target": "com.amazonaws.resiliencehub#AssessmentInvoker", + "traits": { + "smithy.api#documentation": "

                                      Specifies the entity that invoked a specific assessment, either a User or the\n System.

                                      ", + "smithy.api#httpQuery": "invoker" + } + }, + "reverseOrder": { + "target": "com.amazonaws.resiliencehub#BooleanOptional", + "traits": { + "smithy.api#documentation": "

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

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

                                      Null, or the token from a previous call to get the next set of results.

                                      ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppAssessmentsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + }, + "assessmentSummaries": { + "target": "com.amazonaws.resiliencehub#AppAssessmentSummaryList", + "traits": { + "smithy.api#documentation": "

                                      The summaries for the specified assessments, returned as an object. This object includes\n application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency\n scores, and more.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppComponentCompliances": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppComponentCompliancesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppComponentCompliancesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the compliances for an AWS Resilience Hub component.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-app-component-compliances", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListAppComponentCompliancesRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppComponentCompliancesResponse": { + "type": "structure", + "members": { + "componentCompliances": { + "target": "com.amazonaws.resiliencehub#ComponentCompliancesList", + "traits": { + "smithy.api#documentation": "

                                      The compliances for an AWS Resilience Hub application component, returned as an object. This\n object contains component names, compliances, costs, resiliency scores, outage scores, and\n more.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppComponentRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppComponentRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppComponentRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the recommendations for an AWS Resilience Hub component.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-app-component-recommendations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListAppComponentRecommendationsRequest": { + "type": "structure", + "members": { + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

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

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppComponentRecommendationsResponse": { + "type": "structure", + "members": { + "componentRecommendations": { + "target": "com.amazonaws.resiliencehub#ComponentRecommendationList", + "traits": { + "smithy.api#documentation": "

                                      The recommendations for an Resilience Hub application component, returned as an object. This\n object contains component names, configuration recommendations, and recommendation\n statuses.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionResourceMappings": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppVersionResourceMappingsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppVersionResourceMappingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists how the resources in an application version are mapped/sourced from. Mappings can be\n physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry\n app.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-app-version-resource-mappings", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionResourceMappingsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

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

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionResourceMappingsResponse": { + "type": "structure", + "members": { + "resourceMappings": { + "target": "com.amazonaws.resiliencehub#ResourceMappingList", + "traits": { + "smithy.api#documentation": "

                                      Mappings used to map logical resources from the template to physical resources. You can\n use the mapping type CFN_STACK if the application template uses\n a logical stack name. Or you can map individual resources by using the mapping type\n RESOURCE. We recommend using the mapping type CFN_STACK if the\n application is backed by a CloudFormation stack.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionResources": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppVersionResourcesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppVersionResourcesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists all the resources in an application version.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-app-version-resources", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionResourcesRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

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

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionResourcesResponse": { + "type": "structure", + "members": { + "physicalResources": { + "target": "com.amazonaws.resiliencehub#PhysicalResourceList", + "traits": { + "smithy.api#documentation": "

                                      The physical resources in the application version.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersions": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppVersionsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppVersionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the different versions for the Resilience Hub applications.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-app-versions", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

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

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppVersionsResponse": { + "type": "structure", + "members": { + "appVersions": { + "target": "com.amazonaws.resiliencehub#AppVersionList", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListApps": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListAppsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListAppsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists your Resilience Hub applications.

                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/list-apps", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListAppsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      Null, or the token from a previous call to get the next set of results.

                                      ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      ", + "smithy.api#httpQuery": "maxResults" + } + }, + "name": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name for the one of the listed applications.

                                      ", + "smithy.api#httpQuery": "name" + } + }, + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#httpQuery": "appArn" + } + } + } + }, + "com.amazonaws.resiliencehub#ListAppsResponse": { + "type": "structure", + "members": { + "appSummaries": { + "target": "com.amazonaws.resiliencehub#AppSummaryList", + "traits": { + "smithy.api#documentation": "

                                      Summaries for the Resilience Hub application.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListRecommendationTemplates": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListRecommendationTemplatesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListRecommendationTemplatesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the recommendation templates for the Resilience Hub applications.

                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/list-recommendation-templates", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListRecommendationTemplatesRequest": { + "type": "structure", + "members": { + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#httpQuery": "assessmentArn", + "smithy.api#required": {} + } + }, + "reverseOrder": { + "target": "com.amazonaws.resiliencehub#BooleanOptional", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#httpQuery": "reverseOrder" + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#RecommendationTemplateStatusList", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      ", + "smithy.api#httpQuery": "status" + } + }, + "recommendationTemplateArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#httpQuery": "recommendationTemplateArn" + } + }, + "name": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name for one of the listed recommendation templates.

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

                                      Null, or the token from a previous call to get the next set of results.

                                      ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.resiliencehub#ListRecommendationTemplatesResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + }, + "recommendationTemplates": { + "target": "com.amazonaws.resiliencehub#RecommendationTemplateList", + "traits": { + "smithy.api#documentation": "

                                      The recommendation templates for the Resilience Hub applications.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListResiliencyPolicies": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListResiliencyPoliciesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListResiliencyPoliciesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the resiliency policies for the Resilience Hub applications.

                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/list-resiliency-policies", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListResiliencyPoliciesRequest": { + "type": "structure", + "members": { + "policyName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the policy

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

                                      Null, or the token from a previous call to get the next set of results.

                                      ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.resiliencehub#ListResiliencyPoliciesResponse": { + "type": "structure", + "members": { + "resiliencyPolicies": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicies", + "traits": { + "smithy.api#documentation": "

                                      The resiliency policies for the Resilience Hub applications.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListSopRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListSopRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListSopRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the standard operating procedure (SOP) recommendations for the Resilience Hub\n applications.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-sop-recommendations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListSopRecommendationsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListSopRecommendationsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + }, + "sopRecommendations": { + "target": "com.amazonaws.resiliencehub#SopRecommendationList", + "traits": { + "smithy.api#documentation": "

                                      The standard operating procedure (SOP) recommendations for the Resilience Hub\n applications.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListSuggestedResiliencyPolicies": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListSuggestedResiliencyPoliciesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListSuggestedResiliencyPoliciesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the suggested resiliency policies for the Resilience Hub applications.

                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/list-suggested-resiliency-policies", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListSuggestedResiliencyPoliciesRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      Null, or the token from a previous call to get the next set of results.

                                      ", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      ", + "smithy.api#httpQuery": "maxResults" + } + } + } + }, + "com.amazonaws.resiliencehub#ListSuggestedResiliencyPoliciesResponse": { + "type": "structure", + "members": { + "resiliencyPolicies": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicies", + "traits": { + "smithy.api#documentation": "

                                      The suggested resiliency policies for the Resilience Hub applications.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the tags for your resources in your Resilience Hub applications.

                                      ", + "smithy.api#http": { + "method": "GET", + "uri": "/tags/{resourceArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.resiliencehub#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListTestRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListTestRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListTestRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the test recommendations for the Resilience Hub application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-test-recommendations", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListTestRecommendationsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListTestRecommendationsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.resiliencehub#NextToken", + "traits": { + "smithy.api#documentation": "

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + }, + "testRecommendations": { + "target": "com.amazonaws.resiliencehub#TestRecommendationList", + "traits": { + "smithy.api#documentation": "

                                      The test recommendations for the Resilience Hub application.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ListUnsupportedAppVersionResources": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ListUnsupportedAppVersionResourcesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ListUnsupportedAppVersionResourcesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Lists the resources that are not currently supported in AWS Resilience Hub. An unsupported\n resource is a resource that exists in the object that was used to create an app, but is not\n supported by Resilience Hub.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/list-unsupported-app-version-resources", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + } + } + }, + "com.amazonaws.resiliencehub#ListUnsupportedAppVersionResourcesRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

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

                                      Null, or the token from a previous call to get the next set of results.

                                      " + } + }, + "maxResults": { + "target": "com.amazonaws.resiliencehub#MaxResults", + "traits": { + "smithy.api#documentation": "

                                      The maximum number of results to include in the response. If more results exist than the specified \nMaxResults value, a token is included in the response so that the remaining results can be retrieved.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#ListUnsupportedAppVersionResourcesResponse": { + "type": "structure", + "members": { + "unsupportedResources": { + "target": "com.amazonaws.resiliencehub#UnsupportedResourceList", + "traits": { + "smithy.api#documentation": "

                                      The unsupported resources for the application.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

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

                                      The token for the next set of results, or null if there are no more results.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#LogicalResourceId": { + "type": "structure", + "members": { + "identifier": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier of the resource.

                                      ", + "smithy.api#required": {} + } + }, + "logicalStackName": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The name of the CloudFormation stack this resource belongs to.

                                      " + } + }, + "resourceGroupName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the resource group that this resource belongs to.

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

                                      Defines a logical resource identifier.

                                      " + } + }, + "com.amazonaws.resiliencehub#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.resiliencehub#NextToken": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\S{1,2000}$" + } + }, + "com.amazonaws.resiliencehub#PhysicalIdentifierType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Arn", + "name": "ARN" + }, + { + "value": "Native", + "name": "NATIVE" + } + ] + } + }, + "com.amazonaws.resiliencehub#PhysicalResource": { + "type": "structure", + "members": { + "resourceName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the resource.

                                      " + } + }, + "logicalResourceId": { + "target": "com.amazonaws.resiliencehub#LogicalResourceId", + "traits": { + "smithy.api#documentation": "

                                      The logical identifier of the resource.

                                      ", + "smithy.api#required": {} + } + }, + "physicalResourceId": { + "target": "com.amazonaws.resiliencehub#PhysicalResourceId", + "traits": { + "smithy.api#documentation": "

                                      The physical identifier of the resource.

                                      ", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The type of resource.

                                      ", + "smithy.api#required": {} + } + }, + "appComponents": { + "target": "com.amazonaws.resiliencehub#AppComponentList", + "traits": { + "smithy.api#documentation": "

                                      The application components that belong to this resource.

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

                                      Defines a physical resource. A physical resource is a resource that exists in your\n account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native\n identifier.

                                      " + } + }, + "com.amazonaws.resiliencehub#PhysicalResourceId": { + "type": "structure", + "members": { + "identifier": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier of the physical resource.

                                      ", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.resiliencehub#PhysicalIdentifierType", + "traits": { + "smithy.api#documentation": "

                                      Specifies the type of physical resource identifier.

                                      \n
                                      \n
                                      Arn
                                      \n
                                      \n

                                      The resource identifier is an Amazon Resource Name (ARN) .

                                      \n
                                      \n
                                      Native
                                      \n
                                      \n

                                      The resource identifier is a Resilience Hub-native identifier.

                                      \n
                                      \n
                                      ", + "smithy.api#required": {} + } + }, + "awsRegion": { + "target": "com.amazonaws.resiliencehub#AwsRegion", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Web Services Region that the physical resource is located in.

                                      " + } + }, + "awsAccountId": { + "target": "com.amazonaws.resiliencehub#CustomerId", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Web Services account that owns the physical resource.

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

                                      Defines a physical resource identifier.

                                      " + } + }, + "com.amazonaws.resiliencehub#PhysicalResourceList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#PhysicalResource" + } + }, + "com.amazonaws.resiliencehub#PublishAppVersion": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#PublishAppVersionRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#PublishAppVersionResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Publishes a new version of a specific Resilience Hub application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/publish-app-version", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#PublishAppVersionRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#PublishAppVersionResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#PutDraftAppVersionTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#PutDraftAppVersionTemplateRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#PutDraftAppVersionTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Adds or updates the app template for a draft version of a Resilience Hub app.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/put-draft-app-version-template", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#PutDraftAppVersionTemplateRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appTemplateBody": { + "target": "com.amazonaws.resiliencehub#AppTemplateBody", + "traits": { + "smithy.api#documentation": "

                                      A JSON string that contains the body of the app template.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#PutDraftAppVersionTemplateResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#RecommendationCompliance": { + "type": "map", + "key": { + "target": "com.amazonaws.resiliencehub#DisruptionType" + }, + "value": { + "target": "com.amazonaws.resiliencehub#RecommendationDisruptionCompliance" + } + }, + "com.amazonaws.resiliencehub#RecommendationComplianceStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "BreachedUnattainable", + "name": "BREACHED_UNATTAINABLE" + }, + { + "value": "BreachedCanMeet", + "name": "BREACHED_CAN_MEET" + }, + { + "value": "MetCanImprove", + "name": "MET_CAN_IMPROVE" + } + ] + } + }, + "com.amazonaws.resiliencehub#RecommendationDisruptionCompliance": { + "type": "structure", + "members": { + "expectedComplianceStatus": { + "target": "com.amazonaws.resiliencehub#ComplianceStatus", + "traits": { + "smithy.api#documentation": "

                                      The expected compliance status after applying the recommended configuration change.

                                      ", + "smithy.api#required": {} + } + }, + "expectedRtoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The expected RTO after applying the recommended configuration change.

                                      " + } + }, + "expectedRtoDescription": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The expected Recovery Time Objective (RTO) description after applying the recommended\n configuration change.

                                      " + } + }, + "expectedRpoInSecs": { + "target": "com.amazonaws.resiliencehub#Seconds", + "traits": { + "smithy.api#documentation": "

                                      The expected RPO after applying the recommended configuration change.

                                      " + } + }, + "expectedRpoDescription": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The expected Recovery Point Objective (RPO) description after applying the recommended\n configuration change.

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

                                      Defines a disruption compliance recommendation.

                                      " + } + }, + "com.amazonaws.resiliencehub#RecommendationIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#Uuid" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.resiliencehub#RecommendationItem": { + "type": "structure", + "members": { + "resourceId": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The resource identifier.

                                      " + } + }, + "targetAccountId": { + "target": "com.amazonaws.resiliencehub#CustomerId", + "traits": { + "smithy.api#documentation": "

                                      The target account identifier.

                                      " + } + }, + "targetRegion": { + "target": "com.amazonaws.resiliencehub#AwsRegion", + "traits": { + "smithy.api#documentation": "

                                      The target region.

                                      " + } + }, + "alreadyImplemented": { + "target": "com.amazonaws.resiliencehub#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                      Specifies if the recommendation has already been implemented.

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

                                      Defines a recommendation.

                                      " + } + }, + "com.amazonaws.resiliencehub#RecommendationItemList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#RecommendationItem" + } + }, + "com.amazonaws.resiliencehub#RecommendationTemplate": { + "type": "structure", + "members": { + "templatesLocation": { + "target": "com.amazonaws.resiliencehub#S3Location", + "traits": { + "smithy.api#documentation": "

                                      The file location of the template.

                                      " + } + }, + "assessmentArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "recommendationIds": { + "target": "com.amazonaws.resiliencehub#RecommendationIdList", + "traits": { + "smithy.api#documentation": "

                                      Identifiers for the recommendations used in the recommendation template.

                                      " + } + }, + "recommendationTypes": { + "target": "com.amazonaws.resiliencehub#RenderRecommendationTypeList", + "traits": { + "smithy.api#documentation": "

                                      An array of strings that specify the recommendation template type or types.

                                      \n
                                      \n
                                      Alarm
                                      \n
                                      \n

                                      The template is an AlarmRecommendation template.

                                      \n
                                      \n
                                      Sop
                                      \n
                                      \n

                                      The template is a SopRecommendation template.

                                      \n
                                      \n
                                      Test
                                      \n
                                      \n

                                      The template is a TestRecommendation template.

                                      \n
                                      \n
                                      ", + "smithy.api#required": {} + } + }, + "format": { + "target": "com.amazonaws.resiliencehub#TemplateFormat", + "traits": { + "smithy.api#documentation": "

                                      The format of the recommendation template.

                                      \n
                                      \n
                                      CfnJson
                                      \n
                                      \n

                                      The template is CloudFormation JSON.

                                      \n
                                      \n
                                      CfnYaml
                                      \n
                                      \n

                                      The template is CloudFormation YAML.

                                      \n
                                      \n
                                      ", + "smithy.api#required": {} + } + }, + "recommendationTemplateArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "message": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The message for the recommendation template.

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

                                      The status of the action.

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

                                      The name for the recommendation template.

                                      ", + "smithy.api#required": {} + } + }, + "startTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The start time for the action.

                                      " + } + }, + "endTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The end time for the action.

                                      " + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

                                      " + } + }, + "needsReplacements": { + "target": "com.amazonaws.resiliencehub#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                      Indicates if replacements are needed.

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

                                      Defines a recommendation template created with the CreateRecommendationTemplate action.

                                      " + } + }, + "com.amazonaws.resiliencehub#RecommendationTemplateList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#RecommendationTemplate" + } + }, + "com.amazonaws.resiliencehub#RecommendationTemplateStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Pending", + "name": "PENDING" + }, + { + "value": "InProgress", + "name": "IN_PROGRESS" + }, + { + "value": "Failed", + "name": "FAILED" + }, + { + "value": "Success", + "name": "SUCCESS" + } + ] + } + }, + "com.amazonaws.resiliencehub#RecommendationTemplateStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#RecommendationTemplateStatus" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4 + } + } + }, + "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappings": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappingsRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Removes resource mappings from a draft application version.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/remove-draft-app-version-resource-mappings", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappingsRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "resourceNames": { + "target": "com.amazonaws.resiliencehub#EntityNameList", + "traits": { + "smithy.api#documentation": "

                                      The names of the resources to remove from the resource mappings.

                                      " + } + }, + "logicalStackNames": { + "target": "com.amazonaws.resiliencehub#String255List", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "appRegistryAppNames": { + "target": "com.amazonaws.resiliencehub#EntityNameList", + "traits": { + "smithy.api#documentation": "

                                      The names of the registered applications to remove from the resource mappings.

                                      " + } + }, + "resourceGroupNames": { + "target": "com.amazonaws.resiliencehub#EntityNameList", + "traits": { + "smithy.api#documentation": "

                                      The names of the resource groups to remove from the resource mappings.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#RemoveDraftAppVersionResourceMappingsResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#RenderRecommendationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Alarm", + "name": "ALARM" + }, + { + "value": "Sop", + "name": "SOP" + }, + { + "value": "Test", + "name": "TEST" + } + ] + } + }, + "com.amazonaws.resiliencehub#RenderRecommendationTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#RenderRecommendationType" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4 + } + } + }, + "com.amazonaws.resiliencehub#ResiliencyPolicies": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicy" + } + }, + "com.amazonaws.resiliencehub#ResiliencyPolicy": { + "type": "structure", + "members": { + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "policyName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the policy

                                      " + } + }, + "policyDescription": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The description for the policy.

                                      " + } + }, + "dataLocationConstraint": { + "target": "com.amazonaws.resiliencehub#DataLocationConstraint", + "traits": { + "smithy.api#documentation": "

                                      Specifies a high-level geographical location constraint for where your resilience policy\n data can be stored.

                                      " + } + }, + "tier": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicyTier", + "traits": { + "smithy.api#documentation": "

                                      The tier for this resiliency policy, ranging from the highest severity\n (MissionCritical) to lowest (NonCritical).

                                      " + } + }, + "estimatedCostTier": { + "target": "com.amazonaws.resiliencehub#EstimatedCostTier", + "traits": { + "smithy.api#documentation": "

                                      Specifies the estimated cost tier of the resiliency policy.

                                      " + } + }, + "policy": { + "target": "com.amazonaws.resiliencehub#DisruptionPolicy", + "traits": { + "smithy.api#documentation": "

                                      The resiliency policy.

                                      " + } + }, + "creationTime": { + "target": "com.amazonaws.resiliencehub#TimeStamp", + "traits": { + "smithy.api#documentation": "

                                      The timestamp for when the resiliency policy was created.

                                      " + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

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

                                      Defines a resiliency policy.

                                      " + } + }, + "com.amazonaws.resiliencehub#ResiliencyPolicyTier": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "MissionCritical", + "name": "MISSION_CRITICAL" + }, + { + "value": "Critical", + "name": "CRITICAL" + }, + { + "value": "Important", + "name": "IMPORTANT" + }, + { + "value": "CoreServices", + "name": "CORE_SERVICES" + }, + { + "value": "NonCritical", + "name": "NON_CRITICAL" + } + ] + } + }, + "com.amazonaws.resiliencehub#ResiliencyScore": { + "type": "structure", + "members": { + "score": { + "target": "com.amazonaws.resiliencehub#Double", + "traits": { + "smithy.api#documentation": "

                                      The outage score for a valid key.

                                      ", + "smithy.api#required": {} + } + }, + "disruptionScore": { + "target": "com.amazonaws.resiliencehub#DisruptionResiliencyScore", + "traits": { + "smithy.api#documentation": "

                                      The disruption score for a valid key.

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

                                      The overall resiliency score, returned as an object that includes the disruption score and\n outage score.

                                      " + } + }, + "com.amazonaws.resiliencehub#ResolveAppVersionResources": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#ResolveAppVersionResourcesRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#ResolveAppVersionResourcesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Resolves the resources for an application version.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/resolve-app-version-resources", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#ResolveAppVersionResourcesRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ResolveAppVersionResourcesResponse": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "resolutionId": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The identifier for a specific resolution.

                                      ", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.resiliencehub#ResourceResolutionStatusType", + "traits": { + "smithy.api#documentation": "

                                      The status of the action.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#ResourceId": { + "type": "string", + "traits": { + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.resiliencehub#ResourceImportStatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Pending", + "name": "PENDING" + }, + { + "value": "InProgress", + "name": "IN_PROGRESS" + }, + { + "value": "Failed", + "name": "FAILED" + }, + { + "value": "Success", + "name": "SUCCESS" + } + ] + } + }, + "com.amazonaws.resiliencehub#ResourceMapping": { + "type": "structure", + "members": { + "resourceName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the resource this resource is mapped to.

                                      " + } + }, + "logicalStackName": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "appRegistryAppName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the application this resource is mapped to.

                                      " + } + }, + "resourceGroupName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the resource group this resource is mapped to.

                                      " + } + }, + "mappingType": { + "target": "com.amazonaws.resiliencehub#ResourceMappingType", + "traits": { + "smithy.api#documentation": "

                                      Specifies the type of resource mapping.

                                      \n
                                      \n
                                      AppRegistryApp
                                      \n
                                      \n

                                      The resource is mapped to another application. The name of the application is\n contained in the appRegistryAppName property.

                                      \n
                                      \n
                                      CfnStack
                                      \n
                                      \n

                                      The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in\n the logicalStackName property.

                                      \n
                                      \n
                                      Resource
                                      \n
                                      \n

                                      The resource is mapped to another resource. The name of the resource is contained in\n the resourceName property.

                                      \n
                                      \n
                                      ResourceGroup
                                      \n
                                      \n

                                      The resource is mapped to a resource group. The name of the resource group is\n contained in the resourceGroupName property.

                                      \n
                                      \n
                                      ", + "smithy.api#required": {} + } + }, + "physicalResourceId": { + "target": "com.amazonaws.resiliencehub#PhysicalResourceId", + "traits": { + "smithy.api#documentation": "

                                      The identifier of this resource.

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

                                      Defines a resource mapping.

                                      " + } + }, + "com.amazonaws.resiliencehub#ResourceMappingList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#ResourceMapping" + } + }, + "com.amazonaws.resiliencehub#ResourceMappingType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CfnStack", + "name": "CFN_STACK" + }, + { + "value": "Resource", + "name": "RESOURCE" + }, + { + "value": "AppRegistryApp", + "name": "APP_REGISTRY_APP" + }, + { + "value": "ResourceGroup", + "name": "RESOURCE_GROUP" + } + ] + } + }, + "com.amazonaws.resiliencehub#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + }, + "resourceId": { + "target": "com.amazonaws.resiliencehub#ResourceId", + "traits": { + "smithy.api#documentation": "

                                      The identifier of the resource that the exception applies to.

                                      " + } + }, + "resourceType": { + "target": "com.amazonaws.resiliencehub#ResourceType", + "traits": { + "smithy.api#documentation": "

                                      The type of the resource that the exception applies to.

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

                                      The specified resource could not be found.

                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.resiliencehub#ResourceResolutionStatusType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Pending", + "name": "PENDING" + }, + { + "value": "InProgress", + "name": "IN_PROGRESS" + }, + { + "value": "Failed", + "name": "FAILED" + }, + { + "value": "Success", + "name": "SUCCESS" + } + ] + } + }, + "com.amazonaws.resiliencehub#ResourceType": { + "type": "string", + "traits": { + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.resiliencehub#RetryAfterSeconds": { + "type": "integer", + "traits": { + "smithy.api#box": {} + } + }, + "com.amazonaws.resiliencehub#S3Location": { + "type": "structure", + "members": { + "bucket": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The name of the Amazon S3 bucket.

                                      " + } + }, + "prefix": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The prefix for the Amazon S3 bucket.

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

                                      The location of the Amazon S3 bucket.

                                      " + } + }, + "com.amazonaws.resiliencehub#Seconds": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.resiliencehub#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + } + }, + "traits": { + "smithy.api#documentation": "

                                      You have exceeded your service quota. To perform the requested action, remove some of the\n relevant resources, or use Service Quotas to request a service quota increase.

                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.resiliencehub#SopRecommendation": { + "type": "structure", + "members": { + "serviceType": { + "target": "com.amazonaws.resiliencehub#SopServiceType", + "traits": { + "smithy.api#documentation": "

                                      The service type.

                                      ", + "smithy.api#required": {} + } + }, + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityId", + "traits": { + "smithy.api#documentation": "

                                      The application component name.

                                      " + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The description of the SOP recommendation.

                                      " + } + }, + "recommendationId": { + "target": "com.amazonaws.resiliencehub#Uuid", + "traits": { + "smithy.api#documentation": "

                                      Identifier for the SOP recommendation.

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

                                      The name of the SOP recommendation.

                                      " + } + }, + "items": { + "target": "com.amazonaws.resiliencehub#RecommendationItemList", + "traits": { + "smithy.api#documentation": "

                                      The recommendation items.

                                      " + } + }, + "referenceId": { + "target": "com.amazonaws.resiliencehub#SpecReferenceId", + "traits": { + "smithy.api#documentation": "

                                      The reference identifier for the SOP recommendation.

                                      ", + "smithy.api#required": {} + } + }, + "prerequisite": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The prerequisite for the SOP recommendation.

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

                                      Defines a standard operating procedure (SOP) recommendation.

                                      " + } + }, + "com.amazonaws.resiliencehub#SopRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#SopRecommendation" + } + }, + "com.amazonaws.resiliencehub#SopServiceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SSM", + "name": "SSM" + } + ] + } + }, + "com.amazonaws.resiliencehub#SpecReferenceId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.resiliencehub#StartAppAssessment": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#StartAppAssessmentRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#StartAppAssessmentResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Creates a new application assessment for an application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/start-app-assessment", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#StartAppAssessmentRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "appVersion": { + "target": "com.amazonaws.resiliencehub#EntityVersion", + "traits": { + "smithy.api#documentation": "

                                      The version of the application.

                                      ", + "smithy.api#required": {} + } + }, + "assessmentName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name for the assessment.

                                      ", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.resiliencehub#ClientToken", + "traits": { + "smithy.api#documentation": "

                                      Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. \nYou should not reuse the same client token for other API requests.

                                      ", + "smithy.api#idempotencyToken": {} + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. \nEach tag consists of a key/value pair.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#StartAppAssessmentResponse": { + "type": "structure", + "members": { + "assessment": { + "target": "com.amazonaws.resiliencehub#AppAssessment", + "traits": { + "smithy.api#documentation": "

                                      The assessment created.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#String255": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.resiliencehub#String255List": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#String255" + } + }, + "com.amazonaws.resiliencehub#String500": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.resiliencehub#SuggestedChangesList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#EntityDescription" + } + }, + "com.amazonaws.resiliencehub#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:).+$" + } + }, + "com.amazonaws.resiliencehub#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.resiliencehub#TagMap": { + "type": "map", + "key": { + "target": "com.amazonaws.resiliencehub#TagKey" + }, + "value": { + "target": "com.amazonaws.resiliencehub#TagValue" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.resiliencehub#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Applies one or more tags to a resource.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/tags/{resourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#TagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the resource.

                                      ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.resiliencehub#TagMap", + "traits": { + "smithy.api#documentation": "

                                      The tags to assign to the resource. Each tag consists of a key/value pair.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#TagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.resiliencehub#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.resiliencehub#TemplateFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CfnYaml", + "name": "CFN_YAML" + }, + { + "value": "CfnJson", + "name": "CFN_JSON" + } + ] + } + }, + "com.amazonaws.resiliencehub#TestRecommendation": { + "type": "structure", + "members": { + "recommendationId": { + "target": "com.amazonaws.resiliencehub#Uuid", + "traits": { + "smithy.api#documentation": "

                                      Identifier for the test recommendation.

                                      " + } + }, + "referenceId": { + "target": "com.amazonaws.resiliencehub#SpecReferenceId", + "traits": { + "smithy.api#documentation": "

                                      The reference identifier for the test recommendation.

                                      ", + "smithy.api#required": {} + } + }, + "appComponentName": { + "target": "com.amazonaws.resiliencehub#EntityId", + "traits": { + "smithy.api#documentation": "

                                      The name of the application component.

                                      " + } + }, + "name": { + "target": "com.amazonaws.resiliencehub#DocumentName", + "traits": { + "smithy.api#documentation": "

                                      The name of the test recommendation.

                                      " + } + }, + "intent": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The intent of the test recommendation.

                                      " + } + }, + "risk": { + "target": "com.amazonaws.resiliencehub#TestRisk", + "traits": { + "smithy.api#documentation": "

                                      The level of risk for this test recommendation.

                                      " + } + }, + "type": { + "target": "com.amazonaws.resiliencehub#TestType", + "traits": { + "smithy.api#documentation": "

                                      The type of test recommendation.

                                      " + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The description for the test recommendation.

                                      " + } + }, + "items": { + "target": "com.amazonaws.resiliencehub#RecommendationItemList", + "traits": { + "smithy.api#documentation": "

                                      The test recommendation items.

                                      " + } + }, + "prerequisite": { + "target": "com.amazonaws.resiliencehub#String500", + "traits": { + "smithy.api#documentation": "

                                      The prerequisite of the test recommendation.

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

                                      Defines a test recommendation.

                                      " + } + }, + "com.amazonaws.resiliencehub#TestRecommendationList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#TestRecommendation" + } + }, + "com.amazonaws.resiliencehub#TestRisk": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Small", + "name": "SMALL" + }, + { + "value": "Medium", + "name": "MEDIUM" + }, + { + "value": "High", + "name": "HIGH" + } + ] + } + }, + "com.amazonaws.resiliencehub#TestType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Software", + "name": "SOFTWARE" + }, + { + "value": "Hardware", + "name": "HARDWARE" + }, + { + "value": "AZ", + "name": "AZ" + }, + { + "value": "Region", + "name": "REGION" + } + ] + } + }, + "com.amazonaws.resiliencehub#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + }, + "retryAfterSeconds": { + "target": "com.amazonaws.resiliencehub#RetryAfterSeconds", + "traits": { + "smithy.api#documentation": "

                                      The number of seconds to wait before retrying the operation.

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

                                      The limit on the number of requests per second was exceeded.

                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.resiliencehub#TimeStamp": { + "type": "timestamp" + }, + "com.amazonaws.resiliencehub#UnsupportedResource": { + "type": "structure", + "members": { + "logicalResourceId": { + "target": "com.amazonaws.resiliencehub#LogicalResourceId", + "traits": { + "smithy.api#documentation": "

                                      The logical resource identifier for the unsupported resource.

                                      ", + "smithy.api#required": {} + } + }, + "physicalResourceId": { + "target": "com.amazonaws.resiliencehub#PhysicalResourceId", + "traits": { + "smithy.api#documentation": "

                                      The physical resource identifier for the unsupported resource.

                                      ", + "smithy.api#required": {} + } + }, + "resourceType": { + "target": "com.amazonaws.resiliencehub#String255", + "traits": { + "smithy.api#documentation": "

                                      The type of resource.

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

                                      Defines a resource that is not supported by Resilience Hub.

                                      " + } + }, + "com.amazonaws.resiliencehub#UnsupportedResourceList": { + "type": "list", + "member": { + "target": "com.amazonaws.resiliencehub#UnsupportedResource" + } + }, + "com.amazonaws.resiliencehub#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Removes one or more tags from a resource.

                                      ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/tags/{resourceArn}", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#UntagResourceRequest": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

                                      The Amazon Resource Name (ARN) of the resource.

                                      ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.resiliencehub#TagKeyList", + "traits": { + "smithy.api#documentation": "

                                      The keys of the tags to remove.

                                      ", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#UntagResourceResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.resiliencehub#UpdateApp": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#UpdateAppRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#UpdateAppResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Updates an application.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/update-app", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#UpdateAppRequest": { + "type": "structure", + "members": { + "appArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The optional description for an app.

                                      " + } + }, + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      " + } + }, + "clearResiliencyPolicyArn": { + "target": "com.amazonaws.resiliencehub#BooleanOptional", + "traits": { + "smithy.api#documentation": "

                                      Specifies if the resiliency policy ARN should be cleared.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#UpdateAppResponse": { + "type": "structure", + "members": { + "app": { + "target": "com.amazonaws.resiliencehub#App", + "traits": { + "smithy.api#documentation": "

                                      The specified application, returned as an object with details including compliance status,\n creation time, description, resiliency score, and more.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#UpdateResiliencyPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.resiliencehub#UpdateResiliencyPolicyRequest" + }, + "output": { + "target": "com.amazonaws.resiliencehub#UpdateResiliencyPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.resiliencehub#AccessDeniedException" + }, + { + "target": "com.amazonaws.resiliencehub#ConflictException" + }, + { + "target": "com.amazonaws.resiliencehub#InternalServerException" + }, + { + "target": "com.amazonaws.resiliencehub#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.resiliencehub#ThrottlingException" + }, + { + "target": "com.amazonaws.resiliencehub#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                                      Updates a resiliency policy.

                                      ", + "smithy.api#http": { + "method": "POST", + "uri": "/update-resiliency-policy", + "code": 200 + } + } + }, + "com.amazonaws.resiliencehub#UpdateResiliencyPolicyRequest": { + "type": "structure", + "members": { + "policyArn": { + "target": "com.amazonaws.resiliencehub#Arn", + "traits": { + "smithy.api#documentation": "

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

                                      ", + "smithy.api#required": {} + } + }, + "policyName": { + "target": "com.amazonaws.resiliencehub#EntityName", + "traits": { + "smithy.api#documentation": "

                                      The name of the policy

                                      " + } + }, + "policyDescription": { + "target": "com.amazonaws.resiliencehub#EntityDescription", + "traits": { + "smithy.api#documentation": "

                                      The description for the policy.

                                      " + } + }, + "dataLocationConstraint": { + "target": "com.amazonaws.resiliencehub#DataLocationConstraint", + "traits": { + "smithy.api#documentation": "

                                      Specifies a high-level geographical location constraint for where your resilience policy\n data can be stored.

                                      " + } + }, + "tier": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicyTier", + "traits": { + "smithy.api#documentation": "

                                      The tier for this resiliency policy, ranging from the highest severity\n (MissionCritical) to lowest (NonCritical).

                                      " + } + }, + "policy": { + "target": "com.amazonaws.resiliencehub#DisruptionPolicy", + "traits": { + "smithy.api#documentation": "

                                      The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.

                                      " + } + } + } + }, + "com.amazonaws.resiliencehub#UpdateResiliencyPolicyResponse": { + "type": "structure", + "members": { + "policy": { + "target": "com.amazonaws.resiliencehub#ResiliencyPolicy", + "traits": { + "smithy.api#documentation": "

                                      The type of resiliency policy that was updated, including the recovery time objective\n (RTO) and recovery point objective (RPO) in seconds.

                                      ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.resiliencehub#Uuid": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}$" + } + }, + "com.amazonaws.resiliencehub#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.resiliencehub#String500" + } + }, + "traits": { + "smithy.api#documentation": "

                                      Indicates that a request was not valid.

                                      ", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + } + } +} diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 39b4ff7ee7ff1..f806aa3bbd4fc 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -319,12 +319,12 @@ "AlarmName": { "target": "com.amazonaws.sagemaker#AlarmName", "traits": { - "smithy.api#documentation": "

                                      " + "smithy.api#documentation": "

                                      The name of a CloudWatch alarm in your account.

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

                                      This API is not supported.

                                      " + "smithy.api#documentation": "

                                      An Amazon CloudWatch alarm configured to monitor metrics on an endpoint.

                                      " } }, "com.amazonaws.sagemaker#AlarmList": { @@ -2397,12 +2397,12 @@ "Alarms": { "target": "com.amazonaws.sagemaker#AlarmList", "traits": { - "smithy.api#documentation": "

                                      " + "smithy.api#documentation": "

                                      List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.\n If any alarms are tripped during a deployment, SageMaker rolls back the deployment.

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

                                      Currently, the AutoRollbackConfig API is not supported.

                                      " + "smithy.api#documentation": "

                                      Automatic rollback configuration for handling endpoint deployment failures and recovery.

                                      " } }, "com.amazonaws.sagemaker#AwsManagedHumanLoopRequestSource": { @@ -2605,25 +2605,25 @@ "TrafficRoutingConfiguration": { "target": "com.amazonaws.sagemaker#TrafficRoutingConfig", "traits": { - "smithy.api#documentation": "

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

                                      Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet\n during an endpoint deployment.

                                      ", "smithy.api#required": {} } }, "TerminationWaitInSeconds": { "target": "com.amazonaws.sagemaker#TerminationWaitInSeconds", "traits": { - "smithy.api#documentation": "

                                      " + "smithy.api#documentation": "

                                      Additional waiting time in seconds after the completion of an endpoint deployment\n before terminating the old endpoint fleet. Default is 0.

                                      " } }, "MaximumExecutionTimeoutInSeconds": { "target": "com.amazonaws.sagemaker#MaximumExecutionTimeoutInSeconds", "traits": { - "smithy.api#documentation": "

                                      " + "smithy.api#documentation": "

                                      Maximum execution timeout for the deployment. Note that the timeout value should be larger\n than the total waiting time specified in TerminationWaitInSeconds and WaitIntervalInSeconds.

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

                                      Currently, the BlueGreenUpdatePolicy API is not supported.

                                      " + "smithy.api#documentation": "

                                      Update policy for a blue/green deployment. If this update policy is specified, SageMaker\n creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips\n traffic to the new fleet according to the specified traffic routing configuration. Only\n one update policy should be used in the deployment configuration. If no update policy is\n specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting\n by default.

                                      " } }, "com.amazonaws.sagemaker#Boolean": { @@ -2852,20 +2852,20 @@ "Type": { "target": "com.amazonaws.sagemaker#CapacitySizeType", "traits": { - "smithy.api#documentation": "

                                      This API is not supported.

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

                                      Specifies the endpoint capacity type.

                                      \n
                                        \n
                                      • \n

                                        \n INSTANCE_COUNT: The endpoint activates based on\n the number of instances.

                                        \n
                                      • \n
                                      • \n

                                        \n CAPACITY_PERCENT: The endpoint activates based on\n the specified percentage of capacity.

                                        \n
                                      • \n
                                      ", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.sagemaker#CapacitySizeValue", "traits": { - "smithy.api#documentation": "

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

                                      Defines the capacity size, either as a number of instances or a capacity percentage.

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

                                      Currently, the CapacitySize API is not supported.

                                      " + "smithy.api#documentation": "

                                      Specifies the endpoint capacity to activate for production.

                                      " } }, "com.amazonaws.sagemaker#CapacitySizeType": { @@ -5158,6 +5158,9 @@ "smithy.api#required": {} } }, + "DeploymentConfig": { + "target": "com.amazonaws.sagemaker#DeploymentConfig" + }, "Tags": { "target": "com.amazonaws.sagemaker#TagList", "traits": { @@ -9452,19 +9455,19 @@ "BlueGreenUpdatePolicy": { "target": "com.amazonaws.sagemaker#BlueGreenUpdatePolicy", "traits": { - "smithy.api#documentation": "

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

                                      Update policy for a blue/green deployment. If this update policy is specified, SageMaker\n creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips\n traffic to the new fleet according to the specified traffic routing configuration. Only\n one update policy should be used in the deployment configuration. If no update policy is\n specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting\n by default.

                                      ", "smithy.api#required": {} } }, "AutoRollbackConfiguration": { "target": "com.amazonaws.sagemaker#AutoRollbackConfig", "traits": { - "smithy.api#documentation": "

                                      " + "smithy.api#documentation": "

                                      Automatic rollback configuration for handling endpoint deployment failures and recovery.

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

                                      Currently, the DeploymentConfig API is not supported.

                                      " + "smithy.api#documentation": "

                                      The deployment configuration for an endpoint, which contains the desired deployment\n strategy and rollback configurations.

                                      " } }, "com.amazonaws.sagemaker#DeregisterDevices": { @@ -11236,6 +11239,12 @@ "traits": { "smithy.api#documentation": "

                                      Returns the description of an endpoint configuration created \n using the \n CreateEndpointConfig\n API.

                                      " } + }, + "PendingDeploymentSummary": { + "target": "com.amazonaws.sagemaker#PendingDeploymentSummary", + "traits": { + "smithy.api#documentation": "

                                      Returns the summary of an in-progress deployment. This field is only returned when the\n endpoint is creating or updating with a new endpoint configuration.

                                      " + } } } }, @@ -17688,14 +17697,14 @@ "TaskTimeLimitInSeconds": { "target": "com.amazonaws.sagemaker#TaskTimeLimitInSeconds", "traits": { - "smithy.api#documentation": "

                                      The amount of time that a worker has to complete a task.

                                      \n

                                      If you create a custom labeling job, the maximum value for this parameter is 8 hours\n (28,800 seconds).

                                      \n

                                      If you create a labeling job using a built-in task type the maximum\n for this parameter depends on the task type you use:

                                      \n
                                        \n
                                      • \n

                                        For image and \n text labeling jobs,\n the maximum is 8 hours (28,800 seconds).

                                        \n
                                      • \n
                                      • \n

                                        For 3D point cloud and video frame labeling jobs,\n the maximum is 7 days (604,800 seconds). If you want to change these limits,\n contact Amazon Web Services Support.

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

                                      The amount of time that a worker has to complete a task.

                                      \n

                                      If you create a custom labeling job, the maximum value for this parameter is 8 hours\n (28,800 seconds).

                                      \n

                                      If you create a labeling job using a built-in task type the maximum\n for this parameter depends on the task type you use:

                                      \n
                                        \n
                                      • \n

                                        For image and \n text labeling jobs,\n the maximum is 8 hours (28,800 seconds).

                                        \n
                                      • \n
                                      • \n

                                        For 3D point cloud and video frame labeling jobs, the maximum is 30 days (2952,000 seconds) for non-AL mode. For most users, the maximum is also 30 days. If you want to change these limits,\n contact Amazon Web Services Support.

                                        \n
                                      • \n
                                      ", "smithy.api#required": {} } }, "TaskAvailabilityLifetimeInSeconds": { "target": "com.amazonaws.sagemaker#TaskAvailabilityLifetimeInSeconds", "traits": { - "smithy.api#documentation": "

                                      The length of time that a task remains available for labeling by human workers. The\n default and maximum values for this parameter depend on the type of workforce you\n use.

                                      \n
                                        \n
                                      • \n

                                        If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43,200 seconds).\n The default is 6 hours (21,600 seconds).

                                        \n
                                      • \n
                                      • \n

                                        If you choose a private or vendor workforce, the default value is 10 days\n (864,000 seconds). For most users, the maximum is also 10 days. If you want to\n change this limit, contact Amazon Web Services Support.

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

                                      The length of time that a task remains available for labeling by human workers. The\n default and maximum values for this parameter depend on the type of workforce you\n use.

                                      \n
                                        \n
                                      • \n

                                        If you choose the Amazon Mechanical Turk workforce, the maximum is 12 hours (43,200 seconds).\n The default is 6 hours (21,600 seconds).

                                        \n
                                      • \n
                                      • \n

                                        If you choose a private or vendor workforce, the default value is 30 days (2592,000 seconds) for non-AL mode. For most users, the maximum is also 30 days. If you want to\n change this limit, contact Amazon Web Services Support.

                                        \n
                                      • \n
                                      " } }, "MaxConcurrentTaskCount": { @@ -28639,6 +28648,107 @@ "target": "com.amazonaws.sagemaker#Parent" } }, + "com.amazonaws.sagemaker#PendingDeploymentSummary": { + "type": "structure", + "members": { + "EndpointConfigName": { + "target": "com.amazonaws.sagemaker#EndpointConfigName", + "traits": { + "smithy.api#documentation": "

                                      The name of the endpoint configuration used in the deployment.

                                      ", + "smithy.api#required": {} + } + }, + "ProductionVariants": { + "target": "com.amazonaws.sagemaker#PendingProductionVariantSummaryList", + "traits": { + "smithy.api#documentation": "

                                      List of PendingProductionVariantSummary objects.

                                      " + } + }, + "StartTime": { + "target": "com.amazonaws.sagemaker#Timestamp", + "traits": { + "smithy.api#documentation": "

                                      The start time of the deployment.

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

                                      The summary of an in-progress deployment when an endpoint is creating or\n updating with a new endpoint configuration.

                                      " + } + }, + "com.amazonaws.sagemaker#PendingProductionVariantSummary": { + "type": "structure", + "members": { + "VariantName": { + "target": "com.amazonaws.sagemaker#VariantName", + "traits": { + "smithy.api#documentation": "

                                      The name of the variant.

                                      ", + "smithy.api#required": {} + } + }, + "DeployedImages": { + "target": "com.amazonaws.sagemaker#DeployedImages", + "traits": { + "smithy.api#documentation": "

                                      An array of DeployedImage objects that specify the Amazon EC2\n Container Registry paths of the inference images deployed on instances of this\n ProductionVariant.

                                      " + } + }, + "CurrentWeight": { + "target": "com.amazonaws.sagemaker#VariantWeight", + "traits": { + "smithy.api#documentation": "

                                      The weight associated with the variant.

                                      " + } + }, + "DesiredWeight": { + "target": "com.amazonaws.sagemaker#VariantWeight", + "traits": { + "smithy.api#documentation": "

                                      The requested weight for the variant in this deployment, as specified in the endpoint configuration\n for the endpoint. The value is taken from the request to the \n CreateEndpointConfig\n operation.

                                      " + } + }, + "CurrentInstanceCount": { + "target": "com.amazonaws.sagemaker#TaskCount", + "traits": { + "smithy.api#documentation": "

                                      The number of instances associated with the variant.

                                      " + } + }, + "DesiredInstanceCount": { + "target": "com.amazonaws.sagemaker#TaskCount", + "traits": { + "smithy.api#documentation": "

                                      The number of instances requested in this deployment, as specified in the endpoint configuration\n for the endpoint. The value is taken from the request to the \n CreateEndpointConfig\n operation.

                                      " + } + }, + "InstanceType": { + "target": "com.amazonaws.sagemaker#ProductionVariantInstanceType", + "traits": { + "smithy.api#documentation": "

                                      The type of instances associated with the variant.

                                      " + } + }, + "AcceleratorType": { + "target": "com.amazonaws.sagemaker#ProductionVariantAcceleratorType", + "traits": { + "smithy.api#documentation": "

                                      The size of the Elastic Inference (EI) instance to use for the production variant. EI\n instances provide on-demand GPU computing for inference. For more information, see\n Using Elastic\n Inference in Amazon SageMaker.

                                      " + } + }, + "VariantStatus": { + "target": "com.amazonaws.sagemaker#ProductionVariantStatusList", + "traits": { + "smithy.api#documentation": "

                                      The endpoint variant status which describes the current deployment stage status or operational status.

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

                                      The production variant summary for a deployment when an endpoint is\n creating or updating with the \n CreateEndpoint\n \n or \n UpdateEndpoint\n operations.\n Describes the VariantStatus , weight and capacity for a production\n variant associated with an endpoint.\n

                                      " + } + }, + "com.amazonaws.sagemaker#PendingProductionVariantSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#PendingProductionVariantSummary" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, "com.amazonaws.sagemaker#Pipeline": { "type": "structure", "members": { @@ -30474,6 +30584,45 @@ } } }, + "com.amazonaws.sagemaker#ProductionVariantStatus": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.sagemaker#VariantStatus", + "traits": { + "smithy.api#documentation": "

                                      The endpoint variant status which describes the current deployment stage status or operational status.

                                      \n
                                        \n
                                      • \n

                                        \n Creating: Creating inference resources for the production variant.

                                        \n
                                      • \n
                                      • \n

                                        \n Deleting: Terminating inference resources for the production variant.

                                        \n
                                      • \n
                                      • \n

                                        \n Updating: Updating capacity for the production variant.

                                        \n
                                      • \n
                                      • \n

                                        \n ActivatingTraffic: Turning on traffic for the production variant.

                                        \n
                                      • \n
                                      • \n

                                        \n Baking: Waiting period to monitor the CloudWatch alarms in the\n automatic rollback configuration.

                                        \n
                                      • \n
                                      ", + "smithy.api#required": {} + } + }, + "StatusMessage": { + "target": "com.amazonaws.sagemaker#VariantStatusMessage", + "traits": { + "smithy.api#documentation": "

                                      A message that describes the status of the production variant.

                                      " + } + }, + "StartTime": { + "target": "com.amazonaws.sagemaker#Timestamp", + "traits": { + "smithy.api#documentation": "

                                      The start time of the current status change.

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

                                      Describes the status of the production variant.

                                      " + } + }, + "com.amazonaws.sagemaker#ProductionVariantStatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ProductionVariantStatus" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, "com.amazonaws.sagemaker#ProductionVariantSummary": { "type": "structure", "members": { @@ -30513,6 +30662,12 @@ "traits": { "smithy.api#documentation": "

                                      The number of instances requested in the\n UpdateEndpointWeightsAndCapacities request.

                                      " } + }, + "VariantStatus": { + "target": "com.amazonaws.sagemaker#ProductionVariantStatusList", + "traits": { + "smithy.api#documentation": "

                                      The endpoint variant status which describes the current deployment stage status or operational status.

                                      " + } } }, "traits": { @@ -35083,26 +35238,32 @@ "Type": { "target": "com.amazonaws.sagemaker#TrafficRoutingConfigType", "traits": { - "smithy.api#documentation": "

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

                                      Traffic routing strategy type.

                                      \n
                                        \n
                                      • \n

                                        \n ALL_AT_ONCE: Endpoint traffic shifts to the new fleet\n in a single step.\n

                                        \n
                                      • \n
                                      • \n

                                        \n CANARY: Endpoint traffic shifts to the new fleet\n in two steps. The first step is the canary, which is a small portion of the traffic. The\n second step is the remainder of the traffic.\n

                                        \n
                                      • \n
                                      • \n

                                        \n LINEAR: Endpoint traffic shifts to the new fleet in\n n steps of a configurable size.\n

                                        \n
                                      • \n
                                      ", "smithy.api#required": {} } }, "WaitIntervalInSeconds": { "target": "com.amazonaws.sagemaker#WaitIntervalInSeconds", "traits": { - "smithy.api#documentation": "

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

                                      The waiting time (in seconds) between incremental steps to turn on traffic on the\n new endpoint fleet.

                                      ", "smithy.api#required": {} } }, "CanarySize": { "target": "com.amazonaws.sagemaker#CapacitySize", "traits": { - "smithy.api#documentation": "

                                      " + "smithy.api#documentation": "

                                      Batch size for the first step to turn on traffic on the new endpoint fleet. Value must be less than\n or equal to 50% of the variant's total instance count.

                                      " + } + }, + "LinearStepSize": { + "target": "com.amazonaws.sagemaker#CapacitySize", + "traits": { + "smithy.api#documentation": "

                                      Batch size for each step to turn on traffic on the new endpoint fleet. Value must be\n 10-50% of the variant's total instance count.

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

                                      Currently, the TrafficRoutingConfig API is not supported.

                                      " + "smithy.api#documentation": "

                                      Defines the traffic routing strategy during an endpoint deployment to shift traffic from the\n old fleet to the new fleet.

                                      " } }, "com.amazonaws.sagemaker#TrafficRoutingConfigType": { @@ -35116,6 +35277,10 @@ { "value": "CANARY", "name": "CANARY" + }, + { + "value": "LINEAR", + "name": "LINEAR" } ] } @@ -37755,7 +37920,13 @@ "DeploymentConfig": { "target": "com.amazonaws.sagemaker#DeploymentConfig", "traits": { - "smithy.api#documentation": "

                                      The deployment configuration for the endpoint to be updated.

                                      " + "smithy.api#documentation": "

                                      The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

                                      " + } + }, + "RetainDeploymentConfig": { + "target": "com.amazonaws.sagemaker#Boolean", + "traits": { + "smithy.api#documentation": "

                                      Specifies whether to reuse the last deployment configuration. The default value is\n false (the configuration is not reused).

                                      " } } } @@ -39006,6 +39177,42 @@ ] } }, + "com.amazonaws.sagemaker#VariantStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Creating", + "name": "CREATING" + }, + { + "value": "Updating", + "name": "UPDATING" + }, + { + "value": "Deleting", + "name": "DELETING" + }, + { + "value": "ActivatingTraffic", + "name": "ACTIVATING_TRAFFIC" + }, + { + "value": "Baking", + "name": "BAKING" + } + ] + } + }, + "com.amazonaws.sagemaker#VariantStatusMessage": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, "com.amazonaws.sagemaker#VariantWeight": { "type": "float", "traits": { diff --git a/codegen/sdk-codegen/aws-models/translate.json b/codegen/sdk-codegen/aws-models/translate.json index f4208606bcc98..139483b32ce40 100644 --- a/codegen/sdk-codegen/aws-models/translate.json +++ b/codegen/sdk-codegen/aws-models/translate.json @@ -31,6 +31,21 @@ "shapes": { "com.amazonaws.translate#AWSShineFrontendService_20170701": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "Translate", + "arnNamespace": "translate", + "cloudFormationName": "Translate", + "cloudTrailEventSource": "translate.amazonaws.com", + "endpointPrefix": "translate" + }, + "aws.auth#sigv4": { + "name": "translate" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

                                      Provides translation between one source language and another of the same set of\n languages.

                                      ", + "smithy.api#title": "Amazon Translate" + }, "version": "2017-07-01", "operations": [ { @@ -75,22 +90,7 @@ { "target": "com.amazonaws.translate#UpdateParallelData" } - ], - "traits": { - "aws.api#service": { - "sdkId": "Translate", - "arnNamespace": "translate", - "cloudFormationName": "Translate", - "cloudTrailEventSource": "translate.amazonaws.com", - "endpointPrefix": "translate" - }, - "aws.auth#sigv4": { - "name": "translate" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

                                      Provides translation between one source language and another of the same set of\n languages.

                                      ", - "smithy.api#title": "Amazon Translate" - } + ] }, "com.amazonaws.translate#AppliedTerminology": { "type": "structure", @@ -424,6 +424,21 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.translate#Directionality": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "UNI", + "name": "UNI" + }, + { + "value": "MULTI", + "name": "MULTI" + } + ] + } + }, "com.amazonaws.translate#EncryptionKey": { "type": "structure", "members": { @@ -573,8 +588,7 @@ "TerminologyDataFormat": { "target": "com.amazonaws.translate#TerminologyDataFormat", "traits": { - "smithy.api#documentation": "

                                      The data format of the custom terminology being retrieved, either CSV or TMX.

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

                                      The data format of the custom terminology being retrieved.

                                      \n

                                      If you don't specify this parameter, Amazon Translate returns a file that has the same\n format as the file that was imported to create the terminology.

                                      \n

                                      If you specify this parameter when you retrieve a multi-directional terminology resource,\n you must specify the same format as that of the input file that was imported to create it.\n Otherwise, Amazon Translate throws an error.

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

                                      The data location of the custom terminology being retrieved. The custom terminology file\n is returned in a presigned url that has a 30 minute expiration.

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

                                      The Amazon S3 location of a file that provides any errors or warnings that were produced\n by your input file. This file was created when Amazon Translate attempted to create a\n terminology resource. The location is returned as a presigned URL to that has a 30 minute\n expiration.

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

                                      The properties of the custom terminology being imported.

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

                                      The Amazon S3 location of a file that provides any errors or warnings that were produced\n by your input file. This file was created when Amazon Translate attempted to create a\n terminology resource. The location is returned as a presigned URL to that has a 30 minute\n expiration.

                                      " + } } } }, @@ -694,7 +720,7 @@ "ContentType": { "target": "com.amazonaws.translate#ContentType", "traits": { - "smithy.api#documentation": "

                                      Describes the format of the data that you submit to Amazon Translate as input. You can\n specify one of the following multipurpose internet mail extension (MIME) types:

                                      \n
                                        \n
                                      • \n

                                        \n text/html: The input data consists of one or more HTML files. Amazon\n Translate translates only the text that resides in the html element in each\n file.

                                        \n
                                      • \n
                                      • \n

                                        \n text/plain: The input data consists of one or more unformatted text\n files. Amazon Translate translates every character in this type of input.

                                        \n
                                      • \n
                                      • \n

                                        \n application/vnd.openxmlformats-officedocument.wordprocessingml.document:\n The input data consists of one or more Word documents (.docx).

                                        \n
                                      • \n
                                      • \n

                                        \n application/vnd.openxmlformats-officedocument.presentationml.presentation:\n The input data consists of one or more PowerPoint Presentation files (.pptx).

                                        \n
                                      • \n
                                      • \n

                                        \n application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The\n input data consists of one or more Excel Workbook files (.xlsx).

                                        \n
                                      • \n
                                      • \n

                                        \n application/x-xliff+xml: The input data consists of one or more XML\n Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only XLIFF version 1.2.

                                        \n
                                      • \n
                                      \n \n

                                      If you structure your input data as HTML, ensure that you set this parameter to\n text/html. By doing so, you cut costs by limiting the translation to the\n contents of the html element in each file. Otherwise, if you set this parameter\n to text/plain, your costs will cover the translation of every character.

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

                                      Describes the format of the data that you submit to Amazon Translate as input. You can\n specify one of the following multipurpose internet mail extension (MIME) types:

                                      \n
                                        \n
                                      • \n

                                        \n text/html: The input data consists of one or more HTML files. Amazon\n Translate translates only the text that resides in the html element in each\n file.

                                        \n
                                      • \n
                                      • \n

                                        \n text/plain: The input data consists of one or more unformatted text\n files. Amazon Translate translates every character in this type of input.

                                        \n
                                      • \n
                                      • \n

                                        \n application/vnd.openxmlformats-officedocument.wordprocessingml.document:\n The input data consists of one or more Word documents (.docx).

                                        \n
                                      • \n
                                      • \n

                                        \n application/vnd.openxmlformats-officedocument.presentationml.presentation:\n The input data consists of one or more PowerPoint Presentation files (.pptx).

                                        \n
                                      • \n
                                      • \n

                                        \n application/vnd.openxmlformats-officedocument.spreadsheetml.sheet: The\n input data consists of one or more Excel Workbook files (.xlsx).

                                        \n
                                      • \n
                                      • \n

                                        \n application/x-xliff+xml: The input data consists of one or more XML\n Localization Interchange File Format (XLIFF) files (.xlf). Amazon Translate supports only\n XLIFF version 1.2.

                                        \n
                                      • \n
                                      \n \n

                                      If you structure your input data as HTML, ensure that you set this parameter to\n text/html. By doing so, you cut costs by limiting the translation to the\n contents of the html element in each file. Otherwise, if you set this parameter\n to text/plain, your costs will cover the translation of every character.

                                      \n
                                      ", "smithy.api#required": {} } } @@ -1621,9 +1647,15 @@ "Format": { "target": "com.amazonaws.translate#TerminologyDataFormat", "traits": { - "smithy.api#documentation": "

                                      The data format of the custom terminology. Either CSV or TMX.

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

                                      The data format of the custom terminology.

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

                                      The directionality of your terminology resource indicates whether it has one source\n language (uni-directional) or multiple (multi-directional).

                                      \n
                                      \n
                                      UNI
                                      \n
                                      \n

                                      The terminology resource has one source language (for example, the first column in a\n CSV file), and all of its other languages are target languages.

                                      \n
                                      \n
                                      MULTI
                                      \n
                                      \n

                                      Any language in the terminology resource can be the source language or a target\n language. A single multi-directional terminology resource can be used for jobs that\n translate different language pairs. For example, if the terminology contains terms in\n English and Spanish, then it can be used for jobs that translate English to Spanish and\n jobs that translate Spanish to English.

                                      \n
                                      \n
                                      \n

                                      When you create a custom terminology resource without specifying the directionality, it\n behaves as uni-directional terminology, although this parameter will have a null value.

                                      " + } } }, "traits": { @@ -1641,6 +1673,10 @@ { "value": "TMX", "name": "TMX" + }, + { + "value": "TSV", + "name": "TSV" } ] } @@ -1707,7 +1743,7 @@ "TargetLanguageCodes": { "target": "com.amazonaws.translate#LanguageCodeStringList", "traits": { - "smithy.api#documentation": "

                                      The language codes for the target languages available with the custom terminology file.\n All possible target languages are returned in array.

                                      " + "smithy.api#documentation": "

                                      The language codes for the target languages available with the custom terminology\n resource. All possible target languages are returned in array.

                                      " } }, "EncryptionKey": { @@ -1739,6 +1775,30 @@ "traits": { "smithy.api#documentation": "

                                      The time at which the custom terminology was last update, based on the timestamp.

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

                                      The directionality of your terminology resource indicates whether it has one source\n language (uni-directional) or multiple (multi-directional).

                                      \n
                                      \n
                                      UNI
                                      \n
                                      \n

                                      The terminology resource has one source language (the first column in a CSV file),\n and all of its other languages are target languages.

                                      \n
                                      \n
                                      MULTI
                                      \n
                                      \n

                                      Any language in the terminology resource can be the source language.

                                      \n
                                      \n
                                      " + } + }, + "Message": { + "target": "com.amazonaws.translate#UnboundedLengthString", + "traits": { + "smithy.api#documentation": "

                                      Additional information from Amazon Translate about the terminology resource.

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

                                      The number of terms in the input file that Amazon Translate skipped when you created or\n updated the terminology resource.

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

                                      The format of the custom terminology input file.

                                      " + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/wafv2.json b/codegen/sdk-codegen/aws-models/wafv2.json index 77856eb7dad67..1375218e83d16 100644 --- a/codegen/sdk-codegen/aws-models/wafv2.json +++ b/codegen/sdk-codegen/aws-models/wafv2.json @@ -221,6 +221,14 @@ { "value": "COUNT", "name": "COUNT" + }, + { + "value": "CAPTCHA", + "name": "CAPTCHA" + }, + { + "value": "EXCLUDED_AS_COUNT", + "name": "EXCLUDED_AS_COUNT" } ] } @@ -407,6 +415,60 @@ } } }, + "com.amazonaws.wafv2#CaptchaAction": { + "type": "structure", + "members": { + "CustomRequestHandling": { + "target": "com.amazonaws.wafv2#CustomRequestHandling", + "traits": { + "smithy.api#documentation": "

                                      Defines custom handling for the web request.

                                      \n

                                      For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the \n WAF Developer Guide.

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

                                      Specifies that WAF should run a CAPTCHA check against the request:

                                      \n
                                        \n
                                      • \n

                                        If the request includes a valid, unexpired CAPTCHA token,\n WAF allows the web request inspection to \n proceed to the next rule, similar to a CountAction.

                                        \n
                                      • \n
                                      • \n

                                        If the request doesn't include a valid, unexpired CAPTCHA token, WAF \n discontinues the web ACL evaluation of the request and blocks it from going to its intended destination.

                                        \n

                                        WAF generates a response that it sends back to the client, which includes the following:

                                        \n
                                          \n
                                        • \n

                                          The header x-amzn-waf-action with a value of captcha.

                                          \n
                                        • \n
                                        • \n

                                          The HTTP status code 405 Method Not Allowed.

                                          \n
                                        • \n
                                        • \n

                                          If the request contains an Accept header with a value of text/html, the response includes a CAPTCHA challenge.

                                          \n
                                        • \n
                                        \n
                                      • \n
                                      \n

                                      You can configure the expiration time \n in the CaptchaConfig \n ImmunityTimeProperty setting at the rule and web ACL level. The rule setting overrides the web ACL setting.

                                      \n

                                      This action option is available for rules. It isn't available for web ACL default actions.

                                      \n

                                      This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

                                      " + } + }, + "com.amazonaws.wafv2#CaptchaConfig": { + "type": "structure", + "members": { + "ImmunityTimeProperty": { + "target": "com.amazonaws.wafv2#ImmunityTimeProperty", + "traits": { + "smithy.api#documentation": "

                                      Determines how long a CAPTCHA token remains valid after the client successfully solves a CAPTCHA puzzle.

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

                                      Specifies how WAF should handle CAPTCHA evaluations. This is available at the web ACL level and in each rule.

                                      " + } + }, + "com.amazonaws.wafv2#CaptchaResponse": { + "type": "structure", + "members": { + "ResponseCode": { + "target": "com.amazonaws.wafv2#ResponseCode", + "traits": { + "smithy.api#documentation": "

                                      The HTTP response code indicating the status of the CAPTCHA token in the web request. If the token is missing, invalid, or expired, this code is 405 Method Not Allowed.

                                      " + } + }, + "SolveTimestamp": { + "target": "com.amazonaws.wafv2#SolveTimestamp", + "traits": { + "smithy.api#documentation": "

                                      The time that the CAPTCHA puzzle was solved for the supplied token.

                                      " + } + }, + "FailureReason": { + "target": "com.amazonaws.wafv2#FailureReason", + "traits": { + "smithy.api#documentation": "

                                      The reason for failure, populated when the evaluation of the token fails.

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

                                      The result from the inspection of the web request for a valid CAPTCHA token.

                                      " + } + }, "com.amazonaws.wafv2#CheckCapacity": { "type": "operation", "input": { @@ -1976,6 +2038,12 @@ "traits": { "smithy.api#documentation": "

                                      A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

                                      \n

                                      For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the \n WAF Developer Guide.

                                      \n

                                      For information about the limits on count and size for custom request and response settings, see WAF quotas in the \n WAF Developer Guide.

                                      " } + }, + "CaptchaConfig": { + "target": "com.amazonaws.wafv2#CaptchaConfig", + "traits": { + "smithy.api#documentation": "

                                      Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.

                                      " + } } } }, @@ -2779,13 +2847,13 @@ "Name": { "target": "com.amazonaws.wafv2#EntityName", "traits": { - "smithy.api#documentation": "

                                      The name of the rule to exclude.

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

                                      The name of the rule whose action you want to override to Count.

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

                                      Specifies a single rule to exclude from the rule group. Excluding a rule overrides its\n action setting for the rule group in the web ACL, setting it to COUNT. This\n effectively excludes the rule from acting on web requests.

                                      " + "smithy.api#documentation": "

                                      Specifies a single rule in a rule group whose action you want to override to Count. When you exclude a rule, \n WAF evaluates it exactly as it would if the rule action setting were Count. This is a useful option for \n testing the rules in a rule group without modifying how they handle your web traffic.

                                      " } }, "com.amazonaws.wafv2#ExcludedRules": { @@ -2794,6 +2862,21 @@ "target": "com.amazonaws.wafv2#ExcludedRule" } }, + "com.amazonaws.wafv2#FailureReason": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "TOKEN_MISSING", + "name": "TOKEN_MISSING" + }, + { + "value": "TOKEN_EXPIRED", + "name": "TOKEN_EXPIRED" + } + ] + } + }, "com.amazonaws.wafv2#FallbackBehavior": { "type": "string", "traits": { @@ -2972,7 +3055,7 @@ "OverrideAction": { "target": "com.amazonaws.wafv2#OverrideAction", "traits": { - "smithy.api#documentation": "

                                      The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, \n like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      \n

                                      Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

                                      \n

                                      In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

                                      \n
                                        \n
                                      • \n

                                        If the rule statement references a rule group, use this override action setting and not the action setting.

                                        \n
                                      • \n
                                      • \n

                                        If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

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

                                      The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

                                      \n

                                      You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      \n \n

                                      This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                      \n
                                      ", "smithy.api#required": {} } }, @@ -3859,6 +3942,11 @@ "type": "list", "member": { "target": "com.amazonaws.wafv2#IPAddress" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } } }, "com.amazonaws.wafv2#IPSet": { @@ -4007,6 +4095,21 @@ "com.amazonaws.wafv2#IPString": { "type": "string" }, + "com.amazonaws.wafv2#ImmunityTimeProperty": { + "type": "structure", + "members": { + "ImmunityTime": { + "target": "com.amazonaws.wafv2#TimeWindowSecond", + "traits": { + "smithy.api#documentation": "

                                      The amount of time, in seconds, that a CAPTCHA token is valid. The default setting is 300.

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

                                      Determines how long a CAPTCHA token remains valid after the client successfully solves a CAPTCHA puzzle.

                                      " + } + }, "com.amazonaws.wafv2#JsonBody": { "type": "structure", "members": { @@ -4443,7 +4546,8 @@ "Scope": { "target": "com.amazonaws.wafv2#Scope", "traits": { - "smithy.api#documentation": "

                                      Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

                                      \n

                                      To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                      \n
                                        \n
                                      • \n

                                        CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

                                        \n
                                      • \n
                                      • \n

                                        API and SDKs - For all calls, use the Region endpoint us-east-1.

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

                                      Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

                                      \n

                                      To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

                                      \n
                                        \n
                                      • \n

                                        CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

                                        \n
                                      • \n
                                      • \n

                                        API and SDKs - For all calls, use the Region endpoint us-east-1.

                                        \n
                                      • \n
                                      ", + "smithy.api#required": {} } }, "NextMarker": { @@ -4986,7 +5090,7 @@ "ExcludedRules": { "target": "com.amazonaws.wafv2#ExcludedRules", "traits": { - "smithy.api#documentation": "

                                      The rules whose actions are set to COUNT by the web ACL, regardless of the\n action that is set on the rule. This effectively excludes the rule from acting on web\n requests.

                                      " + "smithy.api#documentation": "

                                      The rules in the referenced rule group whose actions are set to Count. \n When you exclude a rule, WAF evaluates it exactly as it would if the rule action setting were Count. \n This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.

                                      " } }, "ScopeDownStatement": { @@ -5236,7 +5340,7 @@ "type": "structure", "members": {}, "traits": { - "smithy.api#documentation": "

                                      Specifies that WAF should do nothing. This is generally used to try out a rule\n without performing any actions. You set the OverrideAction on the Rule.

                                      \n

                                      This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

                                      \n

                                      JSON specification: \"None\": {}\n

                                      " + "smithy.api#documentation": "

                                      Specifies that WAF should do nothing. This is used for the OverrideAction setting \n on a Rule when the rule uses a rule group reference statement.

                                      \n

                                      This is used in the context of other settings, for example to specify values for RuleAction and web ACL DefaultAction.

                                      \n

                                      JSON specification: \"None\": {}\n

                                      " } }, "com.amazonaws.wafv2#NotStatement": { @@ -5275,18 +5379,18 @@ "Count": { "target": "com.amazonaws.wafv2#CountAction", "traits": { - "smithy.api#documentation": "

                                      Override the rule action setting to count.

                                      " + "smithy.api#documentation": "

                                      Override the rule group evaluation result to count only.

                                      \n \n

                                      This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                      \n
                                      " } }, "None": { "target": "com.amazonaws.wafv2#NoneAction", "traits": { - "smithy.api#documentation": "

                                      Don't override the rule action setting.

                                      " + "smithy.api#documentation": "

                                      Don't override the rule group evaluation result. This is the most common setting.

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

                                      The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, \n like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      \n

                                      Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

                                      \n

                                      In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

                                      \n
                                        \n
                                      • \n

                                        If the rule statement references a rule group, use this override action setting and not the action setting.

                                        \n
                                      • \n
                                      • \n

                                        If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

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

                                      The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

                                      \n

                                      You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      \n \n

                                      This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                      \n
                                      " } }, "com.amazonaws.wafv2#PaginationLimit": { @@ -6081,6 +6185,12 @@ ] } }, + "com.amazonaws.wafv2#ResponseCode": { + "type": "integer", + "traits": { + "smithy.api#box": {} + } + }, "com.amazonaws.wafv2#ResponseContent": { "type": "string", "traits": { @@ -6116,7 +6226,7 @@ "smithy.api#box": {}, "smithy.api#range": { "min": 200, - "max": 600 + "max": 599 } } }, @@ -6153,7 +6263,7 @@ "OverrideAction": { "target": "com.amazonaws.wafv2#OverrideAction", "traits": { - "smithy.api#documentation": "

                                      The override action to apply to the rules in a rule group. Used only for rule statements that reference a rule group, \n like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      \n

                                      Set the override action to none to leave the rule actions in effect. Set it to count to only count matches, regardless of the rule action settings.

                                      \n

                                      In a Rule, you must specify either this OverrideAction setting or the rule Action setting, but not both:

                                      \n
                                        \n
                                      • \n

                                        If the rule statement references a rule group, use this override action setting and not the action setting.

                                        \n
                                      • \n
                                      • \n

                                        If the rule statement does not reference a rule group, use the rule action setting and not this rule override action setting.

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

                                      The action to use in the place of the action that results from the rule group evaluation. Set the override action to none to leave the result of the rule group alone. Set it to count to override the result to count only.

                                      \n

                                      You can only use this for rule statements that reference a rule group, like RuleGroupReferenceStatement and ManagedRuleGroupStatement.

                                      \n \n

                                      This option is usually set to none. It does not affect how the rules in the rule group are evaluated. If you want the rules in the rule group to only count \n matches, do not use this and instead exclude those rules in your rule group reference statement settings.

                                      \n
                                      " } }, "RuleLabels": { @@ -6168,6 +6278,12 @@ "smithy.api#documentation": "

                                      Defines and enables Amazon CloudWatch metrics and web request sample collection.

                                      ", "smithy.api#required": {} } + }, + "CaptchaConfig": { + "target": "com.amazonaws.wafv2#CaptchaConfig", + "traits": { + "smithy.api#documentation": "

                                      Specifies how WAF should handle CAPTCHA evaluations. If you don't specify this, WAF uses the CAPTCHA configuration that's defined for the web ACL.

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

                                      Instructs WAF to count the web request and allow it.

                                      " } + }, + "Captcha": { + "target": "com.amazonaws.wafv2#CaptchaAction", + "traits": { + "smithy.api#documentation": "

                                      Instructs WAF to run a CAPTCHA check against the web request.

                                      " + } } }, "traits": { @@ -6292,7 +6414,7 @@ "ExcludedRules": { "target": "com.amazonaws.wafv2#ExcludedRules", "traits": { - "smithy.api#documentation": "

                                      The names of rules that are in the referenced rule group, but that you want WAF to\n exclude from processing for this rule statement.

                                      " + "smithy.api#documentation": "

                                      The rules in the referenced rule group whose actions are set to Count. \n When you exclude a rule, WAF evaluates it exactly as it would if the rule action setting were Count. \n This is a useful option for testing the rules in a rule group without modifying how they handle your web traffic.

                                      " } } }, @@ -6418,7 +6540,7 @@ "Action": { "target": "com.amazonaws.wafv2#Action", "traits": { - "smithy.api#documentation": "

                                      The action for the Rule that the request matched: ALLOW,\n BLOCK, or COUNT.

                                      " + "smithy.api#documentation": "

                                      The action for the Rule that the request matched: Allow,\n Block, or Count.

                                      " } }, "RuleNameWithinRuleGroup": { @@ -6444,6 +6566,12 @@ "traits": { "smithy.api#documentation": "

                                      Labels applied to the web request by matching rules. WAF applies fully qualified\n labels to matching web requests. A fully qualified label is the concatenation of a label\n namespace and a rule label. The rule's rule group or web ACL defines the label namespace.

                                      \n

                                      For example,\n awswaf:111122223333:myRuleGroup:testRules:testNS1:testNS2:labelNameA or\n awswaf:managed:aws:managed-rule-set:header:encoding:utf8.

                                      " } + }, + "CaptchaResponse": { + "target": "com.amazonaws.wafv2#CaptchaResponse", + "traits": { + "smithy.api#documentation": "

                                      The CAPTCHA response for the request.

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

                                      A rule statement that compares a number of bytes against the size of a request component, using a comparison operator, such as greater than (>) or less than (<). For example, you can use a size constraint statement to look for query strings that are longer than 100 bytes.

                                      \n

                                      If you configure WAF to inspect the request body, WAF inspects only the first 8192 bytes (8 KB). If the request body for your web requests never exceeds 8192 bytes, you can create a size constraint condition and block requests that have a request body greater than 8192 bytes.

                                      \n

                                      If you choose URI for the value of Part of the request to filter on, the slash (/) in the URI counts as one character. For example, the URI /logo.jpg is nine characters long.

                                      " } }, + "com.amazonaws.wafv2#SolveTimestamp": { + "type": "long", + "traits": { + "smithy.api#box": {} + } + }, "com.amazonaws.wafv2#SqliMatchStatement": { "type": "structure", "members": { @@ -6980,6 +7114,16 @@ } } }, + "com.amazonaws.wafv2#TimeWindowSecond": { + "type": "long", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 60, + "max": 259200 + } + } + }, "com.amazonaws.wafv2#Timestamp": { "type": "timestamp" }, @@ -7543,6 +7687,12 @@ "traits": { "smithy.api#documentation": "

                                      A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

                                      \n

                                      For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the \n WAF Developer Guide.

                                      \n

                                      For information about the limits on count and size for custom request and response settings, see WAF quotas in the \n WAF Developer Guide.

                                      " } + }, + "CaptchaConfig": { + "target": "com.amazonaws.wafv2#CaptchaConfig", + "traits": { + "smithy.api#documentation": "

                                      Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.

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

                                      A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL.

                                      \n

                                      For information about customizing web requests and responses, see Customizing web requests and responses in WAF in the \n WAF Developer Guide.

                                      \n

                                      For information about the limits on count and size for custom request and response settings, see WAF quotas in the \n WAF Developer Guide.

                                      " } + }, + "CaptchaConfig": { + "target": "com.amazonaws.wafv2#CaptchaConfig", + "traits": { + "smithy.api#documentation": "

                                      Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own CaptchaConfig settings. If you don't specify this, WAF uses its default settings for CaptchaConfig.

                                      " + } } }, "traits": { diff --git a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json index 0c430d3302264..ef3fe1c7a1d38 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json +++ b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json @@ -2620,6 +2620,106 @@ } } }, + "compute-optimizer": { + "endpoints": { + "ap-northeast-1": { + "credentialScope": { + "region": "ap-northeast-1" + }, + "hostname": "compute-optimizer.ap-northeast-1.amazonaws.com" + }, + "ap-northeast-2": { + "credentialScope": { + "region": "ap-northeast-2" + }, + "hostname": "compute-optimizer.ap-northeast-2.amazonaws.com" + }, + "ap-south-1": { + "credentialScope": { + "region": "ap-south-1" + }, + "hostname": "compute-optimizer.ap-south-1.amazonaws.com" + }, + "ap-southeast-1": { + "credentialScope": { + "region": "ap-southeast-1" + }, + "hostname": "compute-optimizer.ap-southeast-1.amazonaws.com" + }, + "ap-southeast-2": { + "credentialScope": { + "region": "ap-southeast-2" + }, + "hostname": "compute-optimizer.ap-southeast-2.amazonaws.com" + }, + "ca-central-1": { + "credentialScope": { + "region": "ca-central-1" + }, + "hostname": "compute-optimizer.ca-central-1.amazonaws.com" + }, + "eu-central-1": { + "credentialScope": { + "region": "eu-central-1" + }, + "hostname": "compute-optimizer.eu-central-1.amazonaws.com" + }, + "eu-north-1": { + "credentialScope": { + "region": "eu-north-1" + }, + "hostname": "compute-optimizer.eu-north-1.amazonaws.com" + }, + "eu-west-1": { + "credentialScope": { + "region": "eu-west-1" + }, + "hostname": "compute-optimizer.eu-west-1.amazonaws.com" + }, + "eu-west-2": { + "credentialScope": { + "region": "eu-west-2" + }, + "hostname": "compute-optimizer.eu-west-2.amazonaws.com" + }, + "eu-west-3": { + "credentialScope": { + "region": "eu-west-3" + }, + "hostname": "compute-optimizer.eu-west-3.amazonaws.com" + }, + "sa-east-1": { + "credentialScope": { + "region": "sa-east-1" + }, + "hostname": "compute-optimizer.sa-east-1.amazonaws.com" + }, + "us-east-1": { + "credentialScope": { + "region": "us-east-1" + }, + "hostname": "compute-optimizer.us-east-1.amazonaws.com" + }, + "us-east-2": { + "credentialScope": { + "region": "us-east-2" + }, + "hostname": "compute-optimizer.us-east-2.amazonaws.com" + }, + "us-west-1": { + "credentialScope": { + "region": "us-west-1" + }, + "hostname": "compute-optimizer.us-west-1.amazonaws.com" + }, + "us-west-2": { + "credentialScope": { + "region": "us-west-2" + }, + "hostname": "compute-optimizer.us-west-2.amazonaws.com" + } + } + }, "config": { "endpoints": { "af-south-1": {}, @@ -5651,6 +5751,7 @@ "ap-east-1": {}, "ap-northeast-1": {}, "ap-northeast-2": {}, + "ap-northeast-3": {}, "ap-south-1": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, @@ -10210,7 +10311,19 @@ "s3-control": { "defaults": { "protocols": ["https"], - "signatureVersions": ["s3v4"] + "signatureVersions": ["s3v4"], + "variants": [ + { + "dnsSuffix": "amazonaws.com", + "hostname": "{service}-fips.dualstack.{region}.{dnsSuffix}", + "tags": ["dualstack", "fips"] + }, + { + "dnsSuffix": "amazonaws.com", + "hostname": "{service}.dualstack.{region}.{dnsSuffix}", + "tags": ["dualstack"] + } + ] }, "endpoints": { "ap-northeast-1": { @@ -11787,13 +11900,20 @@ "ssm-incidents": { "endpoints": { "ap-northeast-1": {}, + "ap-northeast-2": {}, + "ap-south-1": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, + "ca-central-1": {}, "eu-central-1": {}, "eu-north-1": {}, "eu-west-1": {}, + "eu-west-2": {}, + "eu-west-3": {}, + "sa-east-1": {}, "us-east-1": {}, "us-east-2": {}, + "us-west-1": {}, "us-west-2": {} } }, @@ -12354,12 +12474,26 @@ "ap-south-1": {}, "ap-southeast-1": {}, "ap-southeast-2": {}, - "ca-central-1": {}, + "ca-central-1": { + "variants": [ + { + "hostname": "fips.transcribe.ca-central-1.amazonaws.com", + "tags": ["fips"] + } + ] + }, "eu-central-1": {}, "eu-north-1": {}, "eu-west-1": {}, "eu-west-2": {}, "eu-west-3": {}, + "fips-ca-central-1": { + "credentialScope": { + "region": "ca-central-1" + }, + "deprecated": true, + "hostname": "fips.transcribe.ca-central-1.amazonaws.com" + }, "fips-us-east-1": { "credentialScope": { "region": "us-east-1" @@ -13540,6 +13674,22 @@ "cn-north-1": {} } }, + "compute-optimizer": { + "endpoints": { + "cn-north-1": { + "credentialScope": { + "region": "cn-north-1" + }, + "hostname": "compute-optimizer.cn-north-1.amazonaws.com.cn" + }, + "cn-northwest-1": { + "credentialScope": { + "region": "cn-northwest-1" + }, + "hostname": "compute-optimizer.cn-northwest-1.amazonaws.com.cn" + } + } + }, "config": { "endpoints": { "cn-north-1": {}, @@ -14047,7 +14197,14 @@ "s3-control": { "defaults": { "protocols": ["https"], - "signatureVersions": ["s3v4"] + "signatureVersions": ["s3v4"], + "variants": [ + { + "dnsSuffix": "amazonaws.com.cn", + "hostname": "{service}.dualstack.{region}.{dnsSuffix}", + "tags": ["dualstack"] + } + ] }, "endpoints": { "cn-north-1": { @@ -16087,6 +16244,14 @@ "partitionEndpoint": "aws-us-gov-global" }, "identitystore": { + "defaults": { + "variants": [ + { + "hostname": "identitystore.{region}.{dnsSuffix}", + "tags": ["fips"] + } + ] + }, "endpoints": { "fips-us-gov-west-1": { "credentialScope": { @@ -16751,6 +16916,14 @@ } }, "rds": { + "defaults": { + "variants": [ + { + "hostname": "rds.{region}.{dnsSuffix}", + "tags": ["fips"] + } + ] + }, "endpoints": { "rds.us-gov-east-1": { "credentialScope": { @@ -16956,6 +17129,14 @@ } }, "runtime.sagemaker": { + "defaults": { + "variants": [ + { + "hostname": "runtime.sagemaker.{region}.{dnsSuffix}", + "tags": ["fips"] + } + ] + }, "endpoints": { "us-gov-west-1": { "variants": [ @@ -17038,7 +17219,19 @@ "s3-control": { "defaults": { "protocols": ["https"], - "signatureVersions": ["s3v4"] + "signatureVersions": ["s3v4"], + "variants": [ + { + "dnsSuffix": "amazonaws.com", + "hostname": "{service}-fips.dualstack.{region}.{dnsSuffix}", + "tags": ["dualstack", "fips"] + }, + { + "dnsSuffix": "amazonaws.com", + "hostname": "{service}.dualstack.{region}.{dnsSuffix}", + "tags": ["dualstack"] + } + ] }, "endpoints": { "us-gov-east-1": { @@ -17933,7 +18126,14 @@ "defaults": { "hostname": "{service}.{region}.{dnsSuffix}", "protocols": ["https"], - "signatureVersions": ["v4"] + "signatureVersions": ["v4"], + "variants": [ + { + "dnsSuffix": "c2s.ic.gov", + "hostname": "{service}-fips.{region}.{dnsSuffix}", + "tags": ["fips"] + } + ] }, "dnsSuffix": "c2s.ic.gov", "partition": "aws-iso", @@ -18433,7 +18633,14 @@ "defaults": { "hostname": "{service}.{region}.{dnsSuffix}", "protocols": ["https"], - "signatureVersions": ["v4"] + "signatureVersions": ["v4"], + "variants": [ + { + "dnsSuffix": "sc2s.sgov.gov", + "hostname": "{service}-fips.{region}.{dnsSuffix}", + "tags": ["fips"] + } + ] }, "dnsSuffix": "sc2s.sgov.gov", "partition": "aws-iso-b", diff --git a/private/aws-protocoltests-ec2/src/endpoints.ts b/private/aws-protocoltests-ec2/src/endpoints.ts index 84f5b0580f406..d1842d9a03046 100644 --- a/private/aws-protocoltests-ec2/src/endpoints.ts +++ b/private/aws-protocoltests-ec2/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "awsec2.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "awsec2-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "awsec2.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "awsec2-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/private/aws-protocoltests-json-10/src/endpoints.ts b/private/aws-protocoltests-json-10/src/endpoints.ts index be77a47f552c6..e6d7bf27576df 100644 --- a/private/aws-protocoltests-json-10/src/endpoints.ts +++ b/private/aws-protocoltests-json-10/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "jsonrpc10.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "jsonrpc10-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "jsonrpc10.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "jsonrpc10-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/private/aws-protocoltests-json/src/endpoints.ts b/private/aws-protocoltests-json/src/endpoints.ts index e0ef539ea0b83..66f2d3612c60f 100644 --- a/private/aws-protocoltests-json/src/endpoints.ts +++ b/private/aws-protocoltests-json/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "jsonprotocol.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "jsonprotocol-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "jsonprotocol.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "jsonprotocol-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/private/aws-protocoltests-query/src/endpoints.ts b/private/aws-protocoltests-query/src/endpoints.ts index 2f7688be472ab..d2bcb33c21309 100644 --- a/private/aws-protocoltests-query/src/endpoints.ts +++ b/private/aws-protocoltests-query/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "awsquery.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "awsquery-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "awsquery.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "awsquery-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/private/aws-protocoltests-restjson/src/endpoints.ts b/private/aws-protocoltests-restjson/src/endpoints.ts index f653b29fe7be1..a59a90a5c56fb 100644 --- a/private/aws-protocoltests-restjson/src/endpoints.ts +++ b/private/aws-protocoltests-restjson/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "restjson.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "restjson-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "restjson.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "restjson-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": { diff --git a/private/aws-protocoltests-restxml/src/endpoints.ts b/private/aws-protocoltests-restxml/src/endpoints.ts index 0c64602ed94ab..1973586d1c6c6 100644 --- a/private/aws-protocoltests-restxml/src/endpoints.ts +++ b/private/aws-protocoltests-restxml/src/endpoints.ts @@ -78,6 +78,10 @@ const partitionHash: PartitionHash = { hostname: "restxml.{region}.c2s.ic.gov", tags: [], }, + { + hostname: "restxml-fips.{region}.c2s.ic.gov", + tags: ["fips"], + }, ], }, "aws-iso-b": { @@ -88,6 +92,10 @@ const partitionHash: PartitionHash = { hostname: "restxml.{region}.sc2s.sgov.gov", tags: [], }, + { + hostname: "restxml-fips.{region}.sc2s.sgov.gov", + tags: ["fips"], + }, ], }, "aws-us-gov": {